set backup destination

To specify the destination for the system event log backup operation, use the set backup destination command in organization endpoint log policy mode.

set backup destination url

Syntax Description

url

Specifies the URL where the system event log backup file will be stored.

Command Default

None

Command Modes

Endpoint log policy (/org/ep-log-policy)

Command History

Release Modification
1.1(1)

This command was introduced.

Usage Guidelines

Use this command to specify the protocol, user, password, remote hostname, and remote path for the backup operation. The url can be specified using the syntax of one of the following protocols:
  • FTP—ftp://hostname/path
  • SCP—scp://username@hostname/path
  • SFTP—sftp://username@hostname/path
  • TFTP—tftp://hostname:port-num/path

If the destination requires a username and password, use the URL format for the specific protocol, such as ftp://user:password@ hostname/path for FTP.


Note


You can also configure the backup destination by using the set backup hostname, set backup password, set backup protocol, set backup remote-path, set backup user commands.


Examples

This example shows how configure an ftp destination with login for system event log backups:

switch-A# scope org
switch-A /org # scope ep-log-policy sel
switch-A /org/ep-log-policy # set backup destination ftp://joe:password1@ftp.example.com/backups
switch-A /org/ep-log-policy* # commit-buffer
switch-A /org/ep-log-policy # 

Related Commands

Command

Description

show backup