Jump to content

Phdcci zimbra backup process: Difference between revisions

From TetraWiki
Faisal (talk | contribs)
Zimbra Backup Process of PHDCCI
 
No edit summary
Line 1: Line 1:
[[category:PHDCCI]]
'''
'''
== Zimbra Backup Process ==
== Zimbra Backup Process ==
Line 18: Line 21:




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





Revision as of 10:46, 9 November 2013


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