Python Forum
My backup is not complete - SSH Paramiko
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My backup is not complete - SSH Paramiko
#1
Big Grin 
I have been working with paramiko to automate backups of my Cisco devices (Router & SW). I got SSH to work and I was able to get the configuration with the SHO RUN command, but I can't see all the configuration when I generate the file. I applied the TERMINAL LENG 0 command before executing SH RUN but the file it generates only reaches line 2022. (see images).

CODE:

https://imgur.com/gallery/YiKGqJw

PROBLEM:

https://imgur.com/gallery/kgLBt0G

I don't get the whole configuration

Attached Files

Thumbnail(s)
   
Reply
#2
I don't know if it is related to the issue but the two close at the end instead of close() make my eyes suffer.
Braulio likes this post
Reply
#3
(Jul-28-2022, 06:16 PM)Gribouillis Wrote: I don't know if it is related to the issue but the two close at the end instead of close() make my eyes suffer.

This was unrelated, but I already closed them so your eyes don't suffer lol

Thanks for the tip.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to take the tar backup files form remote server to local server sivareddy 0 3,241 Jul-14-2021, 01:32 PM
Last Post: sivareddy
  Warning password insecure - Mysql backup with Python HyiikO 4 6,730 Jun-09-2017, 12:49 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020