< Home

url-filter cache backup-period backup-time

Function

The url-filter cache backup-period backup-time command sets the interval and time for the system to back up cached predefined URL categories to the predefined URL category database.

The undo url-filter cache backup-period command restores the backup cycle to the default value.

Format

url-filter cache backup-period backup-period backup-time backup-time

undo url-filter cache backup-period

Parameters

Parameter Description Value
backup-period Indicates the backup cycle. The value is an integer ranging from 1 to 30, in days. The default value is 7.
backup-time Indicates the backup time. The value is an integer ranging from 0 to 23. The default value is 0.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The function takes effect only after the URL remote query license is valid and related component packages are loaded dynamically. For details about the component package, see Dynamic Loading.

Cached predefined URL categories can be periodically backed up to the predefined URL category database. When the device restarts, it automatically loads the latest predefined URL category database file, reducing self-learning workloads and improving detection efficiency.

Example

# Set the backup interval to 2 days and the backup time to 12:00.

<sysname> system-view
[sysname] url-filter cache backup-period 2 backup-time 12
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >