-----Original Message----- From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx]On Behalf Of Mad Unix Sent: Monday, July 21, 2008 11:14 AM To: CentOS mailing list Subject: Re: copy >How would you do the >tar zcvf - /usr/local/apache/htdocs | ssh root@xxxxxxx <mailto:root@xxxxxxx> "cat > >/var/www/html/htdocs.tar.gz" >with rsync and the to have it in the crontab to run everyday. >Thanks My suggestion: Setup SSH to use keys. Google ssh keys for explaination. Read some of the many tutorials on rsync out there. Tip: if you're going to run the script daily you should consider setting up a lock file. By using a lock file you won't have to worry about the script completing before the next one starts. If you're impatient email me and I'll give you a copy of the script I wrote. PS Please post questions in text format not html. Dan <snip> -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos