SSGltd Posted April 3 Report Share Posted April 3 Здравейте! Видях имаше подобна тема, но в нея е с поща на Gmail Ползвам АБВ, може ли помощ за настройка за да получавам лог файла Link to comment Share on other sites More sharing options...
0 Administrator 111111 Posted April 5 Administrator Report Share Posted April 5 /tool e-mail set from=123@abv.bg port=465 server=smtp.abv.bg tls=yes user=123@abv.bg /system script add dont-require-permissions=yes name=Daily_backup owner=admin policy=ftp,read,policy,test,sensitive source="# Policies needed: ftp, read, policy, sensitive, test\r\n# Policies NOT needed: password, reboot, write, sniff, romon\r\n:log info \"Starting daily backup\";\r\n/system backup save name=hall_Daily\r\n:log info \"S 1\";\r\n/system package print file=hall_Version.txt\r\n:delay 00:00:01\r\n:log info \"S 2\";\r\n/tool e-mail send file=hall_Daily.backup to=\"saentist@gbg.bg\" body=\"Router HALL daily backup file attached.\" \\\r\n subject=\"hall \$[/system clock get date] at \$[/system clock get time] Backup\"\r\n:log info \"S 3\";\r\n/export file=hall_Daily\r\n:delay 00:00:10\r\n:log info \"S 4\";\r\n/tool e-mail send file=hall_Daily.rsc,hall_Version.txt to=\"saentist@gbg.bg\" body=\"Router HALL daily script and version files attached.\" \\\r\n subject=\"hall \$[/system clock get date] at \$[/system clock get time] Script\"\r\n:log info \"Daily backup script completed\"" /system scheduler add interval=1d name=Daily_backup on-event="Daily Backup" policy=ftp,read,write,policy,test,password,sniff,sensitive start-date=2016-07-12 start-time=22:32:00 Скрипта праща по 2 меилаза бекъп , но да кажем че работи. винаги може да си атачнеш и лога но не си чупи сториджа с писане на лог във фаел. Използвай опцията за отдалечен лог https://help.mikrotik.com/docs/spaces/ROS/pages/328094/Log Харесай поста ^^^ Форумът е за взаимопомощ а не за свършване на чужда работа RB951Ui-2HnD / RBD25GR-5HPACQD2HPND&R11E-LTE6 / RB952Ui-5ac2nD-TC ɹɐǝɥ uɐɔ noʎ ǝɹoɯ ǝɥʇ 'ǝɯoɔǝq noʎ ɹǝʇǝınb ǝɥʇ Link to comment Share on other sites More sharing options...
Question
SSGltd
Здравейте!
Видях имаше подобна тема, но в нея е с поща на Gmail
Ползвам АБВ, може ли помощ за настройка за да получавам лог файла
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now