diff options
| author | Laurent Cozic <laurent@cozic.net> | 2018-02-23 18:19:09 +0000 |
|---|---|---|
| committer | Laurent Cozic <laurent@cozic.net> | 2018-02-23 18:19:09 +0000 |
| commit | 051733df1e7c03f68d81789ea7e9ca81b7203cc4 (patch) | |
| tree | b6b77487b2edfe3f928ab7ed6900a1879fd8e26a | |
| parent | 7383c50134c44cea13ef0c96ea8935dd8cf47c30 (diff) | |
Fixed variable names
| -rwxr-xr-x | rsync_tmbackup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rsync_tmbackup.sh b/rsync_tmbackup.sh index 6e0b289..2a21fe2 100755 --- a/rsync_tmbackup.sh +++ b/rsync_tmbackup.sh @@ -43,7 +43,7 @@ fn_display_usage() { echo " not be managed by the script - in particular they will not be" echo " automatically deleted." echo " Default: $LOG_DIR" - echo " --strategy Set the expiration strategy. Default: \"365:30 30:7 1:1\" means after one" + echo " --strategy Set the expiration strategy. Default: \"1:1 30:7 365:30\" means after one" echo " day, keep one backup per day. After 30 days, keep one backup every 7 days." echo " After 365 days keep one backup every 30 days." echo "" @@ -240,7 +240,7 @@ while :; do ;; --strategy) shift - STRATEGY="$1" + EXPIRATION_STRATEGY="$1" ;; --log-dir) shift |
