Skip to content

Exports configuration for a list of Mikrotik routers and stores the result in a git repo

Notifications You must be signed in to change notification settings

kd7lxl/mikrotik-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mikrotik Backup

backup.sh is a simple script that reads a list of hostnames from stdin, logs in via ssh, and does /export on each of them. The output of each is saved to a file. These files are then committed to a git repository. This provides an incremental backup that can be run periodically with a tool like cron.

Usage

./hamwan_routers.sh | ./backup.sh

About

Exports configuration for a list of Mikrotik routers and stores the result in a git repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages