Zimbra Next Generation Modules/Zimbra NG Backup/Purge

Revision as of 13:11, 30 August 2017 by Jorge de la Cruz (talk | contribs) (1 revision imported: Zimbra NG)



Zimbra NG Backup - Purge

Zimbra NG Backup - Purge

What is the Backup Purge?

The Backup Purge is a cleanup operation that removes from the Backup Path any deleted item which exceeded the retention time defined by the "Data Retention Policy".

How does it work?

The Purge engine scans through the metadata of all deleted items, and removes any item whose last update (deletion) timestamp is higher than the retention time.

Should an item BLOB still be referenced by one or more valid metadata files - due to Zimbra NG Backup's built-in deduplication - the BLOB itself will not be deleted.

Zimbra Next Generation Modules comes with Postfix Customizations backed up by Zimbra NG Backup also follow the backup path's purge policies: this can be changed in the "Zimbra NG Backup" section of the Zimbra Next Generation Modules Administration Zimlet by unchecking the "Purge old customizations" checkbox.

When is a Backup Purge executed?

  • Weekly, if the Scan Operation Scheduling is enabled in the Zimbra Next Generation Modules Administration Zimlet.
  • When manually started either via the Zimbra Next Generation Modules Administration Console or the Zimbra Next Generation Modules CLI.

"Infinite" retention

Should the "Data Retention Policy" be set to "0", meaning infinite retention, the Backup Purge will immediately exit since no deleted item will ever exceed the retention time.

Running a Backup Purge

Starting the Backup Purge via the Zimbra Next Generation Modules Administration Zimlet

  • Click the Zimbra NG Backup tab (be sure to have a valid License).
  • Click the "Run Purge" button on the top-right part of the UI.

Starting the Backup Purge via the Zimbra Next Generation Modules CLI

To start a BackupPurge via the Zimbra Next Generation Modules CLI the "doPurge" command is available

Syntax:
   zxsuite backup doPurge [attr1 value1 [attr2 value2...]]


PARAMETER LIST

NAME              TYPE      
purgeDays(O)      String    
backup_path(O)    Path      

(M) == mandatory parameter, (O) == optional parameter

Usage example:

zxsuite backup dopurge purgeDays 30 backup_path /opt/zimbra/backup/backup_name

Checking the status of a running Backup Purge

To check the status of a running Purge via the Zimbra Next Generation Modules CLI the "monitor" command is available

Syntax:
   zxsuite backup monitor {operation_uuid} [attr1 value1 [attr2 value2...]]


PARAMETER LIST

NAME                 TYPE      
operation_uuid(M)    Uiid      
operation_host(O)    String    

(M) == mandatory parameter, (O) == optional parameter

Zimbra Next Generation Modules

logo.png

Latest Version: 8.8

Zimbra Next Generation Modules Resources

Here you can find useful resources for your Zimbra NG Modules



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search