Hello,

It appears that you are *vastly* over complicating things.  First, you only 
need one (the default) RestoreFiles job. Second, once you select the files, 
using the restore command and menu item 5 (if I remember right), which I 
don't see in the listing below, there should be little or no need to use 
"mod", and if you are using mod to change the bootstrap file, you are surely 
doing something wrong unless you are a *super* expert. If you use "mod" to 
change other parameters, probably you are doing something wrong.

If you do the restore correctly, the bootstrap will be generated for you and 
it will be named /some-path/restore.bsr.  There is no need to change it.

I'd suggest you bring up a test Bacula someplace and run through the example 
in the Tutorial chapter. It shows you the easy way to restore files.



On Wednesday 18 May 2005 10:36, Danie Theron wrote:
> Hi ,
>
> OK , upgraded to 1.36.3 ( thanks goes to Arno and Andrew). Did a test
> restore of a users directory , but still it seems bacula wants to
> restore everything. I'm running the following setup :
>
> Fedora Core 3 with RAID 5 (4 x 300GB Seagate Barracudas) , running
> /usr/bin/mysqladmin  Ver 8.23 Distrib 3.23.58, for redhat-linux-gnu on i386
>
>
> The job will require the following Volumes:
>
>    apollousersfull-0005
>
>
> 9 files selected to be restored.
>
> The defined Restore Job resources are:
>      1: RestoreFiles
>      2: RestoreApolloUsersIncr
> 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:    RestoreApolloUsersIncr
> Bootstrap:  /var/bacula/restore.bsr
> Where:      /e/tmp/bacula-restores
> Replace:    always
> FileSet:    apollousers Set
> Client:     danie-fd
> Storage:    verpaktshareFile
> When:       2005-05-18 10:03:42
> 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:    RestoreApolloUsersIncr
> Bootstrap:  /var/bacula/apollousers.bsr
> Where:      /e/tmp/bacula-restores
> Replace:    always
> FileSet:    apollousers Set
> Client:     danie-fd
> Storage:    verpaktshareFile
> When:       2005-05-18 10:03:42
> 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:    RestoreApolloUsersIncr
> Bootstrap:  /var/bacula/apollousers.bsr
> Where:      /e/tmp/bacula-restores
> Replace:    always
> FileSet:    apollousers Set
> Client:     danie-fd
> Storage:    apollousersFile
> When:       2005-05-18 10:03:42
> 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: apollodesign Set
>      7: te_hdrive Set
>      8: rocksql Set
>      9: rockprof Set
>     10: sql Set
>     11: Windows 2000 Set
>     12: Full Set
>     13: Catalog
> Select FileSet resource (1-13): 5
> Run Restore job
> JobName:    RestoreApolloUsersIncr
> Bootstrap:  /var/bacula/apollousers.bsr
> Where:      /e/tmp/bacula-restores
> Replace:    always
> FileSet:    apollousers Set
> Client:     danie-fd
> Storage:    apollousersFile
> When:       2005-05-18 10:03:42
> Catalog:    MyCatalog
> Priority:   10
> OK to run? (yes/mod/no): yes
> Job started. JobId=627
> *messages
> 18-May 10:04 venus-dir: Start Restore Job
> RestoreApolloUsersIncr.2005-05-18_10.04.23
> *messages
> You have no messages.
> *messages
> You have no messages.
> *messages
> You have no messages.
> *messages
> You have no messages.
> *messages
> 18-May 10:04 venus-sd: Ready to read from volume "apollousersfull-0005"
> 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: -rwxrwxrwx   1 0        0       45103616 2004-08-16 08:02:00
> /e/tmp/bacula-restores/d//Users/antoinette/Personal Folders(1).pst
> *messages
> You have no messages.
> *messages
> You have no messages.
> *messages
> You have no messages.
> *messages
> You have no messages.
> *messages
> You have no messages.
> *messages
> You have no messages.
> *messages
> You have no messages.
> *cancel
> Automatically selected Job: RestoreApolloUsersIncr.2005-05-18_10.04.23
> Confirm cancel (yes/no): yes
> 2001 Job RestoreApolloUsersIncr.2005-05-18_10.04.23 marked to be canceled.
> 3000 Job RestoreApolloUsersIncr.2005-05-18_10.04.23 marked to be canceled.
> You have messages.
> *messages
> 18-May 10:04 venus-sd: RestoreApolloUsersIncr.2005-05-18_10.04.23 Fatal
> error: read.c:132 Error sending to File daemon. ERR=Input/output error
> 18-May 10:04 venus-sd: RestoreApolloUsersIncr.2005-05-18_10.04.23 Error:
> bnet.c:411 Wrote -4 bytes to client:192.168.135.153:36643, but only
> 19279 accepted.
> 18-May 10:06 danie-fd: RestoreApolloUsersIncr.2005-05-18_10.04.23 Fatal
> error: ..\filed\../../filed/restore.c:125 Data record error. ERR=The
> operation completed successfully.
>
> 18-May 10:04 venus-dir: Bacula 1.36.3 (22Apr05): 18-May-2005 10:04:47
>   JobId:                  627
>   Job:                    RestoreApolloUsersIncr.2005-05-18_10.04.23
>   Client:                 danie-fd
>   Start time:             18-May-2005 10:04:25
>   End time:               18-May-2005 10:04:47
>   Files Expected:         9
>   Files Restored:         2
>   Bytes Restored:         149,815,456
>   Rate:                   6809.8 KB/s
>   FD Errors:              0
>   FD termination status:  Canceled
>   SD termination status:  Canceled
>   Termination:            Restore Canceled
>
>
> As you can see in frustration I cancelled the job. I am now at the point
> where I'm thinking of doing a clean install of bacula and starting all
> over , which is REALLY annoying.
>
>
> -------------------------------------------------------
> 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=7412&alloc_id=16344&op=click
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
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=7412&alloc_id=16344&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to