backup-periodic

Description                                                    Schedule periodic backups.

CAUTION:                                                         After configuring this feature, make sure to save the configuration. If the device resets before the configuration is saved, the backups will not occur.

Syntax                                                                  [no] backup-periodic {target [...]}
{
hour num | day num | week num}
{[
use-mgmt-port] url}

Parameter

Description

target

  Specify system to back up the following system files:

  Startup-config files

  Admin accounts and login and enable passwords

  aFleX scripts

  Class lists and black/white lists

  Scripts for external health monitors

  SSL certificates, keys, and certificate revocation lists

  If custom configuration profiles are mapped to the startup-config, they also are backed up.

  Specify log to back up the system log.

You can specify either option, or both options.

hour num |
day num |
week num

Specifies how often to perform the back ups. You can specify one of the following:

  hour num—Performs the backup each time the specified number of hours passes. For example, specifying hour 3 causes the backup to occur every 3 hours. You can specify 1-65534 hours. There is no default.

  day num—Performs the backup each time the specified number of days passes. For example, specifying day 5 causes the backup to occur every 5 days. You can specify 1-199 days. There is no default.

  week num—Performs the backup each time the specified number of weeks passes. For example, specifying week 4 causes the backup to occur every 4 weeks. You can specify 1-199 weeks. There is no default.

use-mgmt-port

Uses the management interface as the source interface for the connection to the remote device. The management route table is used to reach the device. Without this option, the ACOS device attempts to use the data route table to reach the remote device through a data interface.

url

Specifies the file transfer protocol, username (if required), and directory path.

You can enter the entire URL on the command line or press Enter to display a prompt for each part of the URL. If you enter the entire URL and a password is required, you will still be prompted for the password. The password can be up to 255 characters long.

To enter the entire URL:

  tftp://host/file

  ftp://[user@]host[:port]/file

  scp://[user@]host/file

  sftp://[user@]host/file

Default                                                                Not set

Mode                                                                   Configuration mode

Usage                                                                  If the ACOS device is a member of an aVCS virtual chassis, use the device-context com­mand to specify the device in the chassis to which to apply this command.

Example                                                            The following commands schedule weekly backups of the entire system, verify the configu­ration, and save the backup schedule to the startup-config:

ACOS(config)#backup-periodic system week 1 ftp://admin2@10.10.10.4/weekly-sys-backup

Password []?<characters not shown>

Do you want to save the remote host information to a profile for later use?[yes/no]yes

Please provide a profile name to store remote url:wksysbackup

ACOS(config)#show backup

backup periodically system week 1 ftp://admin2@10.10.10.4//weekly-sys-backup

Next backup will occur at 14:37:00 PDT Thu Aug 19 2014

ACOS(config)#write memory

Building configuration...

[OK]

 

Table of Contents

Index

Glossary

-Search-

Back