restore: teardown pseudo backup site

This commit is contained in:
Girish Ramakrishnan
2025-12-05 16:12:59 +01:00
parent 392d47852d
commit 620974217a
3 changed files with 8 additions and 6 deletions

View File

@@ -2864,7 +2864,7 @@ async function restoreApps(apps, options, auditSource) {
let installationState, restoreConfig;
if (!error && results.length) {
installationState = exports.ISTATE_PENDING_RESTORE;
// intentionally ignore options.backupSite since the site may not have all the apps
// intentionally ignore any backupSite provided during restore by the user because the site may not have all the apps
restoreConfig = { backupId: results[0].id };
} else {
installationState = exports.ISTATE_PENDING_INSTALL;