Difference between revisions of "Zimbra Next Generation Modules/Zimbra NG Backup/Purge"

m (1 revision imported: Zimbra NG)
 
Line 1: Line 1:
<div class="col-md-12"><br></div>
+
#REDIRECT [[Zimbra_NG_Modules/Zimbra_NG_Backup/Purge]]
<div class="col-md-12"><br></div>
 
<ol class="breadcrumb">
 
  <li>[[Main Page|Zimbra Wiki]]</li>
 
  <li>[[Zimbra_Next_Generation_Modules]]</li>
 
  <li>[[Zimbra_NG_Backup]]</li>
 
  <li class="active"> Purge</li>
 
</ol>
 
__NOTOC__
 
<div class="col-md-12"><br /></div>
 
<div class="col-md-9">
 
    <h2 class="title-header" style="padding-bottom: 9px; border-bottom: 4px solid #0087c3;">Zimbra NG Backup - Purge</h2>
 
    <div class="col-md-12">
 
        <div class="ibox-content">
 
            <div class="post animated fadeInLeft animation-delay-8" style="padding-top:5px">
 
                <div class="panel panel-default">
 
                    <div class="panel-body">
 
                        <h5 class="post-title">Zimbra NG Backup - Purge</h5>
 
                        <div class="row">
 
== 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 [[Zimbra_Next_Generation_Modules/License Management|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
 
<pre><nowiki>
 
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
 
</nowiki></pre>
 
 
 
=== 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
 
<pre><nowiki>
 
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
 
</nowiki></pre>
 
                        </div>
 
                    </div>
 
                    <div class="col-md-9">
 
                        <div class="panel-footer">
 
                            <p><i class="fa fa-clock-o"></i> Aug 25, 2016 - [https://www.zimbra.com/email-server-software/ Know more »]</p>
 
                        </div>
 
                    </div>
 
                </div>
 
            </div>
 
        </div>
 
    </div>
 
</div>
 
<div class="col-md-3"><br /></div>
 
<div class="col-md-3">
 
    <div class="panel panel-zimbrared-light-border">
 
        <div class="panel-heading">
 
            <h3 class="panel-title"><i class="fa fa-gear pull-left"></i> Zimbra Next Generation Modules</h3>
 
        </div>
 
        <div class="panel-body">
 
            {{ZNG}}
 
        </div>
 
    </div>
 
</div>
 
<div class="col-md-3">
 
    <div class="panel panel-primary-light-border">
 
        <div class="panel-heading">
 
            <h3 class="panel-title"><i class="fa fa-info-circle pull-left"></i> Zimbra Next Generation Modules Resources</h3>
 
        </div>
 
        <div class="panel-body">
 
            {{ZNGL}}
 
        </div>
 
    </div>
 
</div>
 
<div class="clearfix"></div>
 
<div class="col-md-12"><br></div>
 
{{FH}}
 

Latest revision as of 12:53, 29 November 2017

Jump to: navigation, search