1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-22 02:17:26 +00:00

update comments in backup.py

This commit is contained in:
Joshua Tauberer 2014-08-25 23:28:43 +00:00
parent bc9d670981
commit 18f0406541

View File

@ -2,13 +2,12 @@
# This script performs a backup of all user data: # This script performs a backup of all user data:
# 1) System services are stopped while a copy of user data is made. # 1) System services are stopped while a copy of user data is made.
# 2) An incremental backup is made using rdiff-backup into the # 2) An incremental backup is made using duplicity into the
# directory STORAGE_ROOT/backup/rdiff-history. This directory # directory STORAGE_ROOT/backup/duplicity.
# will contain the latest files plus a complete history for
# all prior backups.
# 3) The stopped services are restarted. # 3) The stopped services are restarted.
# 4) The backup directory is compressed into a single file using tar. # 4) The backup files are encrypted with a long password (stored in
# 5) That file is encrypted with a long password stored in backup/secret_key.txt. # backup/secret_key.txt) to STORAGE_ROOT/backup/encrypted.
# 5) STORAGE_ROOT/backup/after-backup is executd if it exists.
import sys, os, os.path, shutil, glob import sys, os, os.path, shutil, glob