Index: openacs-4/packages/acs-core-docs/www/automated-backup.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/automated-backup.html,v diff -u -r1.15 -r1.16 --- openacs-4/packages/acs-core-docs/www/automated-backup.html 8 Nov 2017 09:42:10 -0000 1.15 +++ openacs-4/packages/acs-core-docs/www/automated-backup.html 3 Sep 2024 15:37:31 -0000 1.16 @@ -1,19 +1,4 @@ -
The recommended backup strategy for a production sit is to use an automated script which first backs up the database to a file in /var/lib/aolserver/
and then backs up all of $OPENACS_SERVICE_NAME
/database-backup/var/lib/aolserver/
to a single zip file, and then copies that zip file to another computer.$OPENACS_SERVICE_NAME
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-
- 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
- The recommended backup strategy for a production sit is to use an automated script which first backs up the database to a file in /var/lib/aolserver/$OPENACS_SERVICE_NAME/database-backup
and then backs up all of /var/lib/aolserver/$OPENACS_SERVICE_NAME
to a single zip file, and then copies that zip file to another computer.
Make sure that the manual backup process described above works.
Customize the default backup script. Edit /var/lib/aolserver/$OPENACS_SERVICE_NAME/etc/backup.sh
with your specific parameters.
+ 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