Hi, we want to apply the same default backup to multiple RUT241. We have a custom software that configures the devices via REST API.
When sending post request to /backup/actions/upload the response is “The selected backup file is not compatible with this device, please choose another file”,
However, uploading the same backup via the web ui works. I know that the devices must have identical firmware version and hardware version. But what is the right way to apply a initial config to a series of routers?
thank you
Hello,
Could you please confirm whether all of your RUT241 devices have the same product code, not only the same firmware and hardware versions? The product code can be verified under Status → System in the device WebUI.
Different product codes will prevent a backup file from being recognized as compatible, even if the firmware and hardware versions match.
Best regards,
Hello,
i have two routers here for testing, they both have the same product code RUT24101XXXX.
The firmware is also the same. Why can i upload and apply backup via Web UI, but not via the REST request on /backup/actions/upload? Are there other codes or versions that must be identical?
thank you
Hello,
Thank you for the update. Since both routers have the same product code and firmware version, the behavior you’re seeing is unusual, but there are a few important points to verify:
-
Just to mention, if the router firmware is even slightly newer or older than the one used to generate the backup, the system will reject it when using the REST API, even though the Web UI appears more permissive, so ensuring the backups originate from the identical firmware build is essential.
-
Could you check where the backup file is stored and whether the file path in your REST request is correct? If possible, could you share the exact syntax of the API call/code you are using?
I have tested backup upload and apply operations via the API using Postman on the RUTX50 units, and the same backup uploaded through the same request structure worked correctly on each device, so the request format may be relevant.
- Finally, please verify that the checksum of the backup file is valid. If the checksum does not match or the file was modified during transfer, the REST endpoint will reject it.
Best regards,
This topic was automatically closed after 60 days. New replies are no longer allowed.