Problem description
When you try to restore packages from Druva backup, the restore job errors out with the following message:
ErrorRequired field is missing: activateRSS.
Cause
When deploying between orgs with managed packages installed, you can instruct Salesforce to install a managed package in the target org by including the corresponding InstalledPackage metadata item in the deployment. The summer โ18 release added a new required property to the InstalledPackage type, activateRSS.
Moreover, when retrieving from Salesforce this property is always undefined: <activateRSS xsi:nil=โtrueโ/>
To deploy this value, it needs to be set to something, but when retrieving, regardless of its value in the source org, it will always be undefined - attempting to deploy this as-is will cause the deployment to fail.
This issue can be worked around by manually editing your metadata and setting the desired value for activateRSS
Workaround:
From your Backup Definition -> Metadata -> select the date range and download the required package locally:
Unzip the downloaded zip file -> access the folder which contains the packages
Edit the package that you wish to restore in a text editor: (Note, if there are multiple packages interdependent, then we recommend editing each package separately with similar steps):
Replace the string: <activateRSS xsi:nil="true"/>
with:
<activateRSS>false</activateRSS>
Save the file
Zip this file along with the package.xml that you had in the downloaded zip.
Log in to https://workbench.developerforce.com/
Click the Migration tab -> Select the Deploy section
Click the Choose file option.
Check below below options:
Auto Update Package
Single Package
Confirm all of the options for deployment.
Click on the Deploy button when ready.
Confirm the results deploy successfully, if not check the file for any errors.
๐ Note
โPerforming the above edits in the XML files within the backup is not possible due to which restoration of such items can only be done via Workbench or other equivalent tool manually.