Syntactic Confectionery Delight | |
PerlMonks |
Re: scp cronjobby ides (Deacon) |
on Sep 11, 2002 at 14:24 UTC ( [id://196947]=note: print w/replies, xml ) | Need Help?? |
Have you looked into using rsync? It only trasmits the differences between files and greatly reduces the bandwidth used. I use it to backup hundreds of GBs of data each day. It would negate the need for your script and it works over SSH. To backup and/or mirror from the current directory to to your other server would go something like this in cron:
Hope this helps. -----------------------------------Frank Wiles <frank@wiles.org> http://frank.wiles.org
In Section
Seekers of Perl Wisdom
|
|