I am trying to restore a backup for an instance via the API where the backup had a different name so I am trying to overwrite it, however the header X-LXD-name seems to be ignored.
The 4.0 LTS release branch does not generally get new features, it is a stable release so just gets bug fixes. The feature releases 4.x get new features but are only supported until the next feature release.