From e707d974a396b9b57e753038e57f3de90f9cd37c Mon Sep 17 00:00:00 2001 From: Stanislav Laznicka Date: Mar 26 2018 07:42:07 +0000 Subject: ipa_backup: Backup the password to HTTPD priv key https://pagure.io/freeipa/issue/7421 Reviewed-By: Christian Heimes --- diff --git a/ipaserver/install/ipa_backup.py b/ipaserver/install/ipa_backup.py index f8fc2fd..9892e68 100644 --- a/ipaserver/install/ipa_backup.py +++ b/ipaserver/install/ipa_backup.py @@ -365,6 +365,10 @@ class Backup(admintool.AdminTool): if os.path.exists(file): self.files.append(file) + self.files.append( + paths.HTTPD_PASSWD_FILE_FMT.format(host=api.env.host) + ) + self.logs.append(paths.VAR_LOG_DIRSRV_INSTANCE_TEMPLATE % serverid)