03-03-2012 01:16 AM - edited 07-03-2021 09:42 PM
Hi community,
I would like to schedule automatic backups of our WLC's OoO-hours:
1. SSH from secure server and create _FULL_ backup - what would be the CLI command(s) ?
2. SCP from secure server and retreive file(s) - what is the location of the file(s) ?
Thanks in advance !
~maymann
Solved! Go to Solution.
03-03-2012 01:39 AM
Michael,
TFTP and FTP are currently the only supported file transfer protocols on the WLC. Here's an example of how you would do it with TFTP (after logging in with SSH):
(Cisco Controller) >transfer upload datatype config
(Cisco Controller) >transfer upload mode tftp
(Cisco Controller) >transfer upload serverip 192.0.2.10
(Cisco Controller) >transfer upload path .
(Cisco Controller) >transfer upload filename wlcConfigBackup2012-03-03.txt
(Cisco Controller) >transfer upload start
This may take some time.
Are you sure you want to start? (y/N) y
Justin
03-03-2012 01:39 AM
Michael,
TFTP and FTP are currently the only supported file transfer protocols on the WLC. Here's an example of how you would do it with TFTP (after logging in with SSH):
(Cisco Controller) >transfer upload datatype config
(Cisco Controller) >transfer upload mode tftp
(Cisco Controller) >transfer upload serverip 192.0.2.10
(Cisco Controller) >transfer upload path .
(Cisco Controller) >transfer upload filename wlcConfigBackup2012-03-03.txt
(Cisco Controller) >transfer upload start
This may take some time.
Are you sure you want to start? (y/N) y
Justin
03-03-2012 02:00 AM
Hi,
Justin: thanks for you quick reply !
Would it be the same commands if I chose to use ftp, just replacing "tftp" with "ftp" in your above example ?
Is there really no secure way of doing automated backups... ?
Thanks in advance !
~maymann
03-03-2012 02:47 AM
Michael,
FTP is a little different because you need to specify a username and password, but it's the same otherwise.
>transfer upload username
>transfer upload password
You can passkey encrypt your config file prior to uploading it from the controller to the server:
>transfer encrypt enable
>transfer encrypt set-key
Justin
Sent from Cisco Technical Support iPhone App
03-04-2012 08:16 AM
If you have WCS, its simple to schedule this ..
03-07-2012 12:27 AM
Hi,
George: I don't have WCS.
Why on earth didn't Cisco include a simple SCP server. This would make secure backups possible (insecure and cleartext TFTP/FTP is just so last millennium !).
Anyway: I think I can manage setting up a TFTP for this purpose, eventhough I'm not happy about it !
Thanks for you help !
~maymann
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide