diff options
-rw-r--r-- | README.md | 6 | ||||
-rwxr-xr-x | borger | 8 |
2 files changed, 7 insertions, 7 deletions
@@ -70,12 +70,12 @@ can be adjusted using the `INTERVAL` config variable. See [this issue](https://github.com/borgbackup/borg/issues/325) for a discussion on continous backups. -# Checking your backups +# Listing your backups As simply as - borger servername --check - borger mydisk --check + borger servername --list + borger mydisk --list # WARNING @@ -28,7 +28,7 @@ function fatal { } function borger_usage { - echo "usage: $BASENAME <destination> [--continuous|--check]" + echo "usage: $BASENAME <destination> [--continuous|--list]" echo -n "available destinations from $BASE_CONFIG: " ls $BASE_CONFIG exit 1 @@ -69,8 +69,8 @@ function borger_config { fi } -# Check -function borger_check { +# List +function borger_list { borg list exit $? } @@ -185,7 +185,7 @@ if [ -z "$DESTINATION" ]; then borger_usage elif [ -z "$OPTION" ]; then borger_run -elif [ "$OPTION" == "--check" ]; then +elif [ "$OPTION" == "--list" ]; then borger_config borger_check elif [ "$OPTION" == "--continuous" ]; then |