Mikrotik-RouterOS-automatic-backup-and-update icon indicating copy to clipboard operation
Mikrotik-RouterOS-automatic-backup-and-update copied to clipboard

execute doesn't passing local variable

Open EmShin opened this issue 3 years ago • 0 comments

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.

EmShin avatar Mar 07 '22 01:03 EmShin