mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-29 20:57:22 +02:00
@@ -24,7 +24,7 @@ exclusive_process("backup")
|
|||||||
# Ensure the backup directory exists.
|
# Ensure the backup directory exists.
|
||||||
backup_dir = os.path.join(env["STORAGE_ROOT"], 'backup')
|
backup_dir = os.path.join(env["STORAGE_ROOT"], 'backup')
|
||||||
backup_duplicity_dir = os.path.join(backup_dir, 'duplicity')
|
backup_duplicity_dir = os.path.join(backup_dir, 'duplicity')
|
||||||
os.makedirs(backup_dir, exist_ok=True)
|
os.makedirs(backup_duplicity_dir, exist_ok=True)
|
||||||
|
|
||||||
# On the first run, always do a full backup. Incremental
|
# On the first run, always do a full backup. Incremental
|
||||||
# will fail.
|
# will fail.
|
||||||
|
|||||||
Reference in New Issue
Block a user