Quote:
Originally Posted by yonatan Hi Mark,
Can you please explain why you create the archive at "/root/" before copying to the Windows share. Does this have something to do with permissions? |
I just used /root as an example, but there is a permissions element to my strategy, and one other thing as well. I have not had good luck creating tar.gz files 100% reliably to network file systems directly except those presented via a good SAN. Further, local DASD is generally faster than network storage so the tar.gz file creation will happen faster, generally, on local disk.
The permissions element is that whichever user account you use to create the tar.gz file, it needs to be able to read all of /opt/zimbra/backup, and root is certainly convenient for that. You could certainly create a new Linux user account and make it a member of the zimbra group etc., that would be your call.
Quote:
Originally Posted by yonatan Also, why do you suggest that I change to full backups rather than the default setup? |
You are right that if you are tar.gz'ing the entire /opt/zimbra/backup tree every day, you don't need to change the default setup. But this means you are copying much of the same data every day. In our experience, folks who are shipping copies of /opt/zimbra/backup off-server (if not off-site) look to to avoid copying the same data twice--this becomes more of a mandate when your mail store gets larger.
So, if you create independent full backups everyday and just copy/move each day's backup off-server every day, you'll wind up with a more granular set of scripts to copy off the latest subdirectory in the sessions subdirectory. This wiki article may help:
Ajcody-Backup-Restore-Issues - Zimbra :: Wiki Quote:
Originally Posted by yonatan With regards to restoring from tape if necessary. Is it as simple as copying the archive back and overwriting /opt/zimbra/backup?
Thanks for your help
Jonathan |
It could be, but you may not want to do it that way. Take a read through Adam Cody's wiki article and that may help you sort out what strategy is best for your environment.
Hope that helps,
Mark
P.S. One other thing to keep in mind: redo logs. Full backups leave them in place. Incremental backups move them into the /opt/zimbra/backup tree.
__________________
___________________________________
L. Mark Stone, CIO
"Uptime. All the time."
477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678
proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | private cloud hosting