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

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 11-09-2009, 03:13 PM
Active Member
 
Posts: 26
Default Seperate out one FULL backup to copy and restore?

Does anyone know how to separate out one full backup from /opt/zimbra/backup and copy only that one backup to a new machine, for restoration?

I'm trying to migrate a large Zimbra installation from a 4.X Mac OS X PPC install to a linux host, so I can upgrade to the newest version. I presume restoring from a backup is the only way, and copying their entire /opt/zimbra/backup directory isn't practical.

Suggestions?

Thanks!

Andy
Reply With Quote
  #2 (permalink)  
Old 11-10-2009, 12:22 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Moving ZCS to New Server - Zimbra :: Wiki
Preferred Method of Moving Users To New Machine (zmmailboxmove - Network Edition Only) - Zimbra :: Wiki
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 11-10-2009, 05:23 PM
Junior Member
 
Posts: 7
Default

I'm doing something very similar, but when you go to back up or copy /opt/zimbra/backup do you need to stop zimbra while it copies?
Reply With Quote
  #4 (permalink)  
Old 11-11-2009, 12:00 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Quote:
Originally Posted by adriandurden View Post
I'm doing something very similar, but when you go to back up or copy /opt/zimbra/backup do you need to stop zimbra while it copies?
If you're going to backup the /opt/zimbra directory structure then Zimbra needs to be stopped otherwise you can't guarantee a consistent state for any future restore. As you're using NE then the backup feature will do what you need, see the first article in the links I've posted above.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 11-11-2009, 09:42 AM
Active Member
 
Posts: 26
Default

Bill,

Is there anyway to move a specific backup from one machine to another without having to copy all of /opt/zimbra/backup ?

Andy
Reply With Quote
  #6 (permalink)  
Old 11-14-2009, 08:28 PM
Active Member
 
Posts: 26
Default

It looks like the PPC server (Master LDAP server) isn't listening on :389. When I nmap that host, I don't see anything on :389, and the slave (new server) can't seem to reach the old one.

I did run zmldapenablereplica on the master. I have also disabled the firewall in tiger.
Reply With Quote
  #7 (permalink)  
Old 11-14-2009, 08:30 PM
Active Member
 
Posts: 26
Default

looks like it is listening on localhost only. suggestions?
Reply With Quote
  #8 (permalink)  
Old 11-19-2009, 02:58 PM
Junior Member
 
Posts: 7
Default

If I don't care about a consistent state and only want to save out my /opt/zimbra/backup directory with a nightly rsync so I have a reasonable place to do DR from, is that the only directory I need to save out, or are there others so that the RESTORE function will work?
Reply With Quote
  #9 (permalink)  
Old 11-20-2009, 04:37 PM
Moderator
 
Posts: 1,147
Default

Phoenix: adriandurden is already on the network edition (as you mentioned in your second post but not in your third?).

Alauppe: Why does it matter if the old server is listening on the LDAP port or not? The backup has the LDAP database in it. Did you read Moving ZCS to New Server - Zimbra :: Wiki?

Adriandurden: An rsync of /opt/zimbra/backup should be sufficient as long as it doesn't run while the backup is running. As you can imply from the wiki article, this is all you should need (provided you install the exact same version of Zimbra on the server you are restoring to).

To both of you: I could easily be wrong here as I have no NE to test with (yet... building a VM soon), but I would think you should be able to just copy the latest full backup and any incremental backups after that and then try to restore from that. Be careful though as I think I have seen that it runs a "full" backup on user creation that just contains that user. Is there any particular reason you aren't just copying the entire /opt/zimbra/backup directory? If it is too large, why not do a network mount of the folder?
Reply With Quote
  #10 (permalink)  
Old 11-24-2009, 12:15 PM
Junior Member
 
Posts: 7
Default

in short, the network is already taxed, there's only a window of about 8 hours I can move stuff around, i was hoping i could move something like the dir 5.0.4_GA-7.1 which is only 70gig but I've discovered this has backups over a year old. I've had a du -sh running on the /backup dir for awhile now still waiting to see how big it is lots of little files.

Last edited by adriandurden; 11-24-2009 at 12:34 PM..
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.