To issue a full backup of the whole storage to be executed, the
EmbeddedStorageManager provides two methods named
issueFullBackup. Keep in mind that this could result in a very long running operation, depending on the storage size. Although the full backup may be a valid solution in some circumstances, the continuous backup should be preferred, since it is by far more efficient.
EmbeddedStorageManager storage = ...;storage.issueFullBackup(NioFileSystem.New().ensureDirectoryPath("full", "backup", "dir"));