Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Seperate out one FULL backup to copy and restore?

  1. #1
    alauppe is offline Active Member
    Join Date
    Jan 2009
    Posts
    27
    Rep Power
    6

    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

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

  3. #3
    adriandurden is offline Junior Member
    Join Date
    Nov 2009
    Location
    Tustin, ca
    Posts
    7
    Rep Power
    5

    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?

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    alauppe is offline Active Member
    Join Date
    Jan 2009
    Posts
    27
    Rep Power
    6

    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

  6. #6
    alauppe is offline Active Member
    Join Date
    Jan 2009
    Posts
    27
    Rep Power
    6

    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.

  7. #7
    alauppe is offline Active Member
    Join Date
    Jan 2009
    Posts
    27
    Rep Power
    6

    Default

    looks like it is listening on localhost only. suggestions?

  8. #8
    adriandurden is offline Junior Member
    Join Date
    Nov 2009
    Location
    Tustin, ca
    Posts
    7
    Rep Power
    5

    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?

  9. #9
    ArcaneMagus's Avatar
    ArcaneMagus is offline Moderator
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    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?

  10. #10
    adriandurden is offline Junior Member
    Join Date
    Nov 2009
    Location
    Tustin, ca
    Posts
    7
    Rep Power
    5

    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.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Restore backup?
    By acarreon in forum Migration
    Replies: 1
    Last Post: 12-19-2008, 10:56 AM
  2. Backup and Restore of 4.5.7 CE
    By bjquinn in forum Administrators
    Replies: 5
    Last Post: 10-30-2007, 03:44 PM
  3. copying only last full backup to store offsite
    By riccadus in forum Administrators
    Replies: 0
    Last Post: 01-11-2007, 01:29 AM
  4. Restoring accounts and messages from full copy
    By venaro in forum Administrators
    Replies: 1
    Last Post: 11-16-2006, 07:58 AM
  5. Zimbra Full Backup and Restore???
    By jgao in forum Administrators
    Replies: 3
    Last Post: 01-19-2006, 01:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •