Fixed postfix install, added restore to readme
This commit is contained in:
11
README.rst
11
README.rst
@@ -133,6 +133,17 @@ If you want to disable mail backup::
|
|||||||
|
|
||||||
This can be useful for larger instance
|
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
|
Change the generated hostname
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -97,4 +97,4 @@ class Postfix(base.Installer):
|
|||||||
utils.exec_cmd("postalias {}".format(aliases_file))
|
utils.exec_cmd("postalias {}".format(aliases_file))
|
||||||
|
|
||||||
# Postwhite
|
# Postwhite
|
||||||
install("postwhite", self.config, self.upgrade)
|
install("postwhite", self.config, self.upgrade, self.restore)
|
||||||
|
|||||||
Reference in New Issue
Block a user