rsync daemon for opt zimbra

1. mv /opt/zimbra /opt/zimbra.old 2.set cronjob for data migration 34 22 21 * * /bin/sh /home/sas/opt.sh >>/home/sas/optzimbra.log 3.create scripts in /home/sas/ create optzimbra.sh and pass chmod optzimbra.sh 754 [[email protected] sas]# cat optzimbra.sh#!/bin/shT1=`date` rsync -avz –password-file=/home/sas/pass -u  [email protected]::opt/zimbra  /opt/ > /home/sas/opt.log  2>&1 T2=`date` echo “START : ” $T1  >> /home/sas/opt.logecho “END : ” $T2  >> /home/sas/opt.log … Read more

Pin It on Pinterest

Open chat