Results 1 to 6 of 6

Thread: Zimbra backup procedure

  1. #1
    aldennis is offline Senior Member
    Join Date
    Feb 2009
    Location
    Manila, Philippines
    Posts
    66
    Rep Power
    6

    Default Zimbra backup procedure

    Hi,

    Is it possible just to copy and paste the zcs folder in /opt/zimbra to an attached external drive. What I mean is, our zimbra server has the ubuntu-desktop installed. After performing "zmcontrol stop" could we just do the mouse clicks instead of running the script described in here
    Open Source Edition Backup Procedure - Zimbra :: Wiki.

    I'm very new to Linux and my only encounter with it is when I install ZCS.

    Were running ZCS 6.04 open source in Ubuntu 8.04 guest in vmware server 2.0
    Thanks.

  2. #2
    Hivos's Avatar
    Hivos is offline Advanced Member
    Join Date
    Aug 2009
    Location
    The Hague -- The Netherlands
    Posts
    201
    Rep Power
    5

    Default

    As long as you have a copy of the complete /opt/zimbra folder, you have a complete backup of your data. You may want to consider diving a bit deeper into Linux though... e.g. setting up a cronjob will save you a lot of time compared to repeatedly dragging&dropping a folder manually...

  3. #3
    emmaylots is offline Loyal Member
    Join Date
    May 2008
    Location
    Nigeria
    Posts
    92
    Rep Power
    6

    Default

    In order to do that, you may have to enable the root account and log in as root. If I remember correctly there is a backup application on Ubuntu desktop, you can use that too, just make sure it runs as root, else it won't be able to copy some files due to permissions.

  4. #4
    aldennis is offline Senior Member
    Join Date
    Feb 2009
    Location
    Manila, Philippines
    Posts
    66
    Rep Power
    6

    Default

    Ok, maybe I could do a script to shutdown zimbra then copy /opt/zimbra to an external hdd.

    Does NTFS partition does not support symlink from ext3? I've encoutered this error while copying /opt/zimbra to a NTFS formatted external drive. Maybe I should format the external drive to ext3. Is that correct?

    Thanks for your info

  5. #5
    aldennis is offline Senior Member
    Join Date
    Feb 2009
    Location
    Manila, Philippines
    Posts
    66
    Rep Power
    6

    Default

    Quote Originally Posted by Hivos View Post
    As long as you have a copy of the complete /opt/zimbra folder, you have a complete backup of your data. You may want to consider diving a bit deeper into Linux though... e.g. setting up a cronjob will save you a lot of time compared to repeatedly dragging&dropping a folder manually...
    Is that cron job a script that I could write on any text editor in Linux then allow the file to execute as a program by chmod or I should download a program to run the script?

  6. #6
    ewilen's Avatar
    ewilen is offline Moderator
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    8

    Default

    Don't use NTFS as it will not support hard links. Symlinks may also be an issue, not sure.

    Best method of doing the copy will probably be rsync, since it will only copy the delta (changes) instead of having to recopy everything. There are also utilities (some based on rsync) that will save individual deltas so that you can restore to a specific backup.

    However, if you have the luxury of being able to shut down Zimbra and only needing to restore the entire server to a periodic snapshot, then lvm and/or virtualization would be worth your while to investigate. In fact I've seen suggestions on the forums that there are ways of using lvm and virtualization that don't even require shutting down the services, but I haven't personally had time to investigate. See Zimbra OSE backup without stopping the services and Hot Backup Community Edition w/ DRBD.

    EDIT: Also worth considering, VMWare Fault Tolerance, as mentioned here. But it's not free.
    Last edited by ewilen; 07-09-2010 at 12:36 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Cleanup after many upgrades
    By tobru in forum Installation
    Replies: 1
    Last Post: 12-23-2007, 09:21 AM
  2. zmtlsctl give LDAP error
    By sourcehound in forum Administrators
    Replies: 5
    Last Post: 03-11-2007, 03:48 PM
  3. 4.5 Upgrade failure
    By brained in forum Installation
    Replies: 9
    Last Post: 03-03-2007, 03:30 PM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM
  5. Mail logs
    By Rick Baker in forum Installation
    Replies: 8
    Last Post: 01-17-2006, 04:33 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
  •