backup-email: RouterOS v7 path syntax

This commit is contained in:
Christian Hesse 2022-05-10 14:36:53 +02:00
parent 18a0bee80f
commit dffd634885

View file

@ -54,7 +54,7 @@ $WaitFullyConnected;
# binary backup # binary backup
:if ($BackupSendBinary = true) do={ :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"); $WaitForFile ($FilePath . ".backup");
:set BackupFile ($FileName . ".backup"); :set BackupFile ($FileName . ".backup");
:set Attach ($Attach, ($FilePath . ".backup")); :set Attach ($Attach, ($FilePath . ".backup"));