Bacula-users

Re: [Bacula-users] restore multiple jobs

2010-01-11 19:55:38
Subject: Re: [Bacula-users] restore multiple jobs
From: Dan Langille <dan AT langille DOT org>
To: Ulrich Leodolter <ulrich.leodolter AT obvsg DOT at>
Date: Mon, 11 Jan 2010 19:52:52 -0500
Ulrich Leodolter wrote:
> Hello,
> 
> we get errors when restoring multiple jobid's at once.
> backup was done running parallel jobs for one client
> using different fileset but same filestorage (spooling enabled).
> restore single jobid's works without problems.
> looks like a bacula bug.
> 
> Error: attribs.c:423 File size of restored file ... not correct,
> Original xxx restore yyy
> 
> 
> would be nice if someone can try to reproduce this:
> 
> 1) install  bacula server / client 3.0.3
> 
> 2) define two FileSet and Job's (N = 1 2)
> 
> FileSet { 
>   Name = "setN"
>   Include {
>     Options {
>       signature = SHA1
>     }
>     File = /tmp/setN
>   }
> }
> 
> Job {
>   Name = "backupN"
>   JobDefs = "DefaultJob"
>   FileSet = "setN"
>   SpoolData = yes
> }
> 
> 3) define file storage, configure spooling
>   ...
>   Maximum Spool Size =  10M
>   Maximum Job Spool Size = 1M
>   Spool Directory = /tmp/bacula-spool
> 
> 4) put some files into each directory
> 
> for N in 1 2; do
>   mkdir /tmp/set$N
>   dd if=/dev/urandom of=/tmp/set$N/file1 bs=10k count=1k
>   dd if=/dev/urandom of=/tmp/set$N/file2 bs=10k count=1k
> done
> 
> 5)
> run backupN in parallel
> 
> 6)
> restore using 3: Enter list of comma separated JobIds to select
> enter jobids of previous backupN jobs

Additional information may be helpful.  Are you backing up to disk or 
tape.?  Are you streaming both jobs into the same Volume?

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>