Martin Simmons wrote:

> I suggest you post your session output so we can see what options you
> are choosing and what the error message is.

I have to correct my problem description:

I can restore a directory even if it is empty. It is necessary to
conclude the path with a "/". Then the directory is restored, but not
its content. How can I restore a complete branch?

Is there a possibility to tell Bacula to restore recursively from a
given point in the backuped file system tree?

>>>
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): 7
Automatically selected Client: server1-fd
Enter file names with paths, or < to enter a filename
containg a list of file names with paths, and terminate
them with a blank line.
Enter full filename: /etc
No database record found for: /etc
Enter full filename: /etc/
Enter full filename: 
Bootstrap records written to /var/lib/bacula/restore.bsr

The job will require the following Volumes:
   
   volume0001


1 file selected to be restored.

Run Restore job
JobName:    RestoreFiles
Bootstrap:  /var/lib/bacula/restore.bsr
Where:      /tmp/bacula-restores
Replace:    always
FileSet:    Full Set
Client:     server1-fd
Storage:    File
When:       2005-08-11 12:31:41
Catalog:    MyCatalog
Priority:   10
OK to run? (yes/mod/no): y
Job started. JobId=118
11-Aug 12:31 server1-dir: Start Restore Job
RestoreFiles.2005-08-11_12.31.49
11-Aug 12:31 server1-sd: Ready to read from volume "volume0001" on
device /mnt/BackupDisk/backup.
server1-fd: drwxr-xr-x  113 root     root        8192 2005-08-11
03:05:03  /tmp/bacula-restores/etc/
11-Aug 12:34 server1-dir: Bacula 1.36.2 (28Feb05): 11-Aug-2005 12:34:16
  JobId:                  118
  Job:                    RestoreFiles.2005-08-11_12.31.49
  Client:                 server1-fd
  Start time:             11-Aug-2005 12:31:51
  End time:               11-Aug-2005 12:34:16
  Files Expected:         1
  Files Restored:         1
  Bytes Restored:         0
  Rate:                   0.0 KB/s
  FD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Restore OK

11-Aug 12:34 server1-dir: Begin pruning Jobs.
11-Aug 12:34 server1-dir: No Jobs found to prune.
11-Aug 12:34 server1-dir: Begin pruning Files.
11-Aug 12:34 server1-dir: No Files found to prune.
11-Aug 12:34 server1-dir: End auto prune.
<<<

/M



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to