zimbra mirror
always run with delete first for zimbra mirror
when doing mirroring from another server with rsync as download
#!/bin/sh
Date1=`date +%d-%m-%Y`
T1=`date`
rsync -avz --delete root@172.16.2.22:/opt/zimbra/ /opt/zimbra/ > /home/sas/withdelete.log 2>&1
T2=`date`
echo "START : " $T1 >> /home/sas/withdelete.log
echo "END : " $T2 >> /home/sas/withdelete.log
25 16 20 11 4 /bin/sh /home/sas/with-delete.sh &> /home/sas/withdelete.log 2>&1
Comments
Post a Comment