Backup configuration files Cisco cisco backup Cisco tips and tricks,
Backup cisco configuration files automatically
Posted by Anbu
Published on Saturday, February 16, 2013
Problem:
Backup cisco configuration files automatically
Solution:
You can use the Cisco ‘archive’ command in global configuration mode to let the Cisco switch or router automatically save backups of your configuration file to a TFTP, FTP, HTTP HTTPS, SCP or RCP filesystem.
To configure automatic backup on to for example a TFTP server on write-memory just do this:
Switch(config)# archive
Switch(config-archive)# path tftp://10.0.0.1/ciscobackups/Switch
Switch(config-archive)# write-memory
The switch or router will now automatically archive a copy of your running configuration on 10.0.0.1
You can use show archive to verify backups.
Switch# show archive
The next archive file will be named tftp://10.0.0.1/ciscobackups/Switch-3
Archive # Name
0 tftp://10.0.0.1/ciscobackups/Switch-1
1 tftp://10.0.0.1/ciscobackups/Switch-2 <- Most Recent
And you can also use the EXEC command ‘configure replace‘ to take use of archived configuration files and rollback on to one of them.
Backup cisco configuration files automatically
Solution:
You can use the Cisco ‘archive’ command in global configuration mode to let the Cisco switch or router automatically save backups of your configuration file to a TFTP, FTP, HTTP HTTPS, SCP or RCP filesystem.
To configure automatic backup on to for example a TFTP server on write-memory just do this:
Switch(config)# archive
Switch(config-archive)# path tftp://10.0.0.1/ciscobackups/Switch
Switch(config-archive)# write-memory
The switch or router will now automatically archive a copy of your running configuration on 10.0.0.1
You can use show archive to verify backups.
Switch# show archive
The next archive file will be named tftp://10.0.0.1/ciscobackups/Switch-3
Archive # Name
0 tftp://10.0.0.1/ciscobackups/Switch-1
1 tftp://10.0.0.1/ciscobackups/Switch-2 <- Most Recent
And you can also use the EXEC command ‘configure replace‘ to take use of archived configuration files and rollback on to one of them.
0 comments
Readers Comments