(Grav GitSync) Automatic Commit from tanshu
This commit is contained in:
parent
3c17a874bd
commit
4937ba233e
@ -24,9 +24,9 @@ Create the following script with name `TanBack` and the following permissions `f
|
||||
:if ([$month] = "dec") do={ :set month 12 };
|
||||
:local year [:pick $date 7 11];
|
||||
:local time [:pick [/system clock get time] 0 5];
|
||||
:local filename ("Data/mikrotik-Home/mikrotik_$year-$month-$day-$time.rsc");
|
||||
:local filename ("Data/10.1.0.x/mikrotik-10.1.0.1-$year.$month.$day.rsc");
|
||||
/export file=export.rsc;
|
||||
/tool fetch address=hopsngrains.com src-path=export.rsc user=tanshu mode=ftp password=tan12shu dst-path=($filen>
|
||||
/tool fetch address=hopsngrains.com src-path=export.rsc user=tanshu mode=ftp password=tan12shu dst-path=($filename) upload=yes;
|
||||
:log info "TanBack: Backup uploaded with filename $filename"
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user