WIP: Improved backup/restore system.

This commit is contained in:
Antoine Nguyen
2022-11-06 10:30:24 +01:00
parent 61838dbe4d
commit 2b5edae5d5
12 changed files with 304 additions and 130 deletions

View File

@@ -10,7 +10,7 @@ from .. import package
from .. import utils
from . import base
from . import install
from . import backup, install
class Postfix(base.Installer):
@@ -98,3 +98,7 @@ class Postfix(base.Installer):
# Postwhite
install("postwhite", self.config, self.upgrade, self.restore)
def backup(self, path):
"""Launch postwhite backup."""
backup("postwhite", path)