selective-backup.py
This commit is contained in:
@@ -7,15 +7,15 @@ import shutil
|
||||
basedir = "/media/hd/cloud"
|
||||
|
||||
# list of the paths to the files and directories to be copied, relative to the base directory
|
||||
filelist = "/media/hd/cloud/Tilman/Computer/selective-backups/filelist.txt"
|
||||
filelist = "/media/hd/cloud/Tilman/Computer/selective-backup/filelist.txt"
|
||||
|
||||
# duration for backups to be kept
|
||||
days_to_keep = 5
|
||||
months_to_keep = 5
|
||||
|
||||
# directories to backup to
|
||||
daily_dir = "/media/hd/cloud/Tilman/Computer/selective-backups/daily/"
|
||||
monthly_dir = "/media/hd/cloud/Tilman/Computer/selective-backups/monthly/"
|
||||
daily_dir = "/media/hd/cloud/Tilman/Computer/selective-backup/daily/"
|
||||
monthly_dir = "/media/hd/cloud/Tilman/Computer/selective-backup/monthly/"
|
||||
|
||||
now = datetime.now()
|
||||
today = datetime.today()
|
||||
|
||||
Reference in New Issue
Block a user