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 05-23-2011, 12:15 PM
Loyal Member
 
Posts: 76
Question [SOLVED] archiving Zimbra backups

What is the best way to safely archive Zimbra backups? We have both Full and Incremental Backups but we only want to save the Full Backups.
We are hoping to store the backups on a removable Windows server's hard disk if possible.
(Our Zimbra installation is on a Linux server)

What are our options? If we can't store them on an NTFS or FAT formatted drive, we"ll find another location.

Thank you in advance!

admin1
Reply With Quote
  #2 (permalink)  
Old 05-23-2011, 01:16 PM
Outstanding Member
 
Posts: 717
Default

You should be able to save them to an NFS volume without an issue.
__________________
01 Networks, LLC / Cybernetik.net
Zimbra NE and OSS Cloud Hosting
Shared Web Hosting
Consulting Services
Reply With Quote
  #3 (permalink)  
Old 05-23-2011, 01:54 PM
Loyal Member
 
Posts: 76
Default

Quote:
Originally Posted by Krishopper View Post
You should be able to save them to an NFS volume without an issue.
So, I can run "cp -R <folder with the full backups> " to a mounted NFS volume? and then, if necessary, restore them without any issues like permissions, etc?

Thanks

admin1
Reply With Quote
  #4 (permalink)  
Old 05-23-2011, 02:00 PM
Outstanding Member
 
Posts: 717
Default

Yes. You may want to do cp -Rp to preserve mode, ownership, and timestamps as well.
__________________
01 Networks, LLC / Cybernetik.net
Zimbra NE and OSS Cloud Hosting
Shared Web Hosting
Consulting Services
Reply With Quote
  #5 (permalink)  
Old 05-24-2011, 10:13 AM
Advanced Member
 
Posts: 212
Default

You can also send the backups to a CIFS share using Samba. This is how mine is setup. I created a Samba mount to my Windows File Server that has my backup hardware attached and configured Zimbra to dump the backups on the Samba mount.
Reply With Quote
  #6 (permalink)  
Old 05-24-2011, 10:47 AM
Loyal Member
 
Posts: 76
Question clarification

Thank you Krishopper and xeon.

To Krishopper:
The space that the backups occupy in the source location seem much smaller than in the target (copied-to) location. Am I missing something?

To xeon:
Have you successfully restored from the backups that have been placed on a cifs share?
Since you backup directly to that share, I assume the time stamps are OK, but how do you manage the permissions and anything else that your Linux Zimbra host might require?
Reply With Quote
  #7 (permalink)  
Old 05-24-2011, 12:02 PM
Advanced Member
 
Posts: 212
Default

Quote:
Originally Posted by admin1 View Post
To xeon:
Have you successfully restored from the backups that have been placed on a cifs share?
Since you backup directly to that share, I assume the time stamps are OK, but how do you manage the permissions and anything else that your Linux Zimbra host might require?
Yes I have successfully restored a backup via the share. I setup a ZimbraBackup user on my File Server (AD). Then used that username and password to mount the Samba share and ensure the folder I mount to the ZimbraBackup user has full control. I have not run into any permission issues with Zimbra or my file server.
Reply With Quote
  #8 (permalink)  
Old 05-24-2011, 12:42 PM
Loyal Member
 
Posts: 76
Default

Thanks again xeon.
Reply With Quote
  #9 (permalink)  
Old 08-05-2011, 06:08 PM
Moderator
 
Posts: 1,432
Default

Quote:
Originally Posted by admin1 View Post
Thank you Krishopper and xeon.

To Krishopper:
The space that the backups occupy in the source location seem much smaller than in the target (copied-to) location. Am I missing something?
Since you're running ZCS 5, your backups default to using hard links for data that is redundant between full backups. If you use cp to copy individual full backups, you break the hard links and the data takes up a lot more space.

If you want to preserve the hard links then you need to use both a replication method and a target storage system that supports them. E.g. rsync -aH to a *nix system. cp --preserve=links should also do the trick but it may use more bandwidth (depending on what's already sitting on the target). On the other hand cp --preserve=links may be faster (depending on what's already sitting on the target, and bandwidth) and it'll probably use less memory.

Not sure about CIFS shares or the underlying filesystem.

See also: Ajcody-Backup-Restore-Issues - Zimbra :: Wiki
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
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.