Compare commits

..

No commits in common. "master" and "24.06.04" have entirely different histories.

5 changed files with 433 additions and 628 deletions

View file

@ -13,7 +13,7 @@ insert_final_newline = true
[*.rsc] [*.rsc]
indent_style = space indent_style = space
indent_size = 2 indent_size = 4
[*.{yml,yaml,sls}] [*.{yml,yaml,sls}]
indent_style = space indent_style = space

4
.github/FUNDING.yml vendored
View file

@ -1,4 +1,2 @@
# These are supported funding model platforms # These are supported funding model platforms
ko_fi: beeyev custom: https://buymeacoffee.com/beeyev
liberapay: beeyev
buy_me_a_coffee: beeyev

4
.gitignore vendored
View file

@ -1,3 +1 @@
ignore/ /ignore
.idea/
.vscode/

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,8 @@
# Mikrotik RouterOS automatic backup and update # Mikrotik RouterOS automatic backup and update
This script allows you to generate daily backups of MikroTik and send them to an email address. You can also choose to enable automatic RouterOS upgrades or receive notifications exclusively for new firmware versions. This script allows you to generate daily backups of MikroTik and send them to an email address. You can also choose to enable automatic RouterOS upgrades or receive notifications exclusively for new firmware versions.
> 💡 If you have any ideas about the script or you just want to share your opinion, you are welcome to [Discussions](https://github.com/beeyev/Mikrotik-RouterOS-automatic-backup-and-update/discussions), or you can open an [issue](https://github.com/beeyev/Mikrotik-RouterOS-automatic-backup-and-update/issues) if you found a bug. > 💡 If you have any ideas about the script or you just want to share your opinion, you are welcome to [Discussions](https://github.com/beeyev/Mikrotik-RouterOS-automatic-backup-and-update/discussions), or you can open an [issue](https://github.com/beeyev/Mikrotik-RouterOS-automatic-backup-and-update/issues) if you found a bug.
@ -23,7 +25,7 @@ This script allows you to generate daily backups of MikroTik and send them to an
> Ensure your device identity does not contain spaces and special characters! `System -> Identity` > Ensure your device identity does not contain spaces and special characters! `System -> Identity`
##### 1. Configure parameters ##### 1. Configure parameters
Take the [script](https://github.com/beeyev/Mikrotik-RouterOS-automatic-backup-and-update/raw/master/BackupAndUpdate.rsc) and configure it's parameters at the beginning of the file. Take the [script](https://github.com/beeyev/Mikrotik-RouterOS-automatic-backup-and-update/raw/master/BackupAndUpdate.rsc) and configure it's parameters at the begining of the file.
This step is straightforward as all parameters are well-commented. This step is straightforward as all parameters are well-commented.
**Important!** Don't forget to provide correct email address for backups and pay attention to `scriptMode` variable. **Important!** Don't forget to provide correct email address for backups and pay attention to `scriptMode` variable.
@ -36,7 +38,7 @@ Insert the script which you configured earlier into the source area.
##### 3. Configure mail server ##### 3. Configure mail server
Tools -> Email Tools -> Email
Configure your email server parameters. If you don't have one, i recommend using the [smtp2go.com](https://smtp2go.com "smtp2go.com") service, which allows sending a thousand emails per month for free. Configure your email server parameters. If you don't have one, i recommend using the [smtp2go.com](https://smtp2go.com "smtp2go.com") service, which allows sending a thousand emails per month for free.
![](https://github.com/beeyev/Mikrotik-RouterOS-automatic-backup-and-update/raw/master/howto/email-config.png) ![](https://github.com/beeyev/Mikrotik-RouterOS-automatic-backup-and-update/raw/master/howto/email-config.png)
To check email settings, send a test message by running the following command in terminal: To check email settings, send a test message by running the following command in terminal: