cleanup destination setting :-)

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-10-31 09:15:53 +01:00
parent 9e801582d5
commit 59c8941373

View file

@ -495,9 +495,9 @@ while [ "${i}" -lt "${no_sources}" ]; do
fi
# set time when we really begin to backup, not when we began to remove above
destination_date="$(${CDATE})"
destination_dir="${ddir}/${INTERVAL}.${destination_date}.$$"
destination_full="${destination}/${INTERVAL}.${destination_date}.$$"
destination_name="${INTERVAL}.$(${CDATE}).$$"
destination_dir="${ddir}/${destination_name}"
destination_full="${destination}/${destination_name}"
# give some info
_techo "Beginning to backup, this may take some time..."