write-and-backup

This command saves the device's configuration file to flash memory and uploads it to a specified destination. The feature provides a method to back up your saved configuration.

Syntax

# write-and-backup to {<URL>|usb}

Command

Description

URL

Defines the destination as a URL (TFTP or HTTP/S) to a remote server.

usb

Defines the destination to a folder on a USB storage stick plugged in to the device.

Command Mode

Privileged User

Note

The USB option applies only to devices with USB interfaces.
The configuration of the backed-up file is based only on CLI commands.
The device first saves the configuration file to flash memory and then sends the file to the configured destination.

Related Commands

write

Example

Saving a device's configuration to flash memory and sends it to a HTTP remote server:
# write-and-backup to http://www.example.com/configuration.txt
Saving a device's configuration to flash memory and sends it to the plugged-in USB stick:
# write-and-backup to usb:///configuration.txt