Displaying 1 result from an estimated 1 matches for "itisi".
Did you mean:
itis
2013 Aug 25
1
Local and remote back up behave differently
...e}.${base}.${server}" >&2
rm -f /tmp/${name}.${base}.${server}
exit 0
}
if [ ! -d "${source}" ]; then
echo "Source ${source} not found."
exit 2
fi
# Get this systems hostname and
# check if we are backing up to the
# system the script is running on.
ItIsI=`uname -n`
if [ "${server}" = "${ItIsI}" ]; then
if [ -d /backups ]; then
dest="/backups/${server}"
options+=" --backup-dir=${source}.${day}"
else
echo "Directory /backups does not exist."
exit 3
fi
else...