Displaying 1 result from an estimated 1 matches for "plantx".
Did you mean:
plant
2005 Apr 01
2
Rsync over an NFS mount (Scanned @ Decoma)
...192.168.0.1) is a live production server with a database within
the /DB directory
Machine 2 (192.168.0.2) is an idling server, capturing all changes of
Machine 1's database.
The rsync is done over an NFS mount onto machine 1, rather than via rsync
client/server
>From Machine 2 :
mkdir /mnt/plantx
mount 192.168.0.1:/DB/plantx /mnt/plantx
rsync -av --delete 127.0.0.1:/mnt/plantx/ /DB/plantx -e ssh
Now , If I reboot machine 2, and forget to do the NFS mount, (actually the
above rsync is in a crontab entry to happen automatically), then the
/DB/plantx will be empty due to the 'delete...