Full Backup

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 = ...;
NioFileSystem.New().ensureDirectoryPath("full", "backup", "dir")

The backup can be written to any available storage target, not just the local file system.