Add REMOVE_LOGS_OLDER_THAN parameter to the config file
This commit is contained in:
parent
54f1389a05
commit
1bde60d7b7
2 changed files with 2 additions and 1 deletions
|
|
@ -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`*
|
||||
|
|
|
|||
|
|
@ -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*)
|
||||
|
|
|
|||
Loading…
Reference in a new issue