add support to encrypt database

This commit is contained in:
2022-01-26 18:30:11 +08:00
parent 84f2cb1fea
commit ccb61741ee
6 changed files with 96 additions and 10 deletions

View File

@@ -14,6 +14,6 @@ def main(cm=None):
cfg = Config(cml.config_file)
if not exists(cfg.dest):
makedirs(cfg.dest)
db = Db(cfg.dest, cml.optimize_db)
db = Db(cfg, cml)
bk = Backuper(db, cfg, cml)
return bk.run()