Browse Source

updated backup script

pull/1/head
Jeffrey Paul 1 year ago
parent
commit
0b94854432
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bin/backup-dir

+ 2
- 2
bin/backup-dir View File

@@ -18,8 +18,8 @@ FN="$TS.$HOSTNAME.$UUID.$DIRBASENAME"

BACKUPDEST=notfound
for DIR in /Volumes/* ; do
if [[ -e "$DIR/backup/.sneakbackup" ]]; then
BACKUPDEST="$DIR/backup"
if [[ -e "$DIR/berlin.sneak/backup" ]]; then
BACKUPDEST="$DIR/berlin.sneak/backup"
fi
done


Loading…
Cancel
Save