Hi,

I try to run above scrip to more my cloud backup but it doesn’t work at all while I can run the same script in CLI is work perfectly.
What I am wrong here?
Hi,

I try to run above scrip to more my cloud backup but it doesn’t work at all while I can run the same script in CLI is work perfectly.
What I am wrong here?
You numeric index is invalid without print. Use this if you want to get rid of cloud backup in any situation:
/ system backup cloud print as-value;
:if ([ / system backup cloud print count-only ] > 0) do={
/ system backup cloud remove-file [ find ];
}