diff --git a/restic-auto/restic-auto b/restic-auto/restic-auto index afcc5f1..4a5018a 100755 --- a/restic-auto/restic-auto +++ b/restic-auto/restic-auto @@ -7,7 +7,7 @@ function backup_dir { echo "[ERROR] Cannot backup the root directory. Have you correctly configured the volumes to backup for this container ?" return -1 elif [ -d "/root_fs$1" ]; then - restic backup -q $RESTIC_BACKUP_FLAGS /root_fs$1 + restic backup $RESTIC_BACKUP_FLAGS /root_fs$1 return $? else echo "[ERROR] Directory $1 not found. Have you mounted the root fs from your host with the following option : '-v /:/root_fs:ro' ?" @@ -21,7 +21,7 @@ function backup_local_dir { echo "[ERROR] Cannot backup the root directory. Have you correctly configured the volumes to backup for this container ?" return -1 elif [ -d "$1" ]; then - restic backup -q $RESTIC_BACKUP_FLAGS $1 + restic backup $RESTIC_BACKUP_FLAGS $1 return $? else echo "[ERROR] Directory $1 not found." @@ -156,6 +156,6 @@ if [ "$1" == "" ] || [ "$1" == "backup" ]; then exit -1 fi elif [ "$1" == "maintenance" ] ; then - restic forget -q --keep-daily 7 --keep-weekly 4 --keep-monthly 12 --keep-yearly 2 --prune && restic prune -q + restic forget --keep-daily 7 --keep-weekly 4 --keep-monthly 12 --keep-yearly 2 --prune && restic prune fi