[rear-users] USB archive path error

Cal Sawyer cal-s at blue-bolt.com
Tue Jul 17 19:18:04 CEST 2012


Hello, Gratien

Have Just installed the latest rev from git.  USB_PREFIX in
06_set_usb_device.sh is still (mis)defined with "rear/" prepended to the
path

> rear -V

    Relax-and-Recover 1.13.0-git201207161602 / 2012-07-16

regards,

- cal

On 17/07/12 09:41, Gratien D'haese wrote:
>
> I assume you were using rear-1.12.0? If so, then indeed you're right.
> We discovered this problem too at the LinuxTag workshop (last May).
> Try using the latest version from github (see
> http://relax-and-recover.org/download/ )
>
> best regards,
> Gratien
>
> On Mon, 16 Jul 2012 16:07:19 +0100, Cal Sawyer <cal-s at blue-bolt.com>
> wrote:
>
>     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:
>
>     OUTPUT=USB
>     BACKUP=NETFS
>     BACKUP_URL=usb:///dev/disk/by-label/REAR-000
>
>
>     In prep/NETFS/default/05_check_NETFS_requirements.sh:
>
>         backuparchive is
>     /disk1/tmp/rear.zlwSvhBIsE32725/outputfs/host.fqdn/backup.tar.gz
>
>     USB_PREFIX, as defined in 06_set_usb_device.sh:
>
>         USB_PREFIX="/rear//$(uname -n)/$(date +%Y%m%d.%H%M)"
>
>     Results in:
>
>     50_make_backup.sh:
>
>         opath is
>     /disk1/tmp/rear.zlwSvhBIsE32725/outputfs//rear//host.fqdn/20120716.1515
>
>     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
>
>  
>
> --
>
> Gratien D'haese
> IT3 Consultants bvba 
> Vennestraat 15, B-2560 Nijlen
>
>
> _______________________________________________
> rear-users mailing list
> rear-users at lists.relax-and-recover.org
> http://pikachu.3ti.be/mailman/listinfo/rear-users


-- 
Cal Sawyer | Systems Engineer
BlueBolt Ltd | 15-16 Margaret Street | London W1W 8RW | T: +44 (0)20 7637 5575 | F: +44 (0)20 7637 3296 | www.blue-bolt.com |


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://pikachu.3ti.be/pipermail/rear-users/attachments/20120717/8853630f/attachment.html 


More information about the rear-users mailing list