fmps scan auto-restart

Prev Next

Enables the File Protect appliance to restart scans that have been paused because a storage was dismounted.

When a storage is dismounted, the output of the command show fmps scan-id <id> contains the message State: Paused Description: Scan paused by system in the Scan ID field. If automatic scan restart is enabled, once the storage is mounted, the scan resumes automatically.

You can disable automatic restart of scans to be able to start scans from scratch when storages are mounted.

Syntax

[no] fmps scan auto-restart

Parameters

[no]

Use the no form of this command to disable the automatic restart of scans.

Example

The following example enables automatic restart of scans.

hostname (config) # fmps scan auto-restart

When the above command is executed and a storage is dismounted, the scan is paused:

hostname (config) # show fmps scan-id scanExample
Scan ID: scanExample (State: Paused Description: Scan paused by system)
Scan type: Continuous
Scan name: nfs1
Share name: nfs1
Share URL: shareURL
Filetype whitelist: -
Selected filetypes: -
Quarantine repository name: -
Good repository name: -
Unknown repository name: -
Whitelisted repository name: -
Only files modified: -
Advanced:
Timestamp type: change
Rescan: false
Started at: 2021-01-11 12:25:44
Ended at: -
Duration: -
Total number of files in the share: 102 (Scannable 102)
Scanned: 102 (0.2 files/sec => ~17768 files/day)
Analyzed: 93 (~91.2% of the share)
Good: 100 (~98.0% of the share)
Unknown: 2 (~2.0% of the share)
Whitelisted: 0 (~0.0% of the share)
Duplicates: 7 (~6.9% of the share)
Malicious: 0 (~0.0% of the share)

When the storage is mounted again, the scan restarts from where it was paused:

hostname (config) # show fmps scan-id scanExample
Scan ID: scanExample (State: Running Description: Scan running)
Scan type: Continuous
Scan name: nfs1
Share name: nfs1
Share URL: shareURL
Filetype whitelist: -
Selected filetypes: -
Quarantine repository name: -
Good repository name: -
Unknown repository name: -
Whitelisted repository name: -
Only files modified: -
Advanced:
Timestamp type: change
Rescan: false
Started at: 2021-01-11 12:25:44
Ended at: -
Duration: -
Total number of files in the share: 102 (Scannable 102)
Scanned: 102 (0.2 files/sec => ~17768 files/day)
Analyzed: 93 (~91.2% of the share)
Good: 100 (~98.0% of the share)
Unknown: 2 (~2.0% of the share)
Whitelisted: 0 (~0.0% of the share)
Duplicates: 7 (~6.9% of the share)
Malicious: 0 (~0.0% of the share)

The following example disables automatic restart of scans.

hostname (config) # no fmps scan auto-restart

User role

Admin

Command mode

Config

Supported appliances

This command is supported on the following appliances running the specified releases or later:

  • File Protect: Release 9.0.2