On Wednesday 11 May 2005 11:47, Danie Theron wrote:
> Kern Sibbald wrote:
> >On Wednesday 11 May 2005 10:52, Danie Theron wrote:
> >>Kern Sibbald wrote:
> >>>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.
> >
> >...
> >
> >
> >
> >
> >
> >Well, if I understand what you are doing, you are using the restore
> > command, but at the last minute you set the Bootstrap file to none. If
> > that is the case, I am surprised that it works at all, and if it does
> > work, surely it is going to restore everything. In effect, you shot
> > yourself in the foot.
> >
> >Without a bootstrap file you cannot restore only a portion of the files.
>
> Kern ,
>
> I ran the same job with the bootstrap specified (sorry for the long
> paste , thought I'd include all the steps I did)
>
> Building directory tree for JobId 495 ...
> ++++++++++++++++++++++++++++++++++++++++++++++
> 1 Job, 184 files inserted into the tree.
>
> You are now entering file selection mode where you add (mark) and
> remove (unmark) files to be restored. No files are initially added, unless
> you used the "all" keyword on the command line.
> Enter "done" to leave this mode.
>
> cwd is: /
> $ unmark
> No files unmarked.
> $ cd d:
> cwd is: d:/
> $ cd Users
> cwd is: d:/Users/
> $ cd kaygee
> cwd is: d:/Users/kaygee/
> $ mark *
> 1 files marked.
> $ done
> Bootstrap records written to /var/bacula/restore.bsr
>
> The job will require the following Volumes:
>
> apollousersincr-0022
>
>
> 1 file selected to be restored.
>
> The defined Restore Job resources are:
> 1: RestoreFiles
> 2: RestoreApolloUsersFull
> Select Restore Job (1-2): 2
> Defined Clients:
> 1: mailx3-fd
> 2: danie-fd
> 3: rock-fd
> 4: venus-fd
> 5: apollo-fd
> 6: mercury-fd
> 7: tyrone-fd
> 8: errol-fd
> Select the Client (1-8): 2
> Run Restore job
> JobName: RestoreApolloUsersFull
> Bootstrap: /var/bacula/restore.bsr
> Where: /e/tmp/bacula-restores
> Replace: always
> FileSet: apollousers Set
> Client: danie-fd
> Storage: verpaktshareFile
> When: 2005-05-11 11:05:47
> Catalog: MyCatalog
> Priority: 10
> OK to run? (yes/mod/no): mod
> Parameters to modify:
> 1: Level
> 2: Storage
> 3: Job
> 4: FileSet
> 5: Client
> 6: When
> 7: Priority
> 8: Bootstrap
> 9: Where
> 10: Replace
> 11: JobId
> Select parameter to modify (1-11): 8
> Please enter the Bootstrap file name: /var/bacula/apollousers.bsr
> Run Restore job
> JobName: RestoreApolloUsersFull
> Bootstrap: /var/bacula/apollousers.bsr
> Where: /e/tmp/bacula-restores
> Replace: always
> FileSet: apollousers Set
> Client: danie-fd
> Storage: verpaktshareFile
> When: 2005-05-11 11:05:47
> Catalog: MyCatalog
> Priority: 10
> OK to run? (yes/mod/no): mod
> Parameters to modify:
> 1: Level
> 2: Storage
> 3: Job
> 4: FileSet
> 5: Client
> 6: When
> 7: Priority
> 8: Bootstrap
> 9: Where
> 10: Replace
> 11: JobId
> Select parameter to modify (1-11): 2
> The defined Storage resources are:
> 1: verpaktshareFile
> 2: mailx3File
> 3: apolloprofFile
> 4: apollosqlFile
> 5: apollousersFile
> 6: rocksqlFile
> 7: rockprofFile
> 8: sqlFile
> 9: winFile
> 10: File
> Select Storage resource (1-10): 5
> Run Restore job
> JobName: RestoreApolloUsersFull
> Bootstrap: /var/bacula/apollousers.bsr
> Where: /e/tmp/bacula-restores
> Replace: always
> FileSet: apollousers Set
> Client: danie-fd
> Storage: apollousersFile
> When: 2005-05-11 11:05:47
> Catalog: MyCatalog
> Priority: 10
> OK to run? (yes/mod/no): mod
> Parameters to modify:
> 1: Level
> 2: Storage
> 3: Job
> 4: FileSet
> 5: Client
> 6: When
> 7: Priority
> 8: Bootstrap
> 9: Where
> 10: Replace
> 11: JobId
> Select parameter to modify (1-11): 4
> The defined FileSet resources are:
> 1: verpaktshare Set
> 2: mailx3 Set
> 3: apollosql Set
> 4: apolloprof Set
> 5: apollousers Set
> 6: te_hdrive Set
> 7: rocksql Set
> 8: rockprof Set
> 9: sql Set
> 10: Windows 2000 Set
> 11: Full Set
> 12: Catalog
> Select FileSet resource (1-12): 5
> Run Restore job
> JobName: RestoreApolloUsersFull
> Bootstrap: /var/bacula/apollousers.bsr
> Where: /e/tmp/bacula-restores
> Replace: always
> FileSet: apollousers Set
> Client: danie-fd
> Storage: apollousersFile
> When: 2005-05-11 11:05:47
> Catalog: MyCatalog
> Priority: 10
> OK to run? (yes/mod/no): yes
> Job started. JobId=529
>
>
> Still it restores everything..... not sure what I'm doing wrong , should
> I just upgrade and see if that solves the problem?
Yes please upgrade -- be careful, I believe there is a database upgrade.
--
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users