Files
shell_sequencer/seqs/ebackup.cfg.example
2021-02-03 23:53:46 +01:00

75 lines
1.8 KiB
Bash

#!/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)
# m h dom mon dow
#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'
#
## 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"\
)