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

The script failed to create backups - :local forceBackup true & :local scriptMode "backup"

Open godel-chen opened this issue 5 months ago • 4 comments

It would be very kind of you to help.

Since i would like to lower CPU frequency so lower the overall operation temperature, i ran the following command: /system device-mode update mode=advanced routerboard=yes

It did allow me to change CPU frequency but at the same time, the backup script failed.

Email: Bkp&Upd: Device - FairayRouter - Backup failed The script failed to create backups. Please check device logs for more details.

Log: Bkp&Upd: config backup was not created, file does not exist: backup_v7.18.2_stable_2025-06-05-07-51-26.rsc Bkp&Upd: Backup creation failed. Update process will be canceled if automatic update is enabled

After the failure the script left the 2 backup files on my CCR router file list.

I also tried to upgrade RouterOS from 7.18.2 to 7.19.1 without success then downgrade to 7.18.2, at first the script ran, then failed again, it also briefly ran after i adding :local forceBackup true

I love the script to complete the RouterOS and desperately want it back, can you help please?

godel-chen avatar Jun 05 '25 02:06 godel-chen

Maybe this is similar to my Issue #71 Please increase the delay in Line 129 from 20s to 60s or higher value. Check CPU Load - it is up to 100%

db1mso avatar Jun 05 '25 06:06 db1mso

Thanks a lot, but what's line 129? It's empty line.

Image

godel-chen avatar Jun 05 '25 07:06 godel-chen

It's line 192, after searching for 20...Thanks, i will give it a try, hope resolve the problem.

godel-chen avatar Jun 05 '25 07:06 godel-chen

Yes, it solves the problem after adding :delay 60s on line 192. Thanks, bro, you save my day.

godel-chen avatar Jun 05 '25 07:06 godel-chen