Your message dated Sun, 29 May 2016 20:06:00 +0200
with message-id <[email protected]>
and subject line Re: Bug#811089: bconsole: typo forbids non-interactive restore
has caused the Debian Bug report #811089,
regarding bconsole: typo forbids non-interactive restore
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
811089: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811089
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bacula-console
Version: 5.2.6+dfsg-9.3
Severity: normal

Dear Maintainer,

 there is a typo in src/dird/ua_restore.c which hinders starting a
non-interactive restore.  This bug has been reported upstream at 
http://bugs.bacula.org/view.php?id=1899 and is a one character fix:

#v+
Index: bacula-5.2.6+dfsg/src/dird/ua_restore.c
===================================================================
--- bacula-5.2.6+dfsg.orig/src/dird/ua_restore.c        2016-01-15 
14:54:10.676996102 +0100
+++ bacula-5.2.6+dfsg/src/dird/ua_restore.c     2016-01-15 14:54:45.129322694 
+0100
@@ -472,7 +472,7 @@
       "restoreclient", /* 19 */
       "copies",        /* 20 */
       "comment",       /* 21 */
-      "restorejob",    /* 22 */
+      "restore_job",   /* 22 */
       "replace",       /* 23 */
       NULL
    };
#v-

 Please get this patch applied, it's really annoying to not being able
to give that option on the command line.  I've created myself a local
build with that patch and it works like a charm.  It would be extremely
nice to have this fixed in a stable update.  According to
https://sources.debian.net/src/bacula/7.0.5%2Bdfsg-4/src/dird/ua_restore.c/#L481
this still affects the version in unstable, too.

 Thanks,
Rhonda
-- 
strg.at gmbh
    [email protected]
    gumpendorfer strasse 132/9, 1060 wien
    tel +43 (1) 526 56 29

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Version: 7.0.5+dfsg-2

Hi Rhonda,

Rhonda D'Vine <[email protected]> writes:

>  I'm a bit puzzled by the upstream bug comment that it should be fixed
> already since 2012, but I still see it called restorejob in there in the
> 7.0.5 version.  It might be that they fixed it in the other direction,
> of making restorejob work instead; but I'm uncertain, didn't check it
> with a setup of that version.

the comment apparently refers to this commit:

http://www.bacula.org/git/cgit.cgi/bacula/commit/?h=Branch-7.4&id=4e592f08c7c87494fe2937ebb3e23b65b39ad09d

It looks like upstreams wish is that the keyword should be named
"restorejob", and they patched accordingly.

I've tried with versions 7.0.5 and 7.4.0 and it works with both, using a
command like this:

restore where=/tmp/restore client=clientname-fd restorejob=RestoreJob 
restoreclient=clientname-fd fileset="Full Set" select current all done yes

Once 7.4.0 enters testing and I think it's ready for it, I'll upload to
backports.

I do not plan to update the old version in stable.

Carsten

--- End Message ---

Reply via email to