Compare commits
No commits in common. "fac66d905e17b869aaec46540f63c09ff5219c2f" and "a07759a11de35f83dbb69a6bc58c87bec86df9a2" have entirely different histories.
fac66d905e
...
a07759a11d
2 changed files with 2 additions and 5 deletions
|
|
@ -80,10 +80,7 @@ class BackupManager:
|
|||
|
||||
def main():
|
||||
config = read_config()
|
||||
try:
|
||||
os.chdir(config["common"]["BACKUP_DOCKER_DIR"])
|
||||
except KeyError:
|
||||
pass
|
||||
os.chdir(config["BACKUP_DOCKER_DIR"])
|
||||
backup_manager = BackupManager()
|
||||
if not backup_manager.export_data():
|
||||
exit(1)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
"BACKUP_DIRS": ["list of directories to backup"],
|
||||
"EXCLUDE_DIRS": ["list of directories to exclude"],
|
||||
"TIME_FORMAT": "utcnow:%Y-%m-%d_%H:%M:%S",
|
||||
"REPO_SUBDIR": "paperless-ngx"
|
||||
"REPO_SUBDIR": "paperless-ngx"
|
||||
},
|
||||
"remotes": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue