Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: would like advice on my backup script please

  1. #11
    Tripple is offline Elite Member
    Join Date
    Apr 2009
    Posts
    304
    Rep Power
    6

    Default

    Quote Originally Posted by spectra View Post
    Very well then Tripple
    One question that wasn't addressed.
    Will your strategy work if my production server was Ubuntu 804LTS 64bit and I build new server with Ubuntu 10 0 4 LTS 64bit ?
    I've never tried it that way. Indeed if you want to do a major OS upgrade you'll have to use a backup as well. One of these days I'll try this in a test environment.

    Backup Zimbra
    Clean install Major OS Upgrade
    Install same ZCS version
    Replace /opt/zimbra from backup
    Upgrade ZCS with the same version
    (Upgrade ZCS to a newer version)

    From your live experience, I take it that the OS and FOSS versions were precisely the same. Yes or No
    Yes

  2. #12
    xkill911 is offline Intermediate Member
    Join Date
    Aug 2009
    Posts
    16
    Rep Power
    6

    Default

    Quote Originally Posted by Tripple View Post
    Might work, maybe not.
    Why did you leave these lines out of the script after you stop Zimbra:

    Code:
    sleep 15
    ORPHANED=`ps -u zimbra -o "pid="` && kill -9 $ORPHANED
    This code is there to make sure there's no Zimbra process running.

    Frankly, I didn't add it cause I don't understand the code. I tried to keep it simple as possible without any complicated code

    My log I posted didn't complain about any locked files. I will have to watch it and decide on that code

  3. #13
    spectra is offline Special Member
    Join Date
    Oct 2009
    Posts
    147
    Rep Power
    5

    Default

    XKill911 with all respect I'll have to agree with both of you. I too subscribe to don't use what you don't understand. However in this case, Tripple is correct and now you do know what the code does.

    I've been running zimbra servers for a while now. I've been pouring over many scripts. Yes, all the good ones do issue some typeof kill all for zimbra processes.

    So, I conclude and urge others to add that code, I did.
    I also know that the day will come when something is floating out there that will mess you up. I deem this kill -9 to be matter of thoroughness.

    An ounce of prevention is better than a pound of cure.

    Thanks to both of you for your work and contributions

  4. #14
    spectra is offline Special Member
    Join Date
    Oct 2009
    Posts
    147
    Rep Power
    5

    Default

    So just to be clear I'll make the scenario live and factual.
    Im restoring FOSS 713 - Ubuntu 64 bit 10 0 4 LTS
    I assume all steps done as root or sudo - userid not zimbra though ? correct

    1. Setup your server with the same OS and the same Zimbra version.
    So FOSS 713 - Ubuntu 64 bit 10 0 4 LTS
    install and fully patch OS
    install 713 zimbra


    2. Delete /opt/zimbra
    ok that's easy

    3. Replace /opt/zimbra with your backup
    I would use scp to move over my tgz file to the new server
    I then untar to /opt/zimbra

    4. Run the Zimbra installer once more and update your ZCS
    run the zimbra installer again ? Is that what this step is about
    So ./install.sh
    Finally, are you saying if there's a patch for the release you install that patch now...is that the update part.

    So for the good zimbra folks out there let's remove any ambiguity

    Again, thanks a million fellas

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 658
    Last Post: 04-04-2014, 09:01 AM
  2. Append BACKUP Script to a LOG
    By llauradog in forum Administrators
    Replies: 1
    Last Post: 11-07-2011, 04:46 PM
  3. Zimbra Backup Script ... Small Problem
    By frankb in forum Administrators
    Replies: 12
    Last Post: 07-14-2008, 08:40 AM
  4. Backup script issues
    By SSS in forum Administrators
    Replies: 18
    Last Post: 12-03-2007, 09:56 AM

Posting Permissions

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