Backup system agnostic comments
This commit is contained in:
parent
d9322df7b4
commit
85043cf1a2
|
@ -367,12 +367,12 @@ function restore_directory_from_usb_duplicity {
|
||||||
|
|
||||||
function restore_directory_from_usb {
|
function restore_directory_from_usb {
|
||||||
if [ ! ${1} ]; then
|
if [ ! ${1} ]; then
|
||||||
echo "obnam restore -r $USB_MOUNT/backup/${2} --to ${1}"
|
echo "$USB_MOUNT/backup/${2} -> ${1}"
|
||||||
echo $'No restore destination given'
|
echo $'No restore destination given'
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
if [ ! ${2} ]; then
|
if [ ! ${2} ]; then
|
||||||
echo "obnam restore -r $USB_MOUNT/backup/${2} --to ${1}"
|
echo "$USB_MOUNT/backup/${2} -> ${1}"
|
||||||
echo $'No restore source given'
|
echo $'No restore source given'
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue