Hello,
On Friday 28 October 2005 21:22, Christoph Haas wrote:
> Evening...
>
> I had accidentally purged a client and wanted to rebuild the catalog using
> bscan. So I browsed through my status mails looking for the status report
> of the last full backup. I inserted all three tapes mentioned in the backup
> report and ran bscan like this:
>
> /usr/lib/bacula/bscan.mysql -V bacula02 -c /etc/bacula/bacula-sd.conf \
> -u database-user -P database-password -v -s -m /dev/nst0
> /usr/lib/bacula/bscan.mysql -V bacula12 -c /etc/bacula/bacula-sd.conf \
> -u database-user -P database-password -v -s -m /dev/nst0
> /usr/lib/bacula/bscan.mysql -V bacula15 -c /etc/bacula/bacula-sd.conf \
> -u database-user -P database-password -v -s -m /dev/nst0
>
> After the tapes have been read in I entered the bconsole and ran
> "list jobs". (I needed to do this twice until today.) And both times
> the full backup job was listed with status 'E' (error). Running
> "list files jobid=188" told me that no files were backed up in that job.
>
> Is this supposed to work normally and I have just had bad luck? Or did I
> get the restoration procedure wrong?
>
> Talking about Bacula 1.36.2 on Debian Sarge.
>
> Hints welcome.
Well, I can see two things:
1. It would be better to do a single bscan with all the tapes mentioned in the
correct order. The development (1.38.0) manual shows how to do that:
bscan ... -V bacula02\|bacula12\|bacula15 ...
if I remember right.
2. If JobId 188 existed in the database after the purge (i.e. you did not
delete it), then during the bscan when it is re-inserted, it will probably
get a new JobId. The output from bscan should indicate what happened.
>
> Regards
> Christoph
--
Best regards,
Kern
(">
/\
V_V
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users