Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Backing up Zimbra to a Windows XP machine?

  1. #1
    tezarin is offline Senior Member
    Join Date
    Dec 2008
    Posts
    61
    Rep Power
    6

    Default Backing up Zimbra to a Windows XP machine?

    Hi all,

    I came across this instruction Backing up and restoring Zimbra (Open Source Version) - Zimbra :: Wiki
    and would like to backup my Zimbra mail server (it's a CentOS machine).

    I have WinSCP installed on my Windows XP machine and can get to the mail server remotely. I purchased a 500GB external hard drive and connected it to my Windows machine (drive H). Now my question is can I copy the Zimbra directory to my H drive via Win SCP?

    Thanks in advance

  2. #2
    RyecoAaron is offline Senior Member
    Join Date
    Nov 2005
    Location
    Beloit, Wisconsin
    Posts
    71
    Rep Power
    9

    Default

    Not a good idea. Symlinks and permissions would be messed up. If you tar'd up the directory and copied to XP, you would be fine.

  3. #3
    tezarin is offline Senior Member
    Join Date
    Dec 2008
    Posts
    61
    Rep Power
    6

    Default

    Thanks RyecoAaron,

    1) Should I tar the /opt/zimbra directory or other folders as well?

    2) Can I perform this while Zimbra is running or that will affect my users?

    Thanks

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    Quote Originally Posted by tezarin View Post
    1) Should I tar the /opt/zimbra directory or other folders as well?
    No other folders should be needed.

    Quote Originally Posted by tezarin View Post
    2) Can I perform this while Zimbra is running or that will affect my users?
    No you can't.

    There are many backup scripts and articles in the forums and wiki, I'd suggest you take a look at those and see what's necessary to create a correct backup that can be restored. When you've created the backup the don't forget to do a test restore (as many times as you need) so you know how to do now rather in an emergency (and also document your procedure for the backup/restore).
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    tezarin is offline Senior Member
    Join Date
    Dec 2008
    Posts
    61
    Rep Power
    6

    Default

    Thanks Bill, I've been reading up on this for about a week now. Came across this article: Backing up and restoring Zimbra (Open Source Version) - Zimbra :: Wiki

    Is it easier to do a simple cp like discussed here: http://wiki.zimbra.com/wiki/Open_Sou...ckup_Procedure or to follow the script?

    I have another box which can see the mail server on the network and was planning to backup the mail server to that box. What I was looking for was a step by step (and easier to understand) guide on how to run those script. Thanks
    Last edited by tezarin; 10-16-2012 at 08:52 AM.

  6. #6
    Paul Csiki is offline Active Member
    Join Date
    Apr 2012
    Posts
    43
    Rep Power
    3

    Default

    As far as I know you don't want to touch the files while zimbra is running because of lock files and data corruption. You can tar it when it's offline with no problems.

  7. #7
    tezarin is offline Senior Member
    Join Date
    Dec 2008
    Posts
    61
    Rep Power
    6

    Default

    Thanks. I just checked and looks like the size of the /opt/zimbra folder is 80GB.

    Should I simply copy the directory to the backup machine or use the script? As I mentioned above, there are several ways to do this, am looking for a more step by step guideline which is supported and tried before. Don't want to mess anything up.

    Also, does anyone know how long does it take for the 80GB to get copied to another machine on the same network?

    Thanks

  8. #8
    ccelis5215 is offline Elite Member
    Join Date
    Jun 2011
    Location
    Caracas Venezuela
    Posts
    461
    Rep Power
    4

    Default

    Quote Originally Posted by tezarin View Post
    Thanks. I just checked and looks like the size of the /opt/zimbra folder is 80GB.

    Should I simply copy the directory to the backup machine or use the script? As I mentioned above, there are several ways to do this, am looking for a more step by step guideline which is supported and tried before. Don't want to mess anything up.

    Also, does anyone know how long does it take for the 80GB to get copied to another machine on the same network?

    Thanks
    tezarin, donīt get me wrong, but as always, it just related to your network infraestructure.

    Take your time, do your tests and make a decision.

    ccelis

  9. #9
    RyecoAaron is offline Senior Member
    Join Date
    Nov 2005
    Location
    Beloit, Wisconsin
    Posts
    71
    Rep Power
    9

    Default

    This is what I do which minimizes downtime and it won't matter how long it takes to copy the backup to another computer:

    - rsync the zimbra directory while it is running to another location on the same server
    - stop zimbra
    - rsync --delete the zimbra directory to the same location used in the first step. This makes sure to backup the locked/changed files which is very important!
    - start zimbra
    - tar the location from the first step
    - copy tar file to backup computer

  10. #10
    tezarin is offline Senior Member
    Join Date
    Dec 2008
    Posts
    61
    Rep Power
    6

    Default

    Quote Originally Posted by RyecoAaron View Post
    This is what I do which minimizes downtime and it won't matter how long it takes to copy the backup to another computer:

    - rsync the zimbra directory while it is running to another location on the same server
    - stop zimbra
    - rsync --delete the zimbra directory to the same location used in the first step. This makes sure to backup the locked/changed files which is very important!
    - start zimbra
    - tar the location from the first step
    - copy tar file to backup computer
    This sounds like a great solution. Do you happen to have a step by step manual on how to use the rsync and zimbra together? I've never used rsync before...

    Edit - Also, can someone please recommend a good backup machine? What would the specs be? (Ram, hard drive, etc.)

    Thanks
    Last edited by tezarin; 10-18-2012 at 09:59 AM.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 07-07-2012, 04:05 AM
  2. backing up zimbra OSE
    By ben1967 in forum Administrators
    Replies: 2
    Last Post: 02-07-2012, 09:48 AM
  3. Backups on a Windows Machine
    By danny.sierra@omtech.net in forum Administrators
    Replies: 0
    Last Post: 11-11-2008, 07:18 AM
  4. Trouble installing on Windows XP machine
    By 8ightlegs in forum Installation Help
    Replies: 2
    Last Post: 06-14-2008, 06:53 AM
  5. Replies: 2
    Last Post: 05-30-2008, 07:24 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
  •