Skip to content
Oct 5 / Greg

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.

1
2
3
4
5
6
7
8
9
10
11
#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

2 Comments

leave a comment
  1. Philip Gabrielsen / Oct 5 2011

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

  2. Greg / Oct 6 2011

    @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 Comment

 

*