Can i upload the backup of the hap in the cap ?
Definitely not. You should not even upload backup of another device of same model, the complications can be just too big to bother.
The correct way is to create configuration export using command
/export file=export.rsc, copy file to your computer, sanitize it[*] and only then upload it to the other device. There are a few things that exported config file doesn't cover, such as users and passwords, certificates and perhaos some more.
[*] sanitizing includes fixing everything which is device speciffic, such as MAC addresses, used physical ports (if the target device features less ports than source device), peripherial port properties (e.g. frequency band of wireless device or supported rate (think SFP vs. SFP+)), switch chip properties (in case some functionality is configured on switch chip and target device requires different config syntax or even doesn't support needed functionality). Etc.
All in all, migration of configuration to different devuce type is not an easy task. Sometimes it's better to re-create config, but starting from "modern time" ROS defaults and add needed functionality folowing the modern way of doing it.