To produce a full online backup of the Platform databases when running Derby, use the following mzsh
command:
Code Block | ||||
---|---|---|---|---|
| ||||
$ mzsh mzadmin/<password> derbybackup <backup directory> |
Note | ||
---|---|---|
| ||
The backup directory needs to be stated with the full path, e g /Users/myusername/backupdirectory, so it is not relative to the directory you are currently in. |
To restore the database:
Shut down.
Move all directories and files from the backup directory to the Derby restore directory. Use the following command to retrieve the restore directory:
Code Block language text theme Eclipse mzsh topo get --format data-only topo://services:standard/val:storage-dispatcher.storage-dispatcher1.config.db-properties.derby.restore.path
Startup.
...