Results 1 to 3 of 3

Thread: Backup purge period

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Santa Rosa. CA
    Rep Power

    Default Backup purge period

    With ZSC 5.0.x, my backups are being kept for one month, and then are auto-purged. How can this auto-purge rotation period be extended?

  2. #2
    Join Date
    May 2008
    Rep Power


    You can find information about backups here: Backup and Restore

    You can see your current backup scheme using zmschedulebackup -q.

    The f line indicates the full backups, the i the incrementals, and the d is for the deletion.

    For the time out before the deletion of the backups, you can specify either in days (d), months (m), or years (y).

    The command to change it will resemble something like this:
    zmschedulebackup -R f “0 1 * * 7” i “0 1 * * 1-6” d 7d “0 0 * * *”
    The number and letter between the d and the quotation marks (7d in the example) will specify how long before the backups will be deleted. So in your case you may want something like 2m for two months, or 1y for one year, etc.

    Note that you will need to put in the full and incremental data even if you're just changing the deletion option.

    And don't worry if you lose the default config, it's as easy as typing zmschedulebackup -D to get it back.

  3. #3
    Join Date
    Oct 2007
    Santa Rosa. CA
    Rep Power

    Default Thanks for the quick response!

    Thanks for replying to my post so quickly. Yet another reason to love Zimbra.

    I had been looking at the PDF admin guide, which showed the zmschedule backup switch, but didn't comment on how to use it. Next time I'll stick to Web documentation.

Similar Threads

  1. Replies: 658
    Last Post: 04-04-2014, 09:01 AM
  2. Per User Backup for FOSS edition
    By fdsadmin in forum Developers
    Replies: 33
    Last Post: 03-14-2013, 09:16 AM
  3. Keeping a backup server synced with live server
    By Q-Mike in forum Administrators
    Replies: 5
    Last Post: 04-11-2008, 01:40 PM
  4. [SOLVED] Backups failing, "unable to read metadata for account"
    By smcgrath1111 in forum Administrators
    Replies: 10
    Last Post: 04-10-2008, 03:15 PM
  5. FYI: ZCS NE backup to fuse/sshfs mount, worked.
    By jagipson in forum Administrators
    Replies: 0
    Last Post: 09-28-2007, 06:37 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