Restoring your database from a backup
If you want to restore your database from the latest backup, you can stop your site (including ZEO) and run:
$ bin/restore
In the event that you would like to know more about the process, or you would like to restore from a date prior to the last backup, you can always use the repozo
command.
Assuming you have the backups, you can restore the data from any date by using the -D
option:
% bin/repozo -R -D 2009-10-26-00-06-33 -r var/backups -o var/filestorage/Data.fs
You must give -D
a date string that matches one of your backups. It can be an incremental backup (that is, a file ending in .deltafs
); repozo
will figure out what to do with it.