summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b2e8da1)
This avoids starting a backup when, for example, the backup dir lives in
an external volume and it is not mounted.
ping -c1 "$1" > /dev/null 2>&1
}
ping -c1 "$1" > /dev/null 2>&1
}
+load_config
+
+if ! test -d "$BACKUP_PATH"
+then
+ error "BACKUP_PATH=$BACKUP_PATH doesn't exist!"
+ exit 1
+fi
+
date=`date "+$DATE_FMT"`
log
log
date=`date "+$DATE_FMT"`
log
log