forked from ISTI-ansible-roles/ansible-roles
Merge pull request 'duply configuration: raise the max open files. Force a full backup regularly.' (#206) from adellam/ansible-roles:master into master
This commit is contained in:
commit
bda5dd7295
|
@ -5,6 +5,7 @@ DUPLY=/usr/bin/duply
|
||||||
D_PROFILE={{ duply_default_profile }}
|
D_PROFILE={{ duply_default_profile }}
|
||||||
LOG_FILE={{ duplicity_cron_job_logfile }}
|
LOG_FILE={{ duplicity_cron_job_logfile }}
|
||||||
LOCK_FILE={{ duplicity_temp_dir }}/.duply-backup.lock
|
LOCK_FILE={{ duplicity_temp_dir }}/.duply-backup.lock
|
||||||
|
ulimit -n 32000
|
||||||
|
|
||||||
if [ ! -f $LOCK_FILE ] ; then
|
if [ ! -f $LOCK_FILE ] ; then
|
||||||
echo $$ > $LOCK_FILE
|
echo $$ > $LOCK_FILE
|
||||||
|
|
|
@ -121,8 +121,8 @@ MAX_FULLS_WITH_INCRS={{ duplicity_max_full_with_incrs }}
|
||||||
# forces a full backup if last full backup reaches a specified age, for the
|
# forces a full backup if last full backup reaches a specified age, for the
|
||||||
# format of MAX_FULLBKP_AGE see duplicity man page, chapter TIME_FORMATS
|
# format of MAX_FULLBKP_AGE see duplicity man page, chapter TIME_FORMATS
|
||||||
# Uncomment the following two lines to enable this setting.
|
# Uncomment the following two lines to enable this setting.
|
||||||
#MAX_FULLBKP_AGE=1M
|
MAX_FULLBKP_AGE={{ duplicity_max_backup_age }}
|
||||||
#DUPL_PARAMS="$DUPL_PARAMS --full-if-older-than $MAX_FULLBKP_AGE "
|
DUPL_PARAMS="$DUPL_PARAMS --full-if-older-than $MAX_FULLBKP_AGE "
|
||||||
|
|
||||||
# sets duplicity --volsize option (available since v0.4.3.RC7)
|
# sets duplicity --volsize option (available since v0.4.3.RC7)
|
||||||
# set the size of backup chunks to VOLSIZE MB instead of the default 25MB.
|
# set the size of backup chunks to VOLSIZE MB instead of the default 25MB.
|
||||||
|
|
Loading…
Reference in New Issue