From 90991c6c24e1703b796b89f3f130d1d832a6a0ff Mon Sep 17 00:00:00 2001 From: Brouware <63195347+Brouware@users.noreply.github.com> Date: Sat, 5 Nov 2022 00:10:13 +0100 Subject: [PATCH] Fixed typo's - Fixed command to check Borg version - Fixed script breaking typo under "Sync the backup regularly to another drive" Signed-off-by: Brouware <63195347+Brouware@users.noreply.github.com> --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 742e0fec..7f965bc6 100644 --- a/readme.md +++ b/readme.md @@ -275,7 +275,7 @@ sudo borg list "/mnt/backup/borg" sudo borg delete --stats --progress "/mnt/backup/borg::20220223_174237-nextcloud-aio" # If borg 1.2.0 or higher is installed, you then need to run borg compact in order to clean up the freed space -sudo borg version +sudo borg --version # If version number of the command above is higher than 1.2.0 you need to run the command below: sudo borg compact "/mnt/backup/" @@ -326,7 +326,7 @@ if ! [ -d "$DRIVE_MOUNTPOINT" ]; then exit 1 fi -if ! grep -q " $DRIVE_MOUNTPOINT " /etc/fstab; then +if ! grep -q "$DRIVE_MOUNTPOINT" /etc/fstab; then echo "Could not find the drive mountpoint in the fstab file. Did you add it there?" exit 1 fi