Results 1 to 9 of 9

Thread: [SOLVED] archiving Zimbra backups

  1. #1
    Join Date
    Oct 2007
    Location
    Massachusetts
    Posts
    76
    Rep Power
    8

    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

  2. #2
    Join Date
    Dec 2006
    Location
    Minneapolis MN
    Posts
    777
    Rep Power
    9

    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

  3. #3
    Join Date
    Oct 2007
    Location
    Massachusetts
    Posts
    76
    Rep Power
    8

    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

  4. #4
    Join Date
    Dec 2006
    Location
    Minneapolis MN
    Posts
    777
    Rep Power
    9

    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

  5. #5
    Join Date
    Oct 2008
    Posts
    212
    Rep Power
    7

    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.

  6. #6
    Join Date
    Oct 2007
    Location
    Massachusetts
    Posts
    76
    Rep Power
    8

    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?

  7. #7
    Join Date
    Oct 2008
    Posts
    212
    Rep Power
    7

    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.

  8. #8
    Join Date
    Oct 2007
    Location
    Massachusetts
    Posts
    76
    Rep Power
    8

    Default

    Thanks again xeon.

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

    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

Similar Threads

  1. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 09:55 AM
  2. Can't start Zimbra!
    By zibra in forum Administrators
    Replies: 5
    Last Post: 03-22-2007, 12:34 PM
  3. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  4. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 01:00 PM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 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
  •