Merge pull request #424 from Spitfireap/restore

Backup & restore system
This commit is contained in:
Antoine Nguyen
2022-11-03 12:17:16 +01:00
committed by GitHub
19 changed files with 563 additions and 31 deletions

View File

@@ -1,6 +1,8 @@
import random
import string
from constants import DEFAULT_BACKUP_DIRECTORY
def make_password(length=16):
"""Create a random password."""
@@ -439,4 +441,13 @@ ConfigDictTemplate = [
]
},
{
"name": "backup",
"values": [
{
"option": "default_path",
"default": DEFAULT_BACKUP_DIRECTORY
}
]
}
]