diff options
-rw-r--r-- | ipaserver/install/ipa_backup.py | 2 | ||||
-rw-r--r-- | ipaserver/install/ipa_restore.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/install/ipa_backup.py b/ipaserver/install/ipa_backup.py index 69af6e2d5..65176964a 100644 --- a/ipaserver/install/ipa_backup.py +++ b/ipaserver/install/ipa_backup.py @@ -255,7 +255,7 @@ class Backup(admintool.AdminTool): options = self.options super(Backup, self).run() - api.bootstrap(in_server=False, context='backup') + api.bootstrap(in_server=True, context='backup') api.finalize() self.log.info("Preparing backup on %s", api.env.host) diff --git a/ipaserver/install/ipa_restore.py b/ipaserver/install/ipa_restore.py index 265653695..e172a303e 100644 --- a/ipaserver/install/ipa_restore.py +++ b/ipaserver/install/ipa_restore.py @@ -844,7 +844,7 @@ class Restore(admintool.AdminTool): services.knownservices.certmonger.restart() def init_api(self, **overrides): - api.bootstrap(in_server=False, context='restore', **overrides) + api.bootstrap(in_server=True, context='restore', **overrides) api.finalize() self.instances = [installutils.realm_to_serverid(api.env.realm)] |