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-21-2009, 09:02 AM
Special Member
 
Posts: 101
Default Getting backup to network drive

Can someone point me to the steps to take, in order to get the Zimbra nightly backup copied off the DMZ over to a network drive (Windows server) inside the LAN?
Running 5.0.4_GA_2101.UBUNTU6 UBUNTU6 NETWORK edition.

Thanks,
Rickvv
Reply With Quote
  #2 (permalink)  
Old 09-25-2009, 07:52 AM
Advanced Member
 
Posts: 191
Default

I am looking for the same thing... I will follow this thread
Reply With Quote
  #3 (permalink)  
Old 09-25-2009, 08:46 AM
Advanced Member
 
Posts: 192
Default

I suggest you mount the windows share on your Zimbra server and do an rsync.

Add the Windows share to your /etc/fstab:
Code:
//server/share /mnt/backup cifs credentials=/root/mount.c,rw 0 0
contents of /root/mount.c (chmod 600 this file!)
Code:
username=yourUserName
password=yourPassword
And rsync the lot:
Code:
rsync /opt/zimbra/backup /mnt/backup/
When using a linux box as the rsync target, use:
Code:
rsync -aH /opt/zimbra/backup /mnt/backup/
to keep permissions and hardlinks intact

(untested, no warranties, just a suggestion ;-) )

Last edited by Hivos; 09-26-2009 at 04:21 AM..
Reply With Quote
  #4 (permalink)  
Old 09-25-2009, 09:17 AM
Moderator
 
Posts: 927
Default

That seems like a perfectly fine suggestion, I'd try to get a linux server running in the lan to take the files instead of a windows box, but that's just me.

I'm concerned that there could be an issue copying this to an NTFS formatted drive though, due to a loss of permissions.

I'd suggest running a small scrict to tar the backup into a single file, and then moving that file.
Reply With Quote
  #5 (permalink)  
Old 09-26-2009, 04:19 AM
Advanced Member
 
Posts: 192
Default

Quote:
Originally Posted by Dirk View Post
That seems like a perfectly fine suggestion, I'd try to get a linux server running in the lan to take the files instead of a windows box, but that's just me.

I'm concerned that there could be an issue copying this to an NTFS formatted drive though, due to a loss of permissions.

I'd suggest running a small scrict to tar the backup into a single file, and then moving that file.
I totally agree... on a linux box, use "rsync -aH" instead of a plain "rsync", this keeps permissions intact as well as all the hardlinks, which will save you tons of storage.
Reply With Quote
  #6 (permalink)  
Old 10-02-2009, 08:32 PM
Intermediate Member
 
Posts: 19
Default I concur

I know this is an old thread, but I just wanted to say that (while my FOSS install was working) I followed the backup scripts here:http://wiki.zimbra.com/index.php?tit..._Script_Method

The only thing I changed was that I'm not FTP'ing the backup archive anywhere, but rather simply cp'ing it out to a mounted NTFS network share. It works/worked perfectly and has been tested with a recent restore, so I know it's solid.
Reply With Quote
  #7 (permalink)  
Old 10-05-2009, 02:53 AM
Advanced Member
 
Posts: 192
Default

Thanks for sharing your experiences. However, this thread was about a network edition backup, which differs quite a lot from the OS procedure you mentioned. The NE edition backs up using hardlinks to point to the same data in different points in time. This saves tons of storage which is especially useful for large deployments.
Reply With Quote
  #8 (permalink)  
Old 10-05-2009, 07:27 AM
Intermediate Member
 
Posts: 19
Default

Hivos,

I understood that from the get go. I guess I stressed the wrong point, or you read my addition to the thread wrong; I wasn't trying to stress the backup procedure, as pertinent to the FOSS edition, but rather that creating an archive and then copying that out to a CIFS share works nicely for me. That's it.
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.