Backing up your database
Database backups are an important part of any web application deployment, and Plone is no exception.
However, unlike a lot of web applications, there is no SQL data to backup. This is because Plone uses Zope 2, which uses the ZODB (http://pypi.python.org/pypi/ZODB3) for persistent storage. The ZODB is an object database (not a relational database) and its contents are typically stored in a single flat file called Data.fs
.
By using the undo feature of Zope 2, you can often avert disasters by undoing a transaction or more from the Undo form, but you must do so sequentially starting from the most recent transaction.
If you want to examine the Undo form, browse to http://localhost:8080/Plone
and click on Site
Setup | Zope
Management
Interface.
You should see the Undo form in the list of tabs at the top, toward the right side, as shown in the following screenshot:
In other words, you cannot pick an arbitrary transaction from the middle of the transaction log and expect...