Problem: The standard FMC configuration backup is all-or-nothing, and only restores to an FMC on the exact same version, vdb, and SRU.
Partial solution: Tweaking the /etc/sf/ims.conf and /etc/sf/sru_versions.conf files in the tarball, then re-archiving it before restoring.
But that doesn't solve the all-or-nothing part. I have a subtly corrupted database, and I want to backup everything except the corrupt config tables, then restore it after re-imaging.
I could write a python script to download every object exposed by the FMC, and then upload those object back to an FMC. But that seems like such an ubiquitous use case for the REST API, I can't believe such a script does not already exist.
I also can't find such a script. Has anybody seen a REST-based backup/restore FMC script?