Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-26-2011, 09:20 AM
Active Member
 
Posts: 28
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?
Reply With Quote
  #2 (permalink)  
Old 09-26-2011, 12:24 PM
Advanced Member
 
Posts: 212
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.
Reply With Quote
  #3 (permalink)  
Old 09-26-2011, 01:54 PM
Active Member
 
Posts: 28
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.
Reply With Quote
  #4 (permalink)  
Old 09-26-2011, 01:59 PM
Advanced Member
 
Posts: 178
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
Reply With Quote
  #5 (permalink)  
Old 09-27-2011, 05:19 AM
Elite Member
 
Posts: 305
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."
Reply With Quote
  #6 (permalink)  
Old 10-11-2011, 08:22 AM
Moderator
 
Posts: 1,432
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.)
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.

Last edited by ewilen; 10-11-2011 at 08:35 AM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.