Subscribe:

Ads 468x60px

Pages

Thursday, August 11, 2011

Zimbra backup


Login as Zimbra
# su – zimbra


stop the zmcontrol service
# service zmcontrol stop


Logout from zimbra
#exit


login as root
# su -


kill all zimbra process
# ps aux | grep zimbra 
# kill -9 pid


Create a directory zcsbackuprsync
# mkdir /zcsbackuprsync


Take a backup of zimbra using rsync
# rsync -avHK /opt/zimbra/ /zcsbackuprsync/zimbra


Create a directory zcsbackuptars
# mkdir /zcsbackuptars


Make tar archive and zip the file
# tar -zcvf /zcsbackuptars/backup.zimbra.version.date.time.tar.gz -C /zcsbackup/zimbra

0 comments:

Post a Comment