From 1bde60d7b7b8236fcda42105b406ddeb1bc0a211 Mon Sep 17 00:00:00 2001 From: zertrin Date: Wed, 16 Apr 2014 15:05:23 +0200 Subject: [PATCH] Add REMOVE_LOGS_OLDER_THAN parameter to the config file --- README.md | 2 +- duplicity-backup.conf.example | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 78ff157..fd816f2 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Be sure to make the script executable (`chmod +x`) before you hit the gas. ## Requirements * [duplicity](http://duplicity.nongnu.org/) -* Basic utilities like: [bash](https://www.gnu.org/software/bash/), [which](http://unixhelp.ed.ac.uk/CGI/man-cgi?which) and [tee](http://linux.die.net/man/1/tee) (should already be available on most Linux systems) +* Basic utilities like: [bash](https://www.gnu.org/software/bash/), [which](http://unixhelp.ed.ac.uk/CGI/man-cgi?which), [find](http://www.gnu.org/software/findutils/) and [tee](http://linux.die.net/man/1/tee) (should already be available on most Linux systems) * [gpg](http://www.gnupg.org/) *`optional`* * [Amazon S3](http://aws.amazon.com/s3/) *`optional`* * [s3cmd](http://s3tools.org/s3cmd) *`optional`* diff --git a/duplicity-backup.conf.example b/duplicity-backup.conf.example index 098cf9f..a52f7c0 100644 --- a/duplicity-backup.conf.example +++ b/duplicity-backup.conf.example @@ -238,6 +238,7 @@ CLEAN_UP_VARIABLE="4" LOGDIR="/home/foobar_user_name/logs/test2/" LOG_FILE="duplicity-`date +%Y-%m-%d_%H-%M`.txt" LOG_FILE_OWNER="foobar_user_name:foobar_user_name" +#REMOVE_LOGS_OLDER_THAN='30' # (days) uncomment to activate VERBOSITY="-v3" # EMAIL ALERT (*thanks: rmarescu*)