Results 1 to 3 of 3

Thread: zmmailbox offline backup

Hybrid View

  1. #1
    Join Date
    May 2012
    Posts
    1
    Rep Power
    3

    Default zmmailbox offline backup

    Offline backup probably isn't the best description. I built a new zcs server, created the accounts, and changed the mx record so that all new mail would go to the new server. Then from the old server, I'm trying to run
    Code:
    zmmailbox -z -m [account] getRestURL "//?fmt=tgz" > backup.tgz
    Of course that request is going to the new server. Without updating dns again, is there a means to grab the backups from the old server via CLI? I guess I could do it via webmail from each account, but checking to see if there's a better way. Also, if I do it via webmail, can those backups be imported via zmmailbox or do I need to login to webmail on the new server and do the backup there?


    thanks,
    will

  2. #2
    Join Date
    May 2012
    Posts
    39
    Rep Power
    3

    Default

    Hello walvord,

    configuring your DNS on both servers like explained in Split DNS - Zimbra :: Wiki should solve your problem and avoid similar problems you might have

    BTW, if what you are looking for is not an offline backup but a way to migrate all your data to a new server there are many different options like zmztozmig (included in Zimbra), Zextras mig (third party software) or custom scripts using the zmmailbox command (or REST API). All of these have been extensively documented and discussed in the forum..
    See ya,
    Mike

  3. #3
    Join Date
    Jun 2012
    Posts
    1
    Rep Power
    3

    Default

    You can try

    zmmailbox -z -m [account] getRestURL "//?fmt=tgz" -u "http://OLD_IP_or_ADDRESS" > backup.tgz

    With -u flag, you can specify the URL instead of domain.com.



    Quote Originally Posted by walvord View Post
    Offline backup probably isn't the best description. I built a new zcs server, created the accounts, and changed the mx record so that all new mail would go to the new server. Then from the old server, I'm trying to run
    Code:
    zmmailbox -z -m [account] getRestURL "//?fmt=tgz" > backup.tgz
    Of course that request is going to the new server. Without updating dns again, is there a means to grab the backups from the old server via CLI? I guess I could do it via webmail from each account, but checking to see if there's a better way. Also, if I do it via webmail, can those backups be imported via zmmailbox or do I need to login to webmail on the new server and do the backup there?


    thanks,
    will

Similar Threads

  1. Backup Zimbra using zmmailbox
    By tjhana in forum Administrators
    Replies: 1
    Last Post: 11-14-2010, 07:32 AM
  2. Hangs on "Loading" screen
    By gbr in forum General Questions
    Replies: 16
    Last Post: 06-19-2008, 02:01 PM
  3. ZD Beta 2 for Windows crashes
    By ms2k in forum Installation Help
    Replies: 5
    Last Post: 04-12-2008, 08:51 AM
  4. [SOLVED] Backups failing, "unable to read metadata for account"
    By smcgrath1111 in forum Administrators
    Replies: 10
    Last Post: 04-10-2008, 04:15 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
  •