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>
This commit is contained in:
Brouware 2022-11-05 00:10:13 +01:00
parent 99b45997a6
commit 90991c6c24

View file

@ -275,7 +275,7 @@ sudo borg list "/mnt/backup/borg"
sudo borg delete --stats --progress "/mnt/backup/borg::20220223_174237-nextcloud-aio" 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 # 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: # 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/" sudo borg compact "/mnt/backup/"
@ -326,7 +326,7 @@ if ! [ -d "$DRIVE_MOUNTPOINT" ]; then
exit 1 exit 1
fi 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?" echo "Could not find the drive mountpoint in the fstab file. Did you add it there?"
exit 1 exit 1
fi fi