Skip to content

A command line tool to backup your network devices into a backup text file.

License

Notifications You must be signed in to change notification settings

AndyBowskill/networkbackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Network Backup

Go Build and Test Go Report Card

A command line tool to backup your network devices into a backup text file.

Install

$ go install github.com/AndyBowskill/networkbackup@latest

Example

An example networkbackup.yaml file in your home directory:

networkdevices:
  - type: cisco
    username: johnsmith
    password: password123
    ipv4: '192.168.0.2:22'
  - type: cisco
    username: admin
    password: pass456
    ipv4: '192.168.0.1:22'

At the moment:

  1. Your networkbackup.yaml file should be in your home directory.
    1. For example, on a macOS is Root > Users > johnsmith directory.
  2. The backup file will be in your networkbackup directory after the tool has been run.
    1. For example, on a macOS is Root > Users > johnsmith > networkbackup > cisco-2022-November-7-15-55. The tool checks if the networkbackup directory is there. If not, the tool creates the directory automatically and place the backup file(s) inside.
  3. The tool only deals with Cisco devices. Other vendors are not implemented yet. If you are interested in this tool, please contribute!

About

A command line tool to backup your network devices into a backup text file.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages