added script to remove wrestic and unmount drives
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
if ping -c 1 192.168.1.41 > /dev/null 2>&1
|
||||
then
|
||||
if [[ ! -d /mnt/truenas-backups/archivebackups ]]
|
||||
then
|
||||
sudo wrestic backup
|
||||
else
|
||||
echo "TrueNAS is offline"
|
||||
fi
|
||||
Reference in New Issue
Block a user