by Don Baccus
with additions by Joel Aufrecht
OpenACS docs are written by the named authors, but may be edited
@@ -47,7 +47,7 @@
unneccesary and has complicated permissions. Make sure that you are using the cron job to back up the database to a file in /web/service0/database-backup so that the tar command will include the database.
[root@yourserver root]# su - service0
[service0@yourserver service0]$ tar -cpsj --exclude /web/service0/etc/daemontools/supervise --file /tmp/service0-backup.tar.bz2 /web/service0/
tar: Removing leading `/' from member names
-[service0@yourserver service0]$
On a test service, make sure that your backup-recovery process work. After backing up the database and file system, delete the service as detailed below and then recover it.
[root@yourserver root]# svc -d /service/service0
+[service0@yourserver service0]$
On a test service, make sure that your backup-recovery process work. After backing up the database and file system, delete the service as detailed below and then recover it.
[root@yourserver root]# svc -d /service/service0
[root@yourserver root]# mv /web/service0/ /web/service0.lost
[root@yourserver root]# rm /service/service0
rm: remove symbolic link `/service/service0'? y
@@ -213,4 +213,4 @@
joeuser:~$ restart-aolserver birdnotes
That's it! The script will email you with each successful backup (or
if it fails, it will send you an email with the reason)
-