A command line tool to backup your network devices into a backup text file.
$ go install github.com/AndyBowskill/networkbackup@latest
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:
- Your networkbackup.yaml file should be in your home directory.
- For example, on a macOS is
Root>Users>johnsmithdirectory.
- For example, on a macOS is
- The backup file will be in your networkbackup directory after the tool has been run.
- For example, on a macOS is
Root>Users>johnsmith>networkbackup>cisco-2022-November-7-15-55. The tool checks if thenetworkbackupdirectory is there. If not, the tool creates the directory automatically and place the backup file(s) inside.
- For example, on a macOS is
- The tool only deals with Cisco devices. Other vendors are not implemented yet. If you are interested in this tool, please contribute!