Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
audina:dailymaintenance:start [2011/11/29 12:49]
smayr [Web Server (www)]
audina:dailymaintenance:start [2011/11/29 12:59] (current)
smayr [Web Server (www)]
Line 172: Line 172:
     * Backup to mirror drive is ''/media/www/data''     * Backup to mirror drive is ''/media/www/data''
     * Backup script to mirror drive is ''/etc/cron.daily/backuptomirror''     * Backup script to mirror drive is ''/etc/cron.daily/backuptomirror''
-  * Check that the pmon process is running.+    * Backup of mirrored ''swdev.audina.net'' server is ''/data/mirror''. This backup is created using ''rsync'' (see script ''/root/rsync-swdev.sh''). <code bash>#!/bin/bash 
 +rsync --daemon --config=/etc/rsyncd.conf 
 +root@www:~# cat rsync-swdev.sh 
 +#!/bin/bash 
 + 
 +#rsync --verbose  --progress --stats --compress --rsh=/usr/bin/ssh \ 
 +#      --recursive --times --perms --links --delete \ 
 +#      --exclude "*bak" --exclude "*~"
 +#      192.168.0.160:webfiles /var/www/mirror 
 + 
 +# Website 
 +rsync --archive --verbose --progress --stats --rsh=/usr/bin/ssh \ 
 +--recursive --times --perms --links --delete --exclude=stats \ 
 +192.168.0.160::webfiles /data/mirror/swdev.audina.net/www 
 + 
 +# Databases 
 +rsync --archive --verbose --progress --stats --rsh=/usr/bin/ssh \ 
 +--recursive --times --perms --links --delete \ 
 +192.168.0.160::databases /data/mirror/swdev.audina.net/databases 
 + 
 +# Root user home 
 +rsync --archive --verbose --progress --stats --rsh=/usr/bin/ssh \ 
 +--recursive --times --perms --links --delete \ 
 +192.168.0.160::root /data/mirror/swdev.audina.net/root 
 + 
 +# Subserver Repositories 
 +rsync --archive --verbose --progress --stats --rsh=/usr/bin/ssh \ 
 +--recursive --times --perms --links --delete \ 
 +192.168.0.160::repos /data/mirror/swdev.audina.net/repos 
 +</code> 
 +  * Check that the ''pmon'' process is running.
   * No changes to ''/etc/passwd'', ''/etc/shadow'', ''/etc/hosts'', ''/etc/group''.   * No changes to ''/etc/passwd'', ''/etc/shadow'', ''/etc/hosts'', ''/etc/group''.
   * Check the latest entries in the logs.   * Check the latest entries in the logs.