mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
backup-cloud: retry on error...
Let's see if brute force helps. 🤪
This commit is contained in:
@ -47,6 +47,8 @@
|
||||
:error false;
|
||||
}
|
||||
|
||||
:local I 5;
|
||||
:do {
|
||||
:execute {
|
||||
:global BackupPassword;
|
||||
|
||||
@ -60,6 +62,8 @@
|
||||
}
|
||||
/file/add name="tmpfs/backup-cloud/done";
|
||||
} as-string;
|
||||
:set I ($I - 1);
|
||||
} while=([ $WaitForFile "tmpfs/backup-cloud/done" 200ms ] = false && $I > 0);
|
||||
|
||||
:if ([ $WaitForFile "tmpfs/backup-cloud/done" ] = true) do={
|
||||
:local Cloud [ /system/backup/cloud/get ([ find ]->0) ];
|
||||
|
Reference in New Issue
Block a user