Updated UUID for backup drive in backup script
This commit is contained in:
parent
12f97c57b9
commit
12e44608b7
1 changed files with 8 additions and 3 deletions
|
|
@ -13,9 +13,14 @@ echo ""
|
|||
# echo "OS we're running on is $OS"
|
||||
source ~/git/shell-scripts/check_os.sh
|
||||
|
||||
# Get the mount point by uuid
|
||||
UUID=ff0b3c83-853d-452f-abb6-48069e337446
|
||||
mount_point=`findmnt -rn -S UUID=$UUID -o TARGET`
|
||||
# Get the mount point by uuid - for old USB drive
|
||||
#UUID=ff0b3c83-853d-452f-abb6-48069e337446
|
||||
#mount_point=`findmnt -rn -S UUID=$UUID -o TARGET`
|
||||
|
||||
# For dedicated Linux Backup drive
|
||||
# LABEL="LinuxBack" UUID="af60e100-e805-4318-abc8-175f916ff18a" TYPE="ext4" PARTUUID="3b3d0d2d-65a8-e440-a878-29fbf9184759"
|
||||
|
||||
mount_point=/data/LinuxBack
|
||||
|
||||
echo "Mount point is $mount_point"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue