Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
R
routeros-scripts
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Christian Hesse
routeros-scripts
Commits
55313b48
Commit
55313b48
authored
Jul 24, 2019
by
Christian Hesse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upload-backup: get values into array
parent
1020db0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
upload-backup
upload-backup
+3
-4
No files found.
upload-backup
View file @
55313b48
...
...
@@ -31,8 +31,7 @@
:local BoardName [ / system resource get board-name ];
:local Model [ / system routerboard get model ];
:local SerialNumber [ / system routerboard get serial-number ];
:local Channel [ / system package update get channel ];
:local InstalledVersion [ / system package update get installed-version ];
:local Update [ / system package update get ];
# binary backup
:if ($BackupSendBinary = true) do={
...
...
@@ -68,8 +67,8 @@ $SendNotification "Backup & Config Upload" \
"Model: " . $Model . "\n" . \
"Serial number: " . $SerialNumber . "\n" . \
"Hostname: " . $Identity . "\n" . \
"Channel: " . $
Channel
. "\n" . \
"RouterOS: " . $
InstalledVersion
. "\n\n" . \
"Channel: " . $
Update->"channel"
. "\n" . \
"RouterOS: " . $
Update->"installed-version"
. "\n\n" . \
"Backup uploaded: " . $BackupFile . "\n" . \
"Config uploaded: " . $ConfigFile);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment