aboutsummaryrefslogtreecommitdiffstats
path: root/backup-email
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-05-10 14:36:53 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-05-11 13:48:27 +0200
commitdffd634885a640ca060d1658820f4999cae5b408 (patch)
treeafe340a09f174ce66727c4760acc79d77c7db73e /backup-email
parent18a0bee80f191037afec4f3579ee8ef2ee0ee1bb (diff)
backup-email: RouterOS v7 path syntax
Diffstat (limited to 'backup-email')
-rw-r--r--backup-email4
1 files changed, 2 insertions, 2 deletions
diff --git a/backup-email b/backup-email
index ccbd4de..55f2309 100644
--- a/backup-email
+++ b/backup-email
@@ -54,7 +54,7 @@ $WaitFullyConnected;
# binary backup
:if ($BackupSendBinary = true) do={
- / system backup save encryption=aes-sha256 name=$FilePath password=$BackupPassword;
+ /system/backup/save encryption=aes-sha256 name=$FilePath password=$BackupPassword;
$WaitForFile ($FilePath . ".backup");
:set BackupFile ($FileName . ".backup");
:set Attach ($Attach, ($FilePath . ".backup"));
@@ -62,7 +62,7 @@ $WaitFullyConnected;
# create configuration export
:if ($BackupSendExport = true) do={
- / export terse show-sensitive file=$FilePath;
+ /export terse show-sensitive file=$FilePath;
$WaitForFile ($FilePath . ".rsc");
:set ConfigFile ($FileName . ".rsc");
:set Attach ($Attach, ($FilePath . ".rsc"));