Mikrotik-RouterOS-automatic-backup-and-update
Mikrotik-RouterOS-automatic-backup-and-update copied to clipboard
execute doesn't passing local variable
ros v7.1.3
From :local backupFileConfig "$backupName.rsc"; To :global backupFileConfig "$backupName.rsc";
From :execute "/export compact show-sensitive terse file=$backupName"; To :execute {/export compact show-sensitive terse file=$backupFileConfig;}
- "~~~" seems doesn't execute
- $backupName makes long-long-filename.rsc : )
Or, how about drop "execute" and "wait"?
Please kindly review.