Jump to content

Phdcci zimbra backup process

From TetraWiki
Revision as of 10:37, 9 November 2013 by Faisal (talk | contribs) (Zimbra Backup Process of PHDCCI)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Zimbra Backup Process


Login on the server from root user:


First we rsync the data without stoppping the zimbra to the external hard disk


External Hard drive is mounted at /media/drive/




# rsync -alHKP /opt/zimbra /media/drive/backup_091213(Folder Name)/




this will transfer zimbra to the external drive in the folder (backup_091213)


After the transfer gets completed, stop zimbra




# su – zimbra




This will switch you to zimbra user, now run this command




$ zmcontrol stop




This will stop zimbra




$ exit




this will switch back to root user




# pkill -9 zimbra




This will kill all the process related to zimbra incase if it is still running.


Now we take the final rsync




# rsync -alHKP --delete /opt/zimbra /media/drive/backup_091213/




It should get completed without giving any errors.


Now we start zimbra




# su – zimbra


$ zmcontrol start


$ zmcontrol status




check the status of zimbra by running this command, everything should be running.



$ exit