I have a RB750r2 and a RB750Gr3 that each have a script that creates a backup, export, and version listing. The three files are then sent off site for archive. This script is run by schedule every night. These have worked perfectly for years. A few weeks ago, both routers were updated to 6.48.2 and I realized this morning that the scripts were not completing. The last time that the scripts completed was the evening prior to updating the firmware to 6.48.2
The RB750r2 had been 6.48.0 and the RB750Gr3 had been 6.47.8. Both were updated to 6.48.2 the same day, and there were no changes to the scripts. Here is the beginning of the script for the RB750Gr3. I have done some testing with added log entries and have determined that the scripts are failing with the /export command. I have also determined that if I open a terminal window and enter the exact same text, the export command works properly. I have tried the export command both with and without an = between file and the desired filename. Either works in a terminal window, but neither works in the script. If I remark out the export command, the remainder of the script works properly.
# Policies needed: ftp, read, policy, sensitive, test
# Policies NOT needed: password, reboot, write, sniff, romon
:log info "Starting daily backup";
/system backup save name=RB750Gr3-1_Daily
/export file RB750Gr3-1_Daily
/system package print file RB750Gr3-1_Version.txt
The scripts continue with where I send the three files.
you check if without password rigth save the passwords on exports?
it’s a bug if it do that, better you set also password rigth for future versions…
test is needed? ??