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

m (1 revision imported: Zimbra NG)
 
Line 1: Line 1:
<div class="col-md-12"><br></div>
+
#REDIRECT [[Zimbra_NG_Modules/Zimbra_NG_Backup/Smartscan]]
<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"> Smartscan</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 - Smartscan</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 - Smartscan</h5>
 
                        <div class="row">
 
== What is the Smart Scan? ==
 
The Smart Scan is the main coherency check for the health of your backup system.
 
It's "Smart" because it operates only on accounts modified since the last SmartScan, hence improving system performance and decreasing scan time exponentially.
 
 
 
By default a SmartScan is scheduled to be executed each night (if "Scan Operation Scheduling" is enabled in the Zimbra NG Backup section of the Zimbra Next Generation Modules Administrative Zimlet).
 
Once a week, on a day set by the user, a Purge is executed together with the SmartScan to clear Zimbra NG Backup's datastore from any deleted item that exceeded the retention period.
 
 
 
== How does it work? ==
 
The Zimbra NG Backup engine scans all the items on the Zimbra Datastore looking for items modified after the last SmartScan updating any outdated entry and creating any item not yet present in the backup while flagging as deleted any item found in the backup and not in the Zimbra Datastore.
 
 
 
Finally, it updates all Configuration metadata in the backup, so that Domains, Accounts, COSs and Server Configurations are stored.
 
 
 
== When is a Smart Scan executed? ==
 
* When the Zimbra NG Backup module is started.
 
* Daily, if the Scan Operation Scheduling is enabled in the Zimbra Next Generation Modules Administration Zimlet.
 
* When the Real Time Scanner is re-enabled via the Zimbra Next Generation Modules Administration Zimlet after being previously disabled.
 
 
 
== Running a Smart Scan ==
 
=== Starting the scan via the Zimbra Next Generation Modules Administration Zimlet ===
 
 
 
* Open 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 "Run Smartscan"
 
 
 
 
 
=== Starting the scan via the Zimbra Next Generation Modules CLI ===
 
To start a FullScan via the Zimbra Next Generation Modules CLI the "doSmartScan" command is available
 
<pre><nowiki>
 
Syntax:
 
  zxsuite backup doSmartScan [attr1 value1 [attr2 value2...]]
 
 
 
 
 
PARAMETER LIST
 
 
 
NAME                TYPE                 
 
notifications(O)    Email Address[,..]   
 
 
 
(M) == mandatory parameter, (O) == optional parameter
 
 
 
Usage example:
 
 
 
zxsuite backup dosmartscan notifications user1@example.com,user2@example.com
 
Performs a smart scan and sends notifications to user1@example.com and user2@example.com
 
</nowiki></pre>
 
 
 
=== Checking the status of a running scan ===
 
To check the status of a running scan 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 13:11, 29 November 2017

Jump to: navigation, search