Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: Backup question

  1. #1
    Join Date
    Aug 2007
    Location
    Trinidad
    Posts
    416
    Rep Power
    8

    Default Backup question

    Ok guys.. never did a backup before.. been only running zimbra for a few weeks..

    I am trying to do a fullbackup of all my mail boxes using the zmbackup command.. I have read the wiki stuff on backups and i have the printed manual infront me..

    the problem i am having is when i try to run the zmbackup command as the zimbra user.. it command not found.. and i am in the /opt/zimbra folder...

    this is the command i use in my konsole as the zimbra user:
    zmbackup -i -s zimbra.chapmans.co.tt -a all -t /home/andreb/Downloads/backup

    the zimbra does have permissions to write to that folder..

    can someone tell me what i am doing wrong ??
    Last edited by drdre; 01-11-2008 at 08:04 AM.

  2. #2
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    a) That's the incremental command (-i)
    CLI - zmbackup Network Edition Only - Zimbra :: Wiki
    zmbackup -f -s zimbra.chapmans.co.tt -a all -t /home/andreb/Downloads/backup
    More importantly though:
    b) Are you on FOSS or NE?
    su - zimbra
    zmcontrol -v
    http://www.zimbra.com/forums/announc...r-profile.html
    I'm gonna guess FOSS which doesn't have automatic hot/live backups - which would explain 'command not found'
    Compare ZCS Editions
    FOSS backup method: A_Simple_Shell_Script_Method - Open Source Edition Backup Procedure - Zimbra :: Wiki

  3. #3
    Join Date
    Sep 2007
    Posts
    186
    Rep Power
    8

    Default

    For the command not found...

    What does $PATH show as the zimbra user?
    echo $PATH

    If you are using the "-t" option for zmbackup, make sure the "backup" directory is owned by the zimbra user.

  4. #4
    Join Date
    Aug 2007
    Location
    Trinidad
    Posts
    416
    Rep Power
    8

    Default

    This is the version i am running

    Release 5.0.0_GA_1869.RHEL5_64_20071218190015 RHEL5_64 FOSS edition

    will only upgrade to Ne edition when we have more than 15users (only have 9 email users atm)

  5. #5
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    (giving you the simplest aside from disk images etc):
    su - zimbra
    zmcontrol stop
    exit
    sudo -i (or whatever to become root)
    ps aux | grep zimbra (kill -9 pid# of any remaining processes)
    mkdir /zcsbackuprsync
    rsync -avHK /opt/zimbra/ /zcsbackuprsync/zimbra
    mkdir /zcsbackuptars
    tar -zcvf /zcsbackuptars/backup.zimbra.version.date.time.tar.gz -C /zcsbackup/zimbra .
    -Then you can mv or scp /zcsbackuptars/backup.zimbra.version.date.time.tar.gz /elsewhereAsDesired
    Just in case:
    -Have the old installer handy & already downloaded just in case you need to restore.
    -Use the stuff in /zcsbackuprsync/zimbra which is still there unpacked/ready to go in order to get yourself up and running faster.

  6. #6
    Join Date
    Aug 2007
    Location
    Trinidad
    Posts
    416
    Rep Power
    8

    Default

    so mmorse i can use that back i made with the points u gave me to do a restore when i upgrade to 5.0.1 ?

    hrm.. interesting..

    how come you all dont sell the NE edition in 10 user packs as well ?

  7. #7
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Link to the restore section of the FOSS method is above - but here it is again Restoring - Open Source Edition Backup Procedure - Zimbra :: Wiki
    I just condensed the A_Simple_Shell_Script_Method - Open Source Edition Backup Procedure - Zimbra :: Wiki into a few key commands.

    You 2nd question is asked a lot (and you can find a bunch of threads on this where the discussion goes on for days) the quick answer is that zimbra has setup relationships with lots of HSP's & VARS' http://www.zimbra.com/partners/
    which often buy licenses in bulk - obviously the more you buy the price goes down per account and it would be unfair to undercut those sales.

  8. #8
    Join Date
    Aug 2007
    Location
    Trinidad
    Posts
    416
    Rep Power
    8

    Default

    mmorse.. i am a bit stock with the restore..

    Would u get any errors when i do the restore ?? since its a backup of 5.0 and the zimbra that i just installed is 5.0.1 ?

    I did the backup .. uninstalled 5.0 and installed 5.0.1....
    Last edited by drdre; 01-14-2008 at 06:42 AM.

  9. #9
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    you need to install the same version as what you backed up. if you have installed a newer version it could break lots of things due to LDAP schema changes etc.

  10. #10
    Join Date
    Aug 2007
    Location
    Trinidad
    Posts
    416
    Rep Power
    8

    Default

    so how do i do upgrades then ??

    I want to upgrade from 5.0 to 5.0.1 ?

Similar Threads

  1. Hot backup question on open source?
    By cfigurelli in forum Administrators
    Replies: 7
    Last Post: 10-09-2008, 02:43 AM
  2. newbie question: weekly backup
    By maumar in forum Administrators
    Replies: 1
    Last Post: 10-23-2007, 08:12 AM
  3. FYI: ZCS NE backup to fuse/sshfs mount, worked.
    By jagipson in forum Administrators
    Replies: 0
    Last Post: 09-28-2007, 07:37 AM
  4. [SOLVED] Simple backup question...
    By dameron in forum Administrators
    Replies: 3
    Last Post: 08-25-2007, 10:36 PM
  5. Opensource backup Question.
    By nfear24 in forum Administrators
    Replies: 3
    Last Post: 04-01-2007, 12:47 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
  •