networkbackup

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2022 License: MIT Imports: 3 Imported by: 0

README

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.json file in your home directory:

{
	"networkdevices": [{
		"type": "cisco",
		"username": "johnsmith",
		"password": "password123",
		"ipv4": "192.168.0.2:22"
	}]
}

At the moment:

  1. Your networkbackup.json 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 files inside.
  3. The tool only deals with Cisco devices. Other vendors are not implemented yet. If you are interested in this tool, please contribute!

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL