Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • When installing the server, a partition is created for the system and another system for data. Every partition is then divided in Logical Volumes. This enables restore of only required logical volumes.
  • We try to install software as much as possible in the system partition, and data on the data partition. Log files however, tend to end up in the system partition.
  • DSpace and the Postgresql databases are put on the data partition.
  • On the data partition there are separate logical volume for backup, downloads, etc.
  • After installation of the server, a full (Ghost) image is taken.
  • A daily hotbackup is made of the Postgresql database via a crontab. This can be done while Postgresql is running. We use the following parameters (pg_dumpall -o -c -v), but check documentation for the Postgresql version you are using. These daily backups are kept for a month.
  • A weekly incremental backup of all partition is made to disk (and tape). For the incremental backup the Postgresql server has to be shut down, else the Postgresql database files are not included in the backup.
  • During the weekly backups we leave Tomcat running and replace the DSpace homepage with a maintenance page. This is not a very good solution, because most users, crawlers and OAI-harversters do not start at the DSpace homepage. This generates many Internal Error Messages. We do not use Apache and are still looking for a good solution in Tomcat.

Other methods

Please check out: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Disaster_RecoveryImage Added for a method on Ubuntu servers.