Index: openacs-4/packages/acs-core-docs/www/backups-with-cvs.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/backups-with-cvs.adp,v diff -u -r1.4 -r1.4.2.1 --- openacs-4/packages/acs-core-docs/www/backups-with-cvs.adp 25 Apr 2018 08:38:27 -0000 1.4 +++ openacs-4/packages/acs-core-docs/www/backups-with-cvs.adp 2 Mar 2019 19:30:04 -0000 1.4.2.1 @@ -1,5 +1,5 @@ -{/doc/acs-core-docs {ACS Core Documentation}} {Using CVS for backup-recovery} +{/doc/acs-core-docs/ {ACS Core Documentation}} {Using CVS for backup-recovery} Using CVS for backup-recovery

Note that, if you did the CVS options in this document, the /var/lib/aolserver/$OPENACS_SERVICE_NAME/etc directory is not included in cvs and you may want to add it.

[root root]# su - $OPENACS_SERVICE_NAME
-[$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cd /var/lib/aolserver/$OPENACS_SERVICE_NAME
+[$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cd /var/lib/aolserver/$OPENACS_SERVICE_NAME
 
 [$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cvs commit -m "last-minute commits before upgrade to 4.6"
 cvs commit: Examining .
@@ -31,18 +31,18 @@
 (many lines omitted)
 [$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ exit
 [root root]# 
-su - $OPENACS_SERVICE_NAME
-cd /var/lib/aolserver/$OPENACS_SERVICE_NAME
+su - $OPENACS_SERVICE_NAME
+cd /var/lib/aolserver/$OPENACS_SERVICE_NAME
 cvs commit -m "last-minute commits before upgrade to 4.6"
 cvs tag before_upgrade_to_4_6
-exit
+exit
 

To restore files from a cvs tag such as the one used above:

[root root]# su - $OPENACS_SERVICE_NAME
-[$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cd /var/lib/aolserver/$OPENACS_SERVICE_NAME
+[$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cd /var/lib/aolserver/$OPENACS_SERVICE_NAME
 
 [$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cvs up -r current
-[$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ exitsu - $OPENACS_SERVICE_NAME
-cd /var/lib/aolserver/$OPENACS_SERVICE_NAME
-cvs up -r current
+[$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ exitsu - $OPENACS_SERVICE_NAME
+cd /var/lib/aolserver/$OPENACS_SERVICE_NAME
+cvs up -r current