Backups

You can create a backup using ES3.CreateBackup, and restore it using ES3.RestoreBackup.

Creating a backup

Creating a backup will overwriting any existing backup. The backup will have the same name as the file we’re backing up, but have the extension .bak appended.

Restoring a backup

Restoring a backup will overwrite the original file. Generally you should restore the backup if an exception occurs while saving or loading. See the Error Handling guide for information on what exceptions you might want to catch.

You can also manage backups when saving in a similar way: