backup log

Description                                                    Configure log backup options and save a backup of the system log.

Syntax                                                                  backup log
  [expedite]
  [period {all | day | month | week | days}]
  [
stats-data]
{
profile-name | [use-mgmt-port] url [password password]}

Parameter

Description

expedite

Allocates additional CPU to the backup process. This option allows up to 50% CPU utilization to be devoted to the log backup process.

period

Specifies the period of time whose data you want to back up:

  all - Backs up the log messages contained in the log buffer.

  day - Backs up the log messages generated during the most recent 24 hours.

  month - Backs up the log messages generated during the most recent 30 days.

  week - Backs up the log messages generated during the most recent 7 days.

  days - Backs up the log messages generated using days as the interval (for example, specify 5 to back up every 5 days).

The default period of time is one month.

stats-data

Backs up statistical data from the GUI.

profile-name

Profile name for the remote URL, 1-31 characters.

Profiles that can be used in place of the URL are configured with the backup store command.

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 inter­face.

url

Specifies the file transfer protocol, username (if required), and directory path to the location where you want to save the backup file.

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, use one of the following:

  tftp://host/file

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

  scp://[user@]host/file

  sftp://[user@]host/file

password

Specifies the password to access the remote site.

Default                                                                See descriptions.

Mode                                                                   Privileged EXEC, or global configuration mode

Usage                                                                  The expedite option controls the percentage of CPU utilization allowed exclusively to the log backup process. The actual CPU utilization during log backup may be higher, if other management processes also are running at the same time.

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

Example                                                            The following commands change the backup period to all, allow up to 50% CPU utilization for the backup process, and back up the log:

ACOS#backup log period all

ACOS#backup log expedite

ACOS#backup log scp://192.168.20.161/log.tgz

...

 

Example                                                            The following command backs up statistical data from the GUI:

ACOS#backup log stats-data scp://192.168.20.161/log.tgz

 

NOTE:                                                                   The log period and expedite settings also apply to backups of the GUI statistical data.

Table of Contents

Index

Glossary

-Search-

Back