mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-12-27 01:02:10 +08:00
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:
parent
99b45997a6
commit
90991c6c24
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue