12-04-2017 04:51 PM - edited 03-08-2019 12:59 PM
How can I create and schedule an automatic backup in a Nexus 9000 device?
Thanks
12-04-2017 06:16 PM
02-20-2018 11:02 PM
Hey Francesco,
Question any way to hide username/pwd with your statement below? On IOS devices you have ip ftp username xxx and ip ftp password?
cheers
Alexander
02-20-2018 11:02 PM
Hey Francesco,
Question any way to hide username/pwd with your statement below? On IOS devices you have ip ftp username yyy and ip ftp password?
cheers
Alexander
02-21-2018 04:16 PM
02-21-2018 09:12 PM
Thanks for the feedback, seems there is a bug in the nx-os, ftp://username:pwd@host/yyy the username and pwd doesn’t work but when just do the state without username/pwd and manually enter this works.
Cheers
Alexander
02-22-2018 04:23 PM
10-01-2018 11:13 AM
Hello All,
How do we remove "feature scheduler"? I accidently cut & Paste. I want to remove all these lines beflow.
"###
scheduler logfile size 1024
scheduler job name 9k-dlc-02
copy running-config ftp://user:password@x.x.x.x/$(SWITCHNAME).txt vrf default
show running-config
end-job
#########
Thanks
HenryTruong
10-01-2018 12:28 PM
11-07-2018 03:54 PM
Super helpful, but you missed one bit after "scheduler schedule name DAILY" - You must end the job before you can make a schedule.
#end-job
And then you can schedule it.
07-24-2019 01:43 AM
Hello,
Is automatic config backup wokring on N9K. I have configured below command but no luck, can someone advise.
feature scheduler
scheduler logfile size 1024
end
config terminal
scheduler aaa-authentication username *** password *****
end
config terminal
scheduler job name BKP
copy running-config ftp://@10.1.1.1/backup.txt vrf default
end
config terminal
scheduler schedule name CURRENT
time start 2019:07:24:13:57 repeat 1:0:0
job name BKP
end
I tried FTP Credential also
copy running-config ftp://admin:****@10.1.1.1/backup.txt vrf default
Thanks
Kamlesh
08-26-2019 08:32 AM
Hi Kamlesh,
If your problem is not solved yet, please try this:
conf t
feature schedule
schedule logfile size 1024
scheduler job name BKN
copy running-config ftp://USER:PASSWORD@ip_or_name_of_the_FTP_Server/directory/file.cfg vrf default
END
conf t
scheduler schedule name DAILY
job name BKN
time daily 22:00
END
Note: The directory, user and the password must pre-exist to the FTP Server.
Please let me know, whether it works.
regards
Motiar
08-22-2022 10:18 AM
Hi I'm having problems with this I'm using :
scheduler job name BACKUP_CONFIG
copy running-config scp://<username>:<password>@10.10.10.10/$<switchname>.txt vrf NET_MANAGE
and it fails:
Job Name : BACKUP_CONFIG Job Status: Failed (1)
Schedule Name : NIGHTLY_BACKUP User Name : admin
Completion time: Mon Aug 22 16:05:52 2022
--------------------------------- Job Output ---------------------------------
`copy running-config scp://<username>:<password>@10.10.10.10/$<switchname>.txt vrf NET_MANAGE`
Inbound-ReKey for 10.10.10.10:22
Permission denied, please try again.
Permission denied, please try again.
@10.10.10.10: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
lost connection
When I do it manually like : copy system:running-config scp: it works fine
thanks for your help
Dan
08-30-2022 01:47 AM
Hi,
I believe it fails because you cannot include the password as part of the scp string like you can with ftp. This is the accepted syntax:
scp: Enter URL "scp:[//[username@]server][/path]"
I have the same problem. I found a script to use on IOS switches but not able to find anything I can use for Nexus
08-30-2022 02:42 AM
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