Results 1 to 4 of 4

Thread: NE - moving backup partition - options?

  1. #1
    Join Date
    Dec 2006
    Posts
    184
    Rep Power
    8

    Default NE - moving backup partition - options?

    We currently have about 10K accounts using 900GB in /opt/zimbra/backup. We need to migrate this to a new storage. We are using hard links as in previous versions. Transferring via rsync is taking several days and rsync doesn't seem to like when new nightly backups run. So one option would be to disable backups until everything gets copied.

    Another option I thought about would be to mount the new storage under /opt/zimbra/backup and the old storage under another directory. But would I be able to switch between the two directories if I need to restore from an older backup set?

    TIA.

  2. #2
    Join Date
    Apr 2006
    Posts
    111
    Rep Power
    9

    Default

    Quote Originally Posted by su_A_ve View Post
    would I be able to switch between the two directories if I need to restore from an older backup set?
    Affirmative. I have done that before. It is safe to mount the backups to another folder and in case you need to restore an account you can just set that folder in 'path to the backup target' and click 'Find backups' on Admin/Backups.

  3. #3
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    I have big slow storage mounted to /opt/zimbra/backup/archive. Then I have disabled deletes, and setup a crontab to move backups older than 30 days to the archive folder

    Code:
    0 0 * * * find /opt/zimbra/backup/sessions/ -maxdepth 1 -mtime +31 -exec mv {} /
    opt/zimbra/backup/archive/ \; >/dev/null 2>&1
    then if need be i can have quick access to those backups for restores older than 30 days

  4. #4
    Join Date
    Dec 2006
    Posts
    184
    Rep Power
    8

    Default

    Quote Originally Posted by jerryboi View Post
    Affirmative. I have done that before. It is safe to mount the backups to another folder and in case you need to restore an account you can just set that folder in 'path to the backup target' and click 'Find backups' on Admin/Backups.
    So, I tested this on our dev environment. Here are the steps:

    * Renamed /opt/zimbra/backup to /opt/zimbra/oldbackup
    * Created a new directory called /opt/zimbra/backup with the same permissions as above
    * Ran a full backup
    * Changed the 'Find Backups' location and it properly identified the old backups
    * Attempted to restore an account from /opt/zimbra/oldbackup and got the following error:

    Code:
    Backup target is invalid. Please check the path to the backup target. Message: Invalid backup target: Backup target /opt/zimbra/oldbackup does not exist Error code: backup.INVALID_BACKUP_TARGET Method: [unknown] Details:soap:Sender
    I submitted a ticket - but any ideas?

Similar Threads

  1. Multistage backup options
    By bens750 in forum Administrators
    Replies: 0
    Last Post: 03-22-2012, 01:48 PM
  2. Changing backup options for NE 5.06
    By rrust in forum Administrators
    Replies: 2
    Last Post: 08-21-2008, 09:23 AM
  3. Moving /opt/zimbra to another partition.
    By highpointe in forum Installation
    Replies: 8
    Last Post: 07-14-2008, 05:37 PM
  4. Backup Options missing?
    By InnerwerX in forum Installation
    Replies: 2
    Last Post: 02-11-2008, 01:07 PM
  5. Replies: 12
    Last Post: 11-08-2007, 08:07 PM

Posting Permissions

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