Results 1 to 6 of 6

Thread: Store Zimbra Backups Off Server

  1. #1
    Join Date
    May 2011
    Posts
    28
    Rep Power
    4

    Default Store Zimbra Backups Off Server

    I've got a client running Zimbra Network Edition v6.0.13 on Ubuntu 8.04.

    They're interested in freeing up extra space on the server, and ideally want to do this by moving the Zimbra server backups off of the server and onto another server, ideally via a mounted network drive. Is this possible?

  2. #2
    Join Date
    Oct 2008
    Posts
    212
    Rep Power
    6

    Default

    Quote Originally Posted by eatickets View Post
    I've got a client running Zimbra Network Edition v6.0.13 on Ubuntu 8.04.

    They're interested in freeing up extra space on the server, and ideally want to do this by moving the Zimbra server backups off of the server and onto another server, ideally via a mounted network drive. Is this possible?
    Yes very much so. You can symbolic link the /opt/zimbra/backups or change the backup location in the admin console. I current have my backups going to a Samba share, works like a charm.

  3. #3
    Join Date
    May 2011
    Posts
    28
    Rep Power
    4

    Default

    My apologies, I mis-spoke: are there any solutions aside from a network-mounted backup? (i.e. an FTP solution or a Zimbra plugin that will let us save the backups off-server without forcing us to keep the backup server space connected regularly) The solution must be integrated with Zimbra in such a way that if the backup drive space is not connected, Zimbra will still function regularly and not create a new full backup just because it can't find the full backup it just moved to the remote storage space. My client doesn't want NFS or external physical drive options.

  4. #4
    Join Date
    Apr 2008
    Location
    New Paltz, NY
    Posts
    336
    Rep Power
    7

    Default

    I don't see any way to accomplish this short of a network connected drive of some sort (NFS/iSCSI). You may be able to mount a remote drive via SSH (sshfs or something similar) but that's just the same animal with different stripes.
    ---
    Paul Chauvet
    State University of New York at New Paltz

  5. #5
    Join Date
    Dec 2009
    Location
    Michigan
    Posts
    454
    Rep Power
    5

    Default

    We use a 2TB usb mounted Western Digital drive (I have 4), when the first 1 fills up, I unmount it, tag it and send it over to our offsite facility. I then mount a fresh one, making sure the permissions are set to zimbra:zimbra and continue on.

    Our fulls are on a Saturday, so I swap out on a Friday afternoon. When I need to restore, I grab the correct drive and re-mount it.

    Works very well!

    Doug
    Ben Franklin quote:

    "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."

  6. #6
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    9

    Default

    Quote Originally Posted by eatickets View Post
    My apologies, I mis-spoke: are there any solutions aside from a network-mounted backup? (i.e. an FTP solution or a Zimbra plugin that will let us save the backups off-server without forcing us to keep the backup server space connected regularly) The solution must be integrated with Zimbra in such a way that if the backup drive space is not connected, Zimbra will still function regularly and not create a new full backup just because it can't find the full backup it just moved to the remote storage space. My client doesn't want NFS or external physical drive options.
    You can rsync your backups to another location. That should fill the bill.

    Another possibility would be a network backup solution. We use Retrospect because we already owned it and it is hard-link-aware, which is useful when you do backups using --noZip. See also Ajcody-Backup-Restore-Issues - Zimbra :: Wiki

    Basically you would still do your backup to the local drive, but you could set your deletion horizon to a shorter period--as short as one day if you don't care about hardlinking across full backups using --noZip. If you do this, though, you want to make damn sure that your rsync (or whatever) is copying each backup before it gets deleted. Probably the way to do this would be to take the backup deletion out of the zimbra crontab and instead call zmbackup -del as part of clean-up after shipping the backups to the remote storage.

    If you want to absolutely minimize the local space used by backups over any time period, then you'll need a script that only calls zmbackup when the remote storage is available. Then, if you want, you could backup directly to the remote storage. Or you could create the backup locally and then immediately rsync (etc.) it, then delete it. (zmbackup -del 0d may or may not work; if not, you can probably get away with rm -R /opt/zimbra/backup/sessions/* . But don't hold me to that.)
    Last edited by ewilen; 10-11-2011 at 08:35 AM.

Similar Threads

  1. Replies: 12
    Last Post: 03-23-2011, 09:39 PM
  2. fatal: parameter "smtpd_recipient_restrictions"
    By Robin in forum Administrators
    Replies: 8
    Last Post: 12-22-2010, 04:48 AM
  3. Replies: 31
    Last Post: 12-15-2007, 08:05 PM
  4. Replies: 22
    Last Post: 12-02-2007, 04:05 PM
  5. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 12:00 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
  •