Having trouble determining the inter-relationship of clients/fileset/jobs.
I am trying to automate the following script:
restore client=xxx fileset=yyy select current all done yes
I only have one client on the system...and two filesets for that client...One is the home directory, the other is the catalog.
I have two "Restore" jobs associating the client with one of each of the two filesets.
When I run the above script from the console, instead of running the restore, it prompts me for one additional selection...(see screen dump below).
My question: How do I avoid this final prompt and have the restore run straight through? I've tried selecting both on two different runs, and it restores the *exact same* fileset.
Thanks in advance.
Ben
Enter a period to cancel a command.
*restore client=Server fileset=Home select current all done yes where=/tmp
Using default Catalog name=MyCatalog DB=bacula
+-------+-------+----------+---------------------+--------------------+-----------+--------------+----------------+
| JobId | Level | JobFiles | StartTime | VolumeName | StartFile | VolSessionId | VolSessionTime |
+-------+-------+----------+---------------------+--------------------+-----------+--------------+----------------+
| 2 | F | 4,768 | 2005-04-20 19:17:25 | DefaultVolume-0001 | 0 | 2 | 1,114,038,393 |
| 3 | I | 0 | 2005-04-20 19:19:09 | DefaultVolume-0001 | 0 | 3 | 1,114,038,393 |
| 4 | I | 0 | 2005-04-20 19:19:55 | DefaultVolume-0001 | 0 | 4 | 1,114,038,393 |
+-------+-------+----------+---------------------+--------------------+-----------+--------------+----------------+
You have selected the following JobIds: 2,3,4
Building directory tree for JobId 2 ... ++++++++++++++++++++++++++++++++++++++++++++++++
Building directory tree for JobId 3 ...
Building directory tree for JobId 4 ...
3 Jobs, 4,700 files inserted into the tree and marked for extraction.
Bootstrap records written to /var/bacula/restore.bsr
The job will require the following Volumes:
DefaultVolume-0001
4768 files selected to be restored.
The defined Restore Job resources are: 1: RestoreHome 2: RestoreCatalog
-- Benjamin Chambers, P.Eng. Point Clark Networks
------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users