It looks to me like you are running on a pretty old version of Bacula since 
the bsr file does not contain counts.  What version are you using?

If you are on anything older than 1.36.2, then please upgrade to 1.36.3 and 
retry.  If it produces the same thing, please submit a bug report with the 
commands you used to do the restore (as you have below), the bsr file (as 
below), and the job report output from the restore job as you have summarized 
it below, but please also include the Job Report Summary written at the end 
of the job.

On Wednesday 11 May 2005 09:28, Danie Theron wrote:
> Kern Sibbald wrote:
> >On Tuesday 10 May 2005 16:15, Danie Theron wrote:
> >>Hi ,
> >>
> >>I want to do a restore of a single user directory from a full volume ,
> >>and everytime it wants to restore ALL the files of that full backup. I
> >>have defined the bootstrap , Filestorage etc correctly... Why would this
> >>happen?
> >>
> >>*restore
> >>
> >>First you select one or more JobIds that contain files
> >>to be restored. You will be presented several methods
> >>of specifying the JobIds. Then you will be allowed to
> >>select which files from those JobIds are to be restored.
> >>
> >>To select the JobIds, you have the following choices:
> >>     1: List last 20 Jobs run
> >>     2: List Jobs where a given File is saved
> >>     3: Enter list of comma separated JobIds to select
> >>     4: Enter SQL list command
> >>     5: Select the most recent backup for a client
> >>     6: Select backup for a client before a specified time
> >>     7: Enter a list of files to restore
> >>     8: Enter a list of files to restore before a specified time
> >>     9: Cancel
> >>Select item:  (1-9): 3
> >>Enter JobId(s), comma separated, to restore: 157
> >>You have selected the following JobId: 157
> >>
> >>Building directory tree for JobId 157 ...
> >>+++++++++++++++++++++++++++++++++++++++++++++++++
> >>1 Job, 20,229 files inserted into the tree.
> >>
> >>cwd is: /
> >>$ unmark *
> >>20230 files unmarked.
> >>$ count
> >>20,230 total files/dirs. 0 marked to be restored.
> >>$ cd d:/Users/rudolf
> >>cwd is: d:/Users/rudolf/
> >>$ mark *
> >>3,248 files marked.
> >>$ count
> >>20,230 total files/dirs. 3,251 marked to be restored.
> >>
> >>All is fine , I modify the needed parameters , but it restores
> >>everything....
> >
> >It is hard to believe, please show me the output and the bootstrap file.
>
> Kern ,
>
> Here's a snip of the restore job
>
> 10-May 17:59 venus-dir: Start Restore Job
> RestoreApolloUsersFull.2005-05-10_17.59.56
> 10-May 18:00 venus-sd: Ready to read from volume "apollousersfull-0002"
> on device /arch/apollo/users.
> danie-fd: drwxrwxrwx   1 0        0              0 2003-12-10 17:05:17
> /e/tmp/bacula-restores/d//Users/Admin/
> danie-fd: drwxrwxrwx   1 0        0              0 2003-12-10 17:05:58
> /e/tmp/bacula-restores/d//Users/antoinette/
> danie-fd: drwxrwxrwx   1 0        0              0 2003-12-10 16:09:05
> /e/tmp/bacula-restores/d//Users/Barry/
> danie-fd: -rwxrwxrwx   1 0        0           1997 2005-02-11 10:46:35
> /e/tmp/bacula-restores/d//Users/ben/Credit.csv
> danie-fd: -rwxrwxrwx   1 0        0         118272 2005-02-11 10:49:44
> /e/tmp/bacula-restores/d//Users/ben/Problem on Casper.doc
> danie-fd: -rwxrwxrwx   1 0        0              0 2005-02-23 16:22:49
> /e/tmp/bacula-restores/d//Users/ben/________
> danie-fd: drwxrwxrwx   1 0        0              0 2005-02-04 15:05:44
> /e/tmp/bacula-restores/d//Users/ben/
> danie-fd: -rwxrwxrwx   1 0        0          19968 2005-02-21 16:13:12
> /e/tmp/bacula-restores/d//Users/celeste/Celeste/Interview Questions.doc
> danie-fd: -rwxrwxrwx   1 0        0          20480 2005-02-23 17:47:24
> /e/tmp/bacula-restores/d//Users/celeste/Celeste/LIST OF THINGS TO DO FOR
> NEW PA.doc
> danie-fd: -rwxrwxrwx   1 0        0          22016 2005-01-06 15:47:32
> /e/tmp/bacula-restores/d//Users/celeste/Celeste/Terminology.doc
> danie-fd: drwxrwxrwx   1 0        0              0 2005-01-06 15:47:27
> /e/tmp/bacula-restores/d//Users/celeste/Celeste/
> danie-fd: -rwxrwxrwx   1 0        0          41984 2004-11-24 10:12:56
> /e/tmp/bacula-restores/d//Users/celeste/Correspondence/E.Goott Balance
> Sheet.doc
> danie-fd: -rwxrwxrwx   1 0        0          33280 2004-11-15 09:58:45
> /e/tmp/bacula-restores/d//Users/celeste/Correspondence/MLS address
> change.doc
> danie-fd: -rwxrwxrwx   1 0        0         108544 2005-01-31 17:48:06
> /e/tmp/bacula-restores/d//Users/celeste/Correspondence/Pierre Lease
> Norwood.doc
> danie-fd: -rwxrwxrwx   1 0        0          43520 2004-11-24 11:20:01
> /e/tmp/bacula-restores/d//Users/celeste/Correspondence/Sandra Mart
> Letter.doc
> danie-fd: -rwxrwxrwx   1 0        0          41472 2004-11-24 10:57:33
> /e/tmp/bacula-restores/d//Users/celeste/Correspondence/Std Bank Delivery
> Balance Sheet.doc
> danie-fd: drwxrwxrwx   1 0        0              0 2004-11-15 09:57:43
> /e/tmp/bacula-restores/d//Users/celeste/Correspondence/
> danie-fd: -rwxrwxrwx   1 0        0          23040 2004-12-14 15:10:08
> /e/tmp/bacula-restores/d//Users/celeste/Errol/Expenses London Nebraska
> Nov04.xls
> danie-fd: drwxrwxrwx   1 0        0              0 2004-12-14 15:10:01
> /e/tmp/bacula-restores/d//Users/celeste/Errol/
> danie-fd: -rwxrwxrwx   1 0        0          35328 2004-11-18 16:56:31
> /e/tmp/bacula-restores/d//Users/celeste/Errol Private/AA Permission
> form.doc danie-fd: -rwxrwxrwx   1 0        0          34304 2005-01-24
> 09:38:00 /e/tmp/bacula-restores/d//Users/celeste/Errol Private/ABSA Vehicle
> Loan.doc danie-fd: -rwxrwxrwx   1 0        0          24064 2004-11-26
> 15:24:32 /e/tmp/bacula-restores/d//Users/celeste/Errol Private/Addresses UK
> meetings.doc
> danie-fd: -rwxrwxrwx   1 0        0          33792 2005-01-27 10:51:25
> /e/tmp/bacula-restores/d//Users/celeste/Errol Private/BMW Loan Bank
> Statements.doc
> danie-fd: -rwxrwxrwx   1 0        0         107008 2005-02-10 11:45:32
> /e/tmp/bacula-restores/d//Users/celeste/Errol Private/Chequebook
> collection.doc
> danie-fd: -rwxrwxrwx   1 0        0          19968 2004-11-05 11:45:01
> /e/tmp/bacula-restores/d//Users/celeste/Errol Private/Cover Page Cert.
> Docs.doc
> danie-fd: -rwxrwxrwx   1 0        0          37888 2004-12-20 13:00:31
> /e/tmp/bacula-restores/d//Users/celeste/Errol Private/Daily Fax 20Dec04.doc
> danie-fd: -rwxrwxrwx   1 0        0          38400 2005-01-17 12:14:35
> /e/tmp/bacula-restores/d//Users/celeste/Errol Private/Debit Order Switch
> ABSA Credit Card.doc
> danie-fd: -rwxrwxrwx   1 0        0          38912 2005-01-17 11:32:47
> /e/tmp/bacula-restores/d//Users/celeste/Errol Private/Debit Order Switch
> Investec.doc
> danie-fd: -rwxrwxrwx   1 0        0          38400 2005-01-17 12:07:58
> /e/tmp/bacula-restores/d//Users/celeste/Errol Private/Debit Order Switch
> MLS Bank.doc
> danie-fd: -rwxrwxrwx   1 0        0          41472 2005-01-27 17:43:39
> /e/tmp/bacula-restores/d//Users/celeste/Errol Private/Discovery Claims
> Jan05.doc
>
> I have also attached the bootstrap for your perusal.
> Hope this helps
>
> D

-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to