The recommended backup strategy for a production sit is to use an automated script which first backs up the database to a file in @@ -19,21 +19,18 @@
Make sure that the manual backup process described above works.
Customize the default backup script. Edit /var/lib/aolserver/
with your specific parameters.$OPENACS_SERVICE_NAME
/etc/backup.sh
Make sure the file is executable:
-chmod +x backup.sh -+
Make sure the file is executable:
chmod +x backup.sh
Set this file to run automatically by adding a line to
root's crontab. (Typically, with export EDITOR=emacs; crontab -e
.) This
example runs the backup script at 1:30 am every day.
-30 1 * * * sh /var/lib/aolserver/$OPENACS_SERVICE_NAME
/etc/backup.sh
-
+30 1 * * * sh /var/lib/aolserver/$OPENACS_SERVICE_NAME
/etc/backup.sh