Index: openacs-4/packages/acs-core-docs/www/snapshot-backup.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/snapshot-backup.html,v diff -u -r1.13 -r1.14 --- openacs-4/packages/acs-core-docs/www/snapshot-backup.html 27 Oct 2014 16:39:25 -0000 1.13 +++ openacs-4/packages/acs-core-docs/www/snapshot-backup.html 7 Aug 2017 23:47:52 -0000 1.14 @@ -1,5 +1,5 @@ -
This section describes how to make a one-time backup and +
This section describes how to make a one-time backup and restore of the files and database. This is useful for rolling back to known-good versions of a service, such as at initial installation and just before an upgrade. First, you back up the @@ -76,7 +76,7 @@ exit
Back up the file system. Back up all of the files in the service, including the
database backup file but excluding the auto-generated
supervise
directory, which is
- unneccesary and has complicated permissions.
In the tar command,
c
create a
+ unnecessary and has complicated permissions.
In the tar command,
c
create a
new tar archive
p
preserves permissions.
s
preserves file sort order
z
compresses the output with gzip.
The --exclude
clauses skips some daemontools files that
are owned by root and thus cannot be backed up by the
service owner. These files are autogenerated and we don't
@@ -130,4 +130,4 @@
[postgres ~]$ exit
logout
Activate the service
[root root]#ln -s /var/lib/aolserver/$OPENACS_SERVICE_NAME/etc/daemontools /service/$OPENACS_SERVICE_NAME
[root root]#sleep 10
-[root root]#svgroup web /service/$OPENACS_SERVICE_NAME
svgroup web /service/$OPENACS_SERVICE_NAME