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:
Andrea Dell'Amico 2020-05-24 13:37:36 +02:00
commit bda5dd7295
2 changed files with 3 additions and 2 deletions

View File

@ -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

View 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.