backup-email: export with show-sensitive

This is available (and required) with RouterOS 7.1rc1.
This commit is contained in:
Christian Hesse 2021-09-01 20:38:14 +02:00
parent cdd607037e
commit 35d10f80f5

View file

@ -62,7 +62,7 @@ $WaitFullyConnected;
# create configuration export
:if ($BackupSendExport = true) do={
/ export terse file=$FilePath;
/ export terse show-sensitive file=$FilePath;
$WaitForFile ($FilePath . ".rsc");
:set ConfigFile ($FileName . ".rsc");
:set Attach ($Attach, ($FilePath . ".rsc"));