Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-11-2011, 11:28 PM
Special Member
 
Posts: 149
Default simple backup before upgrade

Hello,

I am planning to upgrade my Zimbra Server from 6.0.8 to 7.0.1 in couple of days, (most probably tomorrow). It is always advisable to have a complete backup before performing any upgrade. So if I just copy the entire /opt/zimbra to another location on same server would be enough?

Dipesh
Reply With Quote
  #2 (permalink)  
Old 03-12-2011, 01:29 PM
Elite Member
 
Posts: 303
Default

At work, since I'm using XFS on an LVM, I just do a snapshot, at home, I'm running VirtualBox and do a snapshot on it as well.

Is it always advisable? In my opinion, yes.

If I didn't have either, then yes, I would duplicate the /opt directory.

Doug
__________________
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
Reply With Quote
  #3 (permalink)  
Old 03-13-2011, 03:27 AM
fyd fyd is offline
Elite Member
 
Posts: 373
Default

Hi Dipesh,

If it is a backup of /opt/zimbra directory, nothing else is required. Keeping it local is fine. But before you do that I would also suggest taking a full account backup with 'su - zimbra; zmbackup -f -a all -s server.domain.com'. That will be placed in /opt/zimbra/backup and will go along with your backup. If the zimbra backup target directory is configured on a second drive, it is well and good.

imho, I also keep a config backup with 'su - zimbra; zmprov gacf > /root/zimbraconf' while I do an upgrade, that adds to the peace of mind. Then do a simple zmcontrol status and copy it safe just so that I don't scratch my head thinking of the services hehe

Last edited by fyd; 03-13-2011 at 03:44 AM..
Reply With Quote
  #4 (permalink)  
Old 03-13-2011, 09:59 PM
Special Member
 
Posts: 149
Default

thanks for detailed replies.

I have setup secondary mx so that inbound mails would be delivered there during upgrade process. I would backup existing zimbra data as guided, and perform upgrade. Since this is my first upgrade after zimbra deployed, I was little worried.

Well, do I need to down zimbra before running 'su - zimbra; zmbackup -f -a all -s server.domain.com' ?

Dipesh
Reply With Quote
  #5 (permalink)  
Old 03-13-2011, 10:42 PM
Junior Member
 
Posts: 9
Default

I believe zmbackup is only for the paid versions of zimbra.

If you are using ZCS you will want to run a zmcontrol stop before you backup the /opt/zimbra folder or else it won't be able to copy some of the databases/files over.
Reply With Quote
  #6 (permalink)  
Old 03-14-2011, 07:47 AM
fyd fyd is offline
Elite Member
 
Posts: 373
Default

Quote:
Originally Posted by dipeshmehta View Post
thanks for detailed replies.

I have setup secondary mx so that inbound mails would be delivered there during upgrade process.
Dipesh
Perfect, that is a good move.

Quote:
Originally Posted by dipeshmehta View Post
Well, do I need to down zimbra before running 'su - zimbra; zmbackup -f -a all -s server.domain.com' ?
Dipesh
Account backups with that command is a NE feature, sorry I didn't mention it. For your info, it is done with zimbra running. The backup process in NE is explained in this thread comment

I can see there are many custom scripts designed for account backing in FOSS discussed in zimbra forums. This is one of them which has tried to bring in all steps. Please see if it suits you.
Reply With Quote
  #7 (permalink)  
Old 03-14-2011, 07:52 AM
fyd fyd is offline
Elite Member
 
Posts: 373
Default

Quote:
Originally Posted by lpmartineau View Post
I believe zmbackup is only for the paid versions of zimbra.

If you are using ZCS you will want to run a zmcontrol stop before you backup the /opt/zimbra folder or else it won't be able to copy some of the databases/files over.
Yeah right. That will make sure you get all your data backed up. Your secondary MX should support you here.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.