mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-05-11 06:12:13 +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
fd956519e2
commit
2f621a5981
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