Jump to content

Phdcci zimbra backup process: Difference between revisions

From TetraWiki
No edit summary
No edit summary
 
Line 36: Line 36:




''# su – zimbra''
''# su – zimbra''




Line 48: Line 48:




''$ zmcontrol stop''
''$ zmcontrol stop''




Line 60: Line 60:




''$ exit''
''$ exit''




Line 72: Line 72:




''# pkill -9 zimbra''
''# pkill -9 zimbra''




Line 87: Line 87:




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




Line 102: Line 102:




''# su – zimbra''
''# su – zimbra''
 
''$ zmcontrol start''
 
''$ zmcontrol status''
''$ zmcontrol start''
 
 
''$ zmcontrol status''




Line 119: Line 115:
----
----


''$ exit''
''$ exit''




----
----

Latest revision as of 10:47, 9 November 2013


Zimbra Backup Process[edit]


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