New seq for encrypted profile based backup management using duplicity
This commit is contained in:
62
seqs/ebackup.cfg.example
Normal file
62
seqs/ebackup.cfg.example
Normal file
@@ -0,0 +1,62 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 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 * * *'
|
||||
|
||||
# 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=
|
||||
|
||||
#
|
||||
## 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"\
|
||||
)
|
Reference in New Issue
Block a user