(Grav GitSync) Automatic Commit from tanshu

This commit is contained in:
tanshu 2018-08-07 17:20:26 +00:00 committed by GitSync
parent 3c17a874bd
commit 4937ba233e
1 changed files with 2 additions and 2 deletions

View File

@ -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"
```