In actuality this is syncing one zimbra to another. You can do this for replication, not just disaster recovery. This is on a centos box.
#install rsync if you don't have it
yum install rsync
#sync our local files from a remote server 1.1.1.1
rsync -avzr -e ssh [email protected]:/opt/zimbra /opt/
#change ownership of the new files
chown –R zimbra:zimbra /opt/zimbra
#have zimbra fix all permissions on the files.
/opt/zimbra/libexec/zmfixperms --extended
Leave a Reply