[rear-users] USB archive path error

Cal Sawyer cal-s at blue-bolt.com
Mon Jul 16 17:07:19 CEST 2012

Hello, Rear-devs

I think i've uncovered a small scripting bug in
prep/USB/default/06_set_usb_device.sh, which causes archive writes to
the outputfs/ path to fail

local.conf, per documentation:


In prep/NETFS/default/05_check_NETFS_requirements.sh:

    backuparchive is

USB_PREFIX, as defined in 06_set_usb_device.sh:

    USB_PREFIX="/rear//$(uname -n)/$(date +%Y%m%d.%H%M)"

Results in:


    opath is

Consequently, the tar archive step can't write to this non-existent
path.  Changing USB_PREFIX in 06_set_usb_device.sh to:

    USB_PREFIX="$(uname -n)/$(date +%Y%m%d.%H%M)"

makes opath consistent with backuparchive and the tar archive succeeds.

thanks for ReaR!

- cal sawyer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://pikachu.3ti.be/pipermail/rear-users/attachments/20120716/4111ed9a/attachment.html 

More information about the rear-users mailing list