You shouldn’t do that.
If you backup on 1.18, you restore to 1.18, and not to 1.25 or any other different version.
This is because there are some migrations.
Also, you should not skip versions.
So in your case, you restore from 1.18 to 1.18, then upgrade to 1.19.latest, 1.20.latest, and so one.
Regarding the backup, the client will have no influence here, as the backup is a simple rest call to the server.
Let me know if this helps.