For the most part, a simple filesystem-level backup of your buildout folder (that it, is the one housing buildout.cfg)
is all that's necessary. Your add-on products, buildout.cfg
, Zope and ZEO instances, log files—all are conveniently centralized in that folder, so including it in your normal backup routine will almost completely suffice. What remains is to ensure a reliable backup of the ZODB: like many databases, it requires some special care to copy it while it is running.
Of course, it would be possible to shut down ZEO, copy the Data.fs
to a backup medium, and then start everything back up again, but your site would be unavailable while you did it. repozo
, a tool included in your buildout's bin
directory, does incremental backups of Data.fs
files while they're in use, avoiding downtime. It also brings the following advantages over the simple stop-everything-and-copy method:
Backs up only what's changed since the last backup...