I have this in my cron daily.
#!/bin/sh
rsync -avz -e "ssh -p 5150" --delete
root@192.168.2.80:/home/vpopmail/domains /home/*.*
This keeps the backup up to date. I have it setup with a ssh-key so no
login is required. It's on the LAN and behind a firewall.
On 04/06/2011 10:41 AM, Joel Eddy wrote:
Eric,
Would you put this in a script file to run? That's what I'm trying to
do. No luck as yet tho.
find /home/vpopmail/domains/mydomain.com \ << If I use this it scrolls
the entire domain structure by "FAST" by the way.
-name Maildir/new \ << If I include this I get "find:
-name/Maildir/new: unknown option"
-exec rsync -avh {} <destination> \; << Haven't tried this yet.
Any suggestions?
Joel
PS: If I/we get this to work I'll wiki it on the wiki
--
Cecil Yother, Jr. "cj"
cj's
2318 Clement Ave
Alameda, CA 94501
tel 510.865.2787 | http://yother.com
Check out the new Volvo classified resource http://www.volvoclassified.com