backup-logs

To back up system logs, use the backup-logs command in the EXEC mode.

backup-logs backup-name repository repository-name

Syntax Description

backup-logs

The command to back up the system and application logs to a repository.

backup-name

Name of one or more files to back up. Supports up to 100 alphanumeric characters.

repository

Repository command.

repository-name

Location where files should be backed up to. Supports up to 80 alphanumeric characters.

Defaults

No default behavior or values.

Command Modes

EXEC

Usage Guidelines

Backs up system logs with an encrypted (hashed) or unencrypted plaintext password.

Examples

/admin# backup-logs mybackup repository myrepository encryption-key plain Lab12345

% Creating log backup with timestamped filename: mybackup-111125-1117.tar.gpg

/admin#

 

Related Commands

Command

Description

backup

Performs a backup (Cisco CDA and Cisco ADE OS) and places the backup in a repository.

restore

Restores from backup the file contents of a specific repository.

repository

Enters the repository submode for configuration of backups.

show backup history

Shows the backup history of the system.

show repository

Shows the available backup files located on a specific repository.