#427 Issue closed: Networker backup fails if pool name contains spaces (rear-1.16.1-1)

Labels: bug

IanSJones opened issue at 2014-06-16 14:03:

If you use BACKUP=NSR then the mkbackup will fail if there is a space in the pool name.

The fix is to edit: /usr/share/rear/output/NSR/default/95_nsr_save_result_files.sh

Put speechmarks around the POOLNAME definition and reference:

Before: Line 42: POOLNAME=$( mminfo -s $NSRSERVER -a -q "client=$CLIENTNAME" -r "pool" )
After: Line 42: POOLNAME="$( mminfo -s $NSRSERVER -a -q "client=$CLIENTNAME" -r "pool" )"

Before: Line 47: save -s $NSRSERVER -c $CLIENTNAME -b $POOLNAME -y "$RETENTION_TIME" "${NSR_RESULT_FILES[@]}" 1>&8
After: Line 47: save -s $NSRSERVER -c $CLIENTNAME -b "$POOLNAME" -y "$RETENTION_TIME" "${NSR_RESULT_FILES[@]}" 1>&8


[Export of Github issue for rear/rear.]