11-06-2019 10:49 AM
I would like to make backups of my cisco devices using SCP from a linux filesystem. I am running the following command:
scp username@192.168.1.1:flash/ /dir/to/backup
...where 192.168.1.1 is the cisco device's IP.
I get the following response to the command:
scp: flash/: No such file or directory
What is the correct way to reference the entire flash on the cisco device with the SCP command?
11-06-2019 01:01 PM
Hello,
typically, flash is followed by a ":", so try:
scp username@192.168.1.1:flash: /dir/to/backup
11-06-2019 01:29 PM
11-06-2019 02:06 PM
Hello,
try a double backslash:
scp username@192.168.1.1:flash:// /dir/to/backup
Some routers use flash0, flash1, etc., make sure you are referencing the correct file system
11-07-2019 05:57 AM
11-21-2019 08:18 AM
Hi Georg,
I tried the double slashes and it is not working. I would think this is something commonly done to backup flash contents and cannot figure out correct syntax to do it. Am I going about trying to backup flash contents with SCP and should be using another protocol?
11-12-2019 07:04 AM
Anyone have any idea on how to make a recursive copy of the flash through SCP? This seems like something that people would commonly do but cannot find any answers or solutions on how to do this.
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