Sophos central provides a great way of maintaining Backups of configurations for XG Devices. EXCELLENT FEATURE.
WTH? No backup on central for switches for now. Where is this on development roadmap?
In case anyone is interested...
Backup and restore from switch GUI
You can backup or restore switch settings using either HTTPS or TFTP.
Backup configuration
To backup the switch configuration, do as follows:
- Select Backup from the drop-down menu.
-
Select the method you want to use from the drop-down menu.
- Select HTTPS to download to your device using the browser.
- If you selected TFTP, enter the IP address of the TFTP server where you want to send the backup file.
-
Click Apply.
- Click Apply again in the pop-up window.
info
The switch configuration is backed up as a .cfg
file.
Restore configuration
To restore a configuration, do as follows:
- Select Restore from the drop-down menu.
-
Select the method you want to use from the drop-down menu.
- If you selected HTTPS, click Select file and choose the file from your local device.
- If you selected TFTP, enter the IP address of the TFTP server and the name of the backup file you want to restore.
-
Click Apply.
- Click Apply again in the pop-up window.
From CLI - like Crisco...
copy startup-config
Command Objective: This command copies a file from a remote source site or flash to a destination remote site or flash. The copying process takes several minutes and differs from protocol to protocol and network to network.
Syntax: copy {flash: filename | tftp://ip-address/filename} startup-config
Parameter Description:
- tftp://ip-address/filename: Configures the TFTP details to back up the initial configuration in the TFTP server.
- ip-address: The IP address or hostname of the server.
- filename: The file's name in which to store the initial configuration. Filenames and directory names are case-sensitive.
Mode: Privileged exec mode.
copy - startup-config
Command Objective: This command copies the configuration or system logs from a remote site to flash.
Syntax: copy { tftp://ip-address/filename startup-config | flash:filename startup-config }
Parameter Description:
- tftp://ip-address/filename startup-config: Configures the address from which to copy the file and the file name which contains the configuration. This option configures the TFTP server details. Filenames and directory names are case-sensitive.
Mode: Privileged exec mode.
Added TAGs
[edited by: Erick Jan at 6:11 AM (GMT -8) on 11 Jan 2024]