Fixed postfix install, added restore to readme

This commit is contained in:
Spitap
2022-07-27 14:35:48 +02:00
parent 2077c94b52
commit ee2ccf0647
2 changed files with 12 additions and 1 deletions

View File

@@ -133,6 +133,17 @@ If you want to disable mail backup::
This can be useful for larger instance
Restore mode
------------
An experimental restore mode is available.
You can start the process as follows::
$ sudo ./run.py --restore /path/to/backup/directory/ <your domain>
Then wait for the process to finish
Change the generated hostname
-----------------------------

View File

@@ -97,4 +97,4 @@ class Postfix(base.Installer):
utils.exec_cmd("postalias {}".format(aliases_file))
# Postwhite
install("postwhite", self.config, self.upgrade)
install("postwhite", self.config, self.upgrade, self.restore)