3 Sep 2009 12:26
Re: Bash rsync Script
Have you ever heard about rsnapshot ?? This could solve all your issue and provide you with a high performance backup solution. Sorry for this cross-posting but It might help… http://rsnapshot.org/ Le 23 juil. 2009 à 16:32, Kaushal Shriyan a écrit : > Hi, > > I have three scripts, Can i combine it a single script? > > Thanks, > > Kaushal > > > #!/bin/bash > #rsync ha.d folder shell script > #author kaushal > #created on 23/07/2009 > > TIMESTAMP=`date +%F-%T:%N` > > if /usr/bin/rsync -a /etc/ha.d 172.20.0.3:/etc/ > > /tmp/rsync-(Continue reading)ha.d-${TIMESTAMP}.log 2>&1 > then > /usr/bin/mailx -s "[CRON] Success: fw1 ha.d refresh daily to fw2"
RSS Feed