#!/bin/bash # Passphrase for symmetrical(default) or asymmetrical encryption EBU_PASSPHRASE= # scheme://[user[:password]@]host[:port]/[/]path # e.g. # file://[relative|/absolute]/local/path # scp://user[:password]@other.host[:port]/[relative|/absolute]_path # webdav[s]://user[:password]@other.host[:port]/some_dir # alternatively try lftp+webdav[s]:// EBU_TARGET_USER= EBU_TARGET_PASS= EBU_TARGET= # base directory to backup EBU_SOURCE= # Change the volume size to number MB. Default is 200MB. #EBU_VOLSIZE= # a command that runs duplicity e.g. # shape bandwidth use via trickle # "trickle -s -u 640 -d 5120" # 5Mb up, 40Mb down" #EBU_PRECMD="" # How often the backup job should be run # Default is to run every day at 02:01 am # (see man 5 crontab for syntax help) # .---------------- minute (0 - 59) # | .------------- hour (0 - 23) # | | .---------- day of month (1 - 31) # | | | .------- month (1 - 12) OR jan,feb,mar,apr ... # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat # | | | | | # m h dom mon dow usercommand #EBU_CRONTIME='1 2 * * *' # Uncomment to save the output of the cron run to a logfile # log file name will be "encBackup_profilename.log" #EBU_LOG_DIR='/var/log' # Uncomment to log a message to syslog after # * backup run # * cron file update #EBU_SYSLOG=true # ## Age options # activates duplicity --full-if-older-than option (since duplicity v0.4.4.RC3) # forces a full backup if last full backup reaches a specified age # (see duplicity man page, chapter TIME_FORMATS) #EBU_MAX_FULLBKP_AGE=1M # ## Purge options # Time frame for old backups to keep "remove-older-than" # (see duplicity man page, chapter TIME_FORMATS) #EBU_MAX_AGE=3M # Number of full backups to keep. # (see duplicity man page, action "remove-all-but-n-full") #EBU_MAX_FULL_BACKUPS=1 # Number of full backups for which incrementals will be kept for. # (see duplicity man page, action "remove-all-inc-of-but-n-full") #EBU_MAX_FULLS_WITH_INCRS=1 # ## Exclusion options # Standard excludes when backing up a full system EBU_EXCLUDES=(\ "/backup*"\ "/dev/*"\ "/proc/*"\ "/sys/*"\ "/tmp/*"\ "/run/*"\ "/mnt/*"\ "/media/*"\ "/lost+found"\ )