F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Command Reference-6PW100
63
• If a low-speed storage medium (such as a Flash) is used, archive the running configuration manually,
or configure automatic archiving with an interval longer than 1440 minutes (24 hours).
• If a high-speed storage medium (such as a CF card) is used and the device configuration changes
frequently, set a shorter saving interval.
• Change the archiving interval depending on the amount of available storage space. The shorter the
interval, the more free storage space is required.
Examples
# Configure the system to archive the running configuration every 60 minutes.
<Sysname> system-view
[Sysname] archive configuration interval 60
Info: Archive files will be saved every 60 minutes.
Related commands
archive configuration location
archive configuration location
Use archive configuration location to configure the directory and file name prefix for archiving the
running configuration.
Use undo archive configuration location to restore the default.
Syntax
archive configuration location directory filename-prefix filename-prefix
undo archive configuration location
Default
No configuration archive directory or configuration archive file name prefix has been set.
Views
System view
Default command level
3: Manage level
Parameters
directory: Specifies a configuration archive directory, a case-insensitive string of 1 to 63 characters. The
directory must take the format storage-media-name:/folder-name. This directory must already exist on the
device. Otherwise, the configuration fails.
filename-prefix: Specifies a file name prefix for configuration archives, a case-insensitive string of 1 to 30
characters. Valid characters are letters, digits, underscores (_), and hyphens (-).
Usage guidelines
Before archiving the running configuration, either manually or automatically, you must configure a
directory and file name prefix for configuration archives.
Configuration archives take the file name format prefix_serial number.cfg, for example,
20080620archive_1.cfg and 20080620archive_2.cfg. The serial number is automatically assigned from
1 to 1000, increasing by 1. After the serial number reaches 1000, it restarts from 1.
After you change the file directory or file name prefix, or reboot the device, the old configuration archives
are regarded as common configuration files, the configuration archive counter resets, and the display