[SOLVED] archiving Zimbra backups

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
12238admin1
Advanced member
Advanced member
Posts: 76
Joined: Fri Sep 12, 2014 10:46 pm

[SOLVED] archiving Zimbra backups

Postby 12238admin1 » Mon May 23, 2011 2:15 pm

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


Krishopper
Outstanding Member
Outstanding Member
Posts: 769
Joined: Fri Sep 12, 2014 10:23 pm

[SOLVED] archiving Zimbra backups

Postby Krishopper » Mon May 23, 2011 3:16 pm

You should be able to save them to an NFS volume without an issue.
12238admin1
Advanced member
Advanced member
Posts: 76
Joined: Fri Sep 12, 2014 10:46 pm

[SOLVED] archiving Zimbra backups

Postby 12238admin1 » Mon May 23, 2011 3:54 pm

[quote user="Krishopper"]You should be able to save them to an NFS volume without an issue.[/QUOTE]

So, I can run "cp -R " to a mounted NFS volume? and then, if necessary, restore them without any issues like permissions, etc?
Thanks
admin1
Krishopper
Outstanding Member
Outstanding Member
Posts: 769
Joined: Fri Sep 12, 2014 10:23 pm

[SOLVED] archiving Zimbra backups

Postby Krishopper » Mon May 23, 2011 4:00 pm

Yes. You may want to do cp -Rp to preserve mode, ownership, and timestamps as well.
xeon
Outstanding Member
Outstanding Member
Posts: 208
Joined: Fri Sep 12, 2014 11:50 pm

[SOLVED] archiving Zimbra backups

Postby xeon » Tue May 24, 2011 12:13 pm

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.
12238admin1
Advanced member
Advanced member
Posts: 76
Joined: Fri Sep 12, 2014 10:46 pm

[SOLVED] archiving Zimbra backups

Postby 12238admin1 » Tue May 24, 2011 12:47 pm

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? :p
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?
xeon
Outstanding Member
Outstanding Member
Posts: 208
Joined: Fri Sep 12, 2014 11:50 pm

[SOLVED] archiving Zimbra backups

Postby xeon » Tue May 24, 2011 2:02 pm

[quote user="12238admin1"]

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?[/QUOTE]

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.
12238admin1
Advanced member
Advanced member
Posts: 76
Joined: Fri Sep 12, 2014 10:46 pm

[SOLVED] archiving Zimbra backups

Postby 12238admin1 » Tue May 24, 2011 2:42 pm

Thanks again xeon.
ewilen
Elite member
Elite member
Posts: 1429
Joined: Fri Sep 12, 2014 11:34 pm

[SOLVED] archiving Zimbra backups

Postby ewilen » Fri Aug 05, 2011 8:08 pm

[quote user="12238admin1"]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? :p[/QUOTE]
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

Return to “Administrators”

Who is online

Users browsing this forum: jeastman and 13 guests