mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-06-06 10:42:34 +00:00
backup-upload: drop the GMT offset from filename...
... as it is of little help only. Also it is ambiguous due to signdness being dropped when cleaning the name.
This commit is contained in:
parent
bfc9f3bd86
commit
7a17e42919
1 changed files with 2 additions and 2 deletions
|
|
@ -74,8 +74,8 @@
|
|||
# filename based on identity
|
||||
:local DirName ("tmpfs/" . $ScriptName);
|
||||
:local Clock [ /system/clock/get ];
|
||||
:local FileName [ $CleanName ($Identity . "." . $Domain . [ $IfThenElse ($BackupFileNameDate = true) \
|
||||
("-" . $Clock->"date" . "-" . $Clock->"time" . "-" . $Clock->"gmt-offset") "" ] ) ];
|
||||
:local FileName [ $CleanName ($Identity . "." . $Domain . [ $IfThenElse \
|
||||
($BackupFileNameDate = true) ("-" . $Clock->"date" . "-" . $Clock->"time") "" ] ) ];
|
||||
:local FilePath ($DirName . "/" . $FileName);
|
||||
:local BackupFile "none";
|
||||
:local ExportFile "none";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue