Full Backup

This is the manual for older MicroStream versions (Version < 5.0).

The new documentation (Version >= 5.0) is located at:

https://docs.microstream.one/

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")
);

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

Last updated