Easy backups with buildoutΒΆ
I finally got around to copying the backup functionality of ye olde instancemanager to a buildout recipe. The result is a real handy recipe: collective.recipe.backup .
bin/repozo is a zope script to make backups of your Data.fs. Looking up the
settings can be a chore. And you have to pick a directory where to put the
backups. collective.recipe.backup provides sensible defaults for your
common backup tasks. Making backups a piece of cake is important!
- bin/backup makes a backup.
- bin/restore restores the latest backup.
- bin/snapshotbackup makes a full backup, separate from the regular backups. Handy for copying the current production database to your laptop or right before a big change in the site.
Just read the pypi page, especially the section on supported
options,
though you get perfectly decent backups by adding backup to your buildout's
parts list and adding the following two lines:
[backup] recipe = collective.recipe.backup
That's it!
One area I haven't looked at that's obviously handled by zipping up the whole thing: blob files stored on filesystem.
I need to check yours, maybe we could merge
An easy typo to make. :)