Zimbra NG Modules/Zimbra NG Backup/Smartscan




Zimbra NG Backup - Smartscan

Zimbra NG Backup - Smartscan

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 NG 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 NG Modules Administration Zimlet.
  • When the Real Time Scanner is re-enabled via the Zimbra NG Modules Administration Zimlet after being previously disabled.

Running a Smart Scan

Starting the scan via the Zimbra NG Modules Administration Zimlet

  • Open the Zimbra NG Modules Administration Zimlet
  • Click the Zimbra NG Backup tab (be sure to have a valid License).
  • Click "Run Smartscan"


Starting the scan via the Zimbra NG Modules CLI

To start a FullScan via the Zimbra NG Modules CLI the "doSmartScan" command is available

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

Checking the status of a running scan

To check the status of a running scan via the Zimbra NG 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 NG Modules

zimbra-logo-color.png

Latest Version: 8.8

Zimbra NG 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