Book Image

Plone 3.3 Site Administration

Book Image

Plone 3.3 Site Administration

Overview of this book

In the past few years, we have seen some dramatic changes in the way Plone sites are being developed, deployed, and maintained. As a result, developing and deploying sites, changing their default settings, and performing day to day maintenance tasks can be a challenge. This book covers site administration tasks, from setting up a development instance, to optimizing a deployed production site, and more. It demonstrates how-to perform these tasks in a comprehensive way, and walks the user through the necessary steps to achieve results.We have divided the subject of Plone site administration into three categories: development, deployment, and maintenance. We begin by explaining how a Plone site is built, and how to start using it through the web. Next, we add features by installing add-on products, focusing on themes, blogging, and other common enhancements. After the basics of developing and deploying a Plone site are covered, the book covers the basics of maintaining it.Further, throughout the book we preview some new technologies related to Plone site administration, available now as add-ons to the current Plone release. Finally, we will cover a variety of techniques to help you optimize your site's performance.
Table of Contents (15 chapters)
Plone 3.3 Site Administration
Credits
Foreword
About the Author
About the Reviewer
Preface
Index

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...