MajorcaDevs / mdbackup

Small but customizable utility to create backups and store them in cloud storage providers
https://mdbackup.majorcadevs.com
GNU General Public License v3.0
7 stars 1 forks source link

Mikrotik backup implementation #11

Closed amgxv closed 5 years ago

amgxv commented 5 years ago

Mikrotik backups via ssh.

Access to the router (ssh)

Commands to be executed

Other commands that can be useful

It would be nice to :

melchor629 commented 5 years ago

To implement

A function in utils.sh which will receive the following parameters:

By default, will make a backup from the MikroTik device, but with the previous optional parameters, someone can export the rest of things if desired.

The names of the files in the MikroTik device must contain the date (use date "+%Y%m%d-%H%m" on the function to generate a date-time string). But the files in the computer which runs mdbackup must store the files in a folder named mikrotik-${IP} and the names of the files without the date-time string.