Results 1 to 8 of 8

Thread: Getting backup to network drive

  1. #1
    Join Date
    Nov 2006
    Location
    Minneapolis, MN
    Posts
    101
    Rep Power
    9

    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

  2. #2
    Join Date
    Jun 2009
    Posts
    195
    Rep Power
    6

    Default

    I am looking for the same thing... I will follow this thread

  3. #3
    Join Date
    Aug 2009
    Location
    The Hague -- The Netherlands
    Posts
    214
    Rep Power
    6

    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.

  4. #4
    Join Date
    May 2006
    Location
    England.
    Posts
    927
    Rep Power
    10

    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.

  5. #5
    Join Date
    Aug 2009
    Location
    The Hague -- The Netherlands
    Posts
    214
    Rep Power
    6

    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.

  6. #6
    Join Date
    Aug 2008
    Posts
    19
    Rep Power
    7

    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.

  7. #7
    Join Date
    Aug 2009
    Location
    The Hague -- The Netherlands
    Posts
    214
    Rep Power
    6

    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.

  8. #8
    Join Date
    Aug 2008
    Posts
    19
    Rep Power
    7

    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.

Similar Threads

  1. zimbra opesource Backup Script Problem!
    By tashi in forum Administrators
    Replies: 4
    Last Post: 03-31-2009, 12:49 AM
  2. Backup Drive Filling up!
    By Ericx in forum Administrators
    Replies: 1
    Last Post: 10-17-2008, 01:37 AM
  3. Restore specific network edition backup
    By sdemeyer in forum Administrators
    Replies: 5
    Last Post: 09-07-2008, 10:04 PM
  4. Change backup destination (network edition)
    By kevinpaz in forum Administrators
    Replies: 4
    Last Post: 12-13-2007, 10:42 AM
  5. Backup to External Windows drive
    By soyer38301 in forum Administrators
    Replies: 0
    Last Post: 08-01-2007, 08:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •