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