Networking • Automation • Occasional Podcasting
,

Restore Zimbra Backup

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

Comments

2 responses to “Restore Zimbra Backup”

  1. Philip Gabrielsen Avatar
    Philip Gabrielsen

    And just for an example, how will /etc/init.d/zimbra be restored?

  2. Greg Avatar

    @Philip
    Good question. What I do is run all of my Zimbras as virtual machines. I take an old VM backup and turn it up on a new server. I then rsync all of the files over the top. 🙂 Works like a champ.

Leave a Reply

Your email address will not be published. Required fields are marked *