correction potentiel bug de montage
This commit is contained in:
parent
1858701627
commit
4e4769b555
|
@ -10,6 +10,11 @@ echo "==========================================================================
|
||||||
START_TIME=$(date +"%s")
|
START_TIME=$(date +"%s")
|
||||||
START_SIZE=$(du -s /var/backups/borg/ | awk '{ print $1 }')
|
START_SIZE=$(du -s /var/backups/borg/ | awk '{ print $1 }')
|
||||||
|
|
||||||
|
## Remount backup drive
|
||||||
|
sync
|
||||||
|
umount /var/backups
|
||||||
|
mount /var/backups
|
||||||
|
|
||||||
## Fix owner.
|
## Fix owner.
|
||||||
chown -R borg.borg /var/backups/borg/
|
chown -R borg.borg /var/backups/borg/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue