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 08:57] 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 ==== | ||
+ | |||
+ | Sending e-mail is sensitive due to security. | ||
< | < | ||
# Edit Mail Settings | # Edit Mail Settings | ||
- | : | + | : |
- | :local emailservertempip | + | |
:local emailfrom "XYZ Router < | :local emailfrom "XYZ Router < | ||
- | :local emailto "valid@toaddress.tld"; | + | :local emailto "you@yourdomain.tld"; |
: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 41: | 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 50: | Line 53: | ||
:put " | :put " | ||
/file remove ($SYSname . " | /file remove ($SYSname . " | ||
+ | /file remove ($SYSname . " | ||
:log info " | :log info " | ||
</ | </ |