This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
networking:router:mikrotik_backup [2020/05/12 09:02] gcooper |
networking:router:mikrotik_backup [2022/11/22 14:25] (current) gcooper |
||
---|---|---|---|
Line 15: | Line 15: | ||
===== Automated Backup ===== | ===== Automated Backup ===== | ||
- | {{: | + | {{: |
==== E-Mail Settings ==== | ==== E-Mail Settings ==== | ||
Line 28: | Line 28: | ||
:local emailusername " | :local emailusername " | ||
:local emailpassword " | :local emailpassword " | ||
- | :local emailport " | ||
/tool e-mail set from=" | /tool e-mail set from=" | ||
- | port=" | + | port=587 tls=starttls |
</ | </ | ||
Line 42: | Line 41: | ||
:put " | :put " | ||
/system backup save name=" | /system backup save name=" | ||
+ | /export file=" | ||
:log info " | :log info " | ||
:delay 10s; | :delay 10s; | ||
:log info " | :log info " | ||
- | /tool e-mail send to="router@sonoracomm.com" | + | :local files {($SYSname . " |
+ | /tool e-mail send to="you@yourdomain.tld" tls=starttls | ||
+ | body="See attached | ||
:log info " | :log info " | ||
:delay 10s; | :delay 10s; | ||
Line 51: | Line 53: | ||
:put " | :put " | ||
/file remove ($SYSname . " | /file remove ($SYSname . " | ||
+ | /file remove ($SYSname . " | ||
:log info " | :log info " | ||
</ | </ |