Page 11 of 22 FirstFirst ... 91011121321 ... LastLast
Results 101 to 110 of 211

Thread: Full Server Backup and Restore of “open source version”

  1. #101
    Join Date
    Feb 2006
    Location
    Pune, India
    Posts
    294
    Rep Power
    9

    Default

    One way, which, I feel, can be tried is depicted in my hot backup script I posted a few articles back. I haven't had much time lately to work on it but will try to progress the idea. I can confirm that it backs up ... restoration is something on which thinking is required.

    To trap incoming e-mails when the mail server is down ... have 2 mail servers running... Zimbra and some other (maybe another Zimbra) with different priority MX. When the first one is down... the second one picks up mail. When the 1st one is up... retrieve e-mails from the 2nd one - and normal service continues until the next time you want to backup.

    Something like what this company offers:
    http://www.dnsmadeeasy.com/s0306/prod/mailbk.html

    (I don't know this company ... can't comment at all on its services, price, etc. Just came across while Googling)

    BTW, if you are willing to pay for this service, better yet, is to get Zimbra Network! :-)
    Regards,

    Chintan Zaveri
    (Yet another ZIMBRAN!)

    "Dhundhne par Bhagwan bhi ..."

  2. #102
    Join Date
    Feb 2006
    Location
    Pune, India
    Posts
    294
    Rep Power
    9

    Default

    Quote Originally Posted by Dirk
    The report email never did arrive. I'll be checking this script out on another installation shortly and see how that goes. In the meantime, which logfile, if any, may this have hit so I can see what happened?
    Hi Dirk,

    Did you get an e-mail notification from Cron in the mailbox admin@yourhost.domain.com ?

    I am getting that, too. (In addition to the e-mail notification to the e-mail address specified in the script).

    If nothing works then I can try to insert an "at" or "cron" job from the script to send you an e-mail after 10 mins of backup.
    Regards,

    Chintan Zaveri
    (Yet another ZIMBRAN!)

    "Dhundhne par Bhagwan bhi ..."

  3. #103
    Join Date
    May 2006
    Location
    England.
    Posts
    927
    Rep Power
    10

    Default

    Hey Chintan, nope no mail recieved at all. I've not yet had a chance to look deeply into your script as other work tasks have been taking all my time. For that matter, I've not yet set a cron job to do this backup for me, or even to test the live backup script.

    Sometimes I think life would be much better if I didnt have to work for a living!

    I can say that I tried running the script with the destination folder set to a mount point residing on a windows 2003 server, so that the backup would be off the zimbra server as soon as possible - it seemed to work but responded with an "rsync failed" message right near the end.

    I'm thinking that tar'ing the folder up locally and then rsync or other copy method to another server would be more reliable, but again, not had time to check it out.

  4. #104
    Join Date
    Feb 2006
    Location
    Pune, India
    Posts
    294
    Rep Power
    9

    Default

    Quote Originally Posted by Dirk
    Hey Chintan, nope no mail recieved at all. I've not yet had a chance to look deeply into your script as other work tasks have been taking all my time. For that matter, I've not yet set a cron job to do this backup for me, or even to test the live backup script.

    Sometimes I think life would be much better if I didnt have to work for a living!

    I can say that I tried running the script with the destination folder set to a mount point residing on a windows 2003 server, so that the backup would be off the zimbra server as soon as possible - it seemed to work but responded with an "rsync failed" message right near the end.

    I'm thinking that tar'ing the folder up locally and then rsync or other copy method to another server would be more reliable, but again, not had time to check it out.
    Dirk,

    Yes, I will add this feature of TARing and FTPing the backup. I will also try to add a cron for 10 mins after backup so life is easier for all.

    Will probably work this Sunday and get it done.

    Thank-you very much for your help,
    Regards,

    Chintan Zaveri
    (Yet another ZIMBRAN!)

    "Dhundhne par Bhagwan bhi ..."

  5. #105
    Join Date
    Feb 2006
    Location
    Pune, India
    Posts
    294
    Rep Power
    9

    Default

    Quote Originally Posted by czaveri
    Yes, I will add this feature of TARing and FTPing the backup. I will also try to add a cron for 10 mins after backup so life is easier for all.

    Will probably work this Sunday and get it done.
    Oops! Couldn't work this Sunday. Will wait until next holiday.

    Quote Originally Posted by czaveri
    I have put it as a cron job on two of my systems and will check daily for two weeks. Will post my results then. Today is day 3.
    15 days complete and I restored the backup. It works.
    Regards,

    Chintan Zaveri
    (Yet another ZIMBRAN!)

    "Dhundhne par Bhagwan bhi ..."

  6. #106
    Join Date
    Sep 2005
    Location
    Buffalo, NY
    Posts
    65
    Rep Power
    10

    Exclamation most recent versions of backup scripts

    When you get a chance, can you repost the most recent versions of all the scripts that have been deemed "working", here at the end of this thread?

    Thanx all!

    One of the beautys of working with zimbra, by the time i find i'm having an issue, usually 4-100 admins are already having the same issue, and there is an answer!


    FYI: I am still running on 3.0 GA, I want to have a way to backup and restore before I go to the latest and greatest, as a fall back in case something doesn't work right in the upgrade process.

  7. #107
    Join Date
    Nov 2005
    Posts
    175
    Rep Power
    9

    Default Something to make a cold backup more palatable for the moment...

    Well, you guys are great -- I haven't looked at this thread for nearly a year, but it's great to see we're getting somewhere! At any rate, something occurred to me while catching up on this rather important thread (after all, what good is anything if you can't back it up?!?). While we're waiting for the work on the Zimbra hot backups to complete I wonder if the following idea would minimize downtime while doing a cold backup.

    1. Sometime like 2am run rsync to backup /opt/zimbra while zimbra is still running.
    2. Shut down Zimbra whenever that finishes
    3. Run rsync (copying changed files only, of course) to refresh your copy of /opt/zimbra, hopefully taking far less time than if there wasn't already a recent copy to refresh
    4. Start Zimbra back up

    Short and simple. That way, you minimize actual Zimbra downtime yet you still get a good, in-sync backup.

    Would this work while we're waiting for the attempts at hot backups to materialize and stabilize?

    -BJ Quinn

  8. #108
    Join Date
    Feb 2006
    Location
    Pune, India
    Posts
    294
    Rep Power
    9

    Default

    Hi BJ Quinn,

    This looks like a good idea. need to check it out - that is, the restoration.

    I was deliberately not using 'rsync' to sync, actually, and was using it as a more sophisticated replacement of 'cp' because I was not sure (am still not sure) if the symlinks will not be destroyed. (It so happens that someone told me a tale with a moral such as this).

    So I never experimented syncing but only copying. (Does anyone know about the side-effects of rsyncing - if at all, there are any).

    Let's give it a try.
    Regards,

    Chintan Zaveri
    (Yet another ZIMBRAN!)

    "Dhundhne par Bhagwan bhi ..."

  9. #109
    Join Date
    Jan 2006
    Posts
    83
    Rep Power
    9

    Default

    Quote Originally Posted by gfdos.sys
    FYI: I am still running on 3.0 GA, I want to have a way to backup and restore before I go to the latest and greatest, as a fall back in case something doesn't work right in the upgrade process.
    if you want to make a simple backup, just to insure that your upgrade goes smooth, do this:

    /etc/init.d/zimbra stop
    ps aux |grep zimbra (to make sure zimbra is fully closed)
    cp -av /opt/zimbra /opt/zimbra.backup

    then run the upgrade-
    if things get hosed, all you should have to do is replace /opt/zimbra with /opt/zimbra.backup

    e.g.
    /etc/init.d/zimbra stop
    mv /opt/zimbra /opt/zimbra.hosed
    mv /opt/zimbra.backup /opt/zimbra
    /etc/init.d/zimbra start


    now, there are other things that the zimbra installer touches outside of /opt/zimbra, like for example cron and init scripts... so this might not be a 100% fix, but it's better then having a hosed email server

  10. #110
    Join Date
    Feb 2006
    Location
    Pune, India
    Posts
    294
    Rep Power
    9

    Default

    Hi,

    I have just completed uploading zimbraColdBackup-Ver0.02beta.tar.gz at https://sourceforge.net/projects/zcstools/

    Hope it is useful.

    This one supports Rsync for sending data to some other system. Code is better than before, (though not the best).
    Regards,

    Chintan Zaveri
    (Yet another ZIMBRAN!)

    "Dhundhne par Bhagwan bhi ..."

Similar Threads

  1. mailbox backup & restore on open source version
    By Artturi in forum Administrators
    Replies: 3
    Last Post: 07-30-2010, 04:26 PM
  2. Restore single account failed from full backup
    By fmodola in forum Administrators
    Replies: 4
    Last Post: 06-20-2007, 05:27 AM
  3. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  4. copying only last full backup to store offsite
    By riccadus in forum Administrators
    Replies: 0
    Last Post: 01-11-2007, 12:29 AM
  5. Zimbra Full Backup and Restore???
    By jgao in forum Administrators
    Replies: 3
    Last Post: 01-19-2006, 12: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
  •