Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To produce a full online backup of the Platform databases when running Derby, use the following  mzsh  command:

Code Block
languagetext
themeEclipse
$ mzsh mzadmin/<password> derbybackup <backup directory>


Note
titleNote!

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:

  1. Shut down.

      

  2. 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
    languagetext
    themeEclipse
    mzsh topo get --format data-only topo://services:standard/val:storage-dispatcher.storage-dispatcher1.config.db-properties.derby.restore.path 
    

     

  3. Startup.

...