
Building Websites with OpenCms

A significant aspect of successfully implementing a content management system is providing a way to protect the data inside the CMS. A good backup and recovery mechanism is crucial for any CMS system. In this section, we will look at the facilities OpenCms offers for backing up and recovering the repository.
Since OpenCms runs on top of an RDBMS, much of the OpenCms data can be backed up via the database's backup mechanism. For instance, MySQL offers the mysqldump
and mysqlhotcopy
command-line utilities for running database backups. Backing up the OpenCms tables is a good idea for a few reasons:
The task of backing up a database is often very easy to do from a cron script or scheduled task during a nightly backup process. This strategy fits in with the commonly implemented backup strategies. As we will see in a few moments, a full backup of OpenCms takes some manual work.
A database backup captures all the information in the OpenCms tables. Some...
Change the font size
Change margin width
Change background colour