Previously this was left as the responsibility of some wrapper script,
but that's really annoying, and we should do it ourselves.
At the top level is one directory for each client host. There are also
some special entries:
.TP
At the top level is one directory for each client host. There are also
some special entries:
.TP
+.B \&.rsync-backup-store
+This file must be present in order to indicate that a backup volume is
+present (and not just an empty mount point).
+.TP
.B fshash.cache
The cache database used for improving performance of local file
hashing. There may be other
.B fshash.cache
The cache database used for improving performance of local file
hashing. There may be other
## Back up the filesystems on the currently selected host using the
## currently selected snapshot type.
## Back up the filesystems on the currently selected host using the
## currently selected snapshot type.
+ ## Make sure that there's a store volume. We must do this here rather than
+ ## in the main body of the script, since the configuration file needs a
+ ## chance to override STOREDIR.
+ if ! [ -r $STOREDIR/.rsync-backup-store ]; then
+ echo >&2 "$quis: no backup volume mounted"
+ exit 15
+ fi
+
+ ## Back up each requested file system in turn.
for fs in "$@"; do
## Parse the argument.
for fs in "$@"; do
## Parse the argument.