My goal is to recover an entire directory and files within it from a certain
date. However, when I try to perform the recover, I'm only able to recover the
directory itself. Here are my steps:
*restore
8: Enter a list of files to restore before a specified time
Select item: (1-13): 8
Enter date as YYYY-MM-DD HH:MM:SS :2011-10-17 00:00:00
Defined Clients:
1: foo-fd
2: blah-fd
3: baz-fd
Select the Client (1-3): 2
Enter file names with paths, or < to enter a filename
containing a list of file names with paths, and terminate
them with a blank line.
Enter full filename: /tftpboot/
Enter full filename:
Bootstrap records written to
/opt/bacula/bin/working/bacula-va-dir.restore.10.bsr
The job will require the following
Volume(s) Storage(s) SD Device(s)
===========================================================================
file_0017 File
FileStorage
Volumes marked with "*" are online.
1 file selected to be restored.
Run Restore job
JobName: RestoreFiles
Bootstrap: /opt/bacula/bin/working/bacula-va-dir.restore.10.bsr
Where: /tmp/bacula-restores
Replace: always
FileSet: Full Set
Backup Client: blah-fd
Restore Client: blah-fd
Storage: File
When: 2011-10-26 22:53:15
Catalog: MyCatalog
Priority: 10
Plugin Options: *None*
OK to run? (yes/mod/no):yes
Job queued. JobId=4857
*
You have messages.
*
*
*messages
26-Oct 22:56 bacula-va-dir JobId 4857: Start Restore Job
RestoreFiles.2011-10-26_22.56.04_13
26-Oct 22:56 bacula-va-dir JobId 4857: Using Device "FileStorage"
26-Oct 22:56 bacula-va-sd JobId 4857: Ready to read from volume "file_0017" on
device "FileStorage" (/opt/bacula/volumes).
26-Oct 22:56 bacula-va-sd JobId 4857: Forward spacing Volume "file_0017" to
file:block 13:4113404377.
26-Oct 22:56 bacula-va-dir JobId 4857: Bacula bacula-va-dir 5.0.2 (28Apr10):
26-Oct-2011 22:56:06
Build OS: x86_64-unknown-linux-gnu suse 11.2
JobId: 4857
Job: RestoreFiles.2011-10-26_22.56.04_13
Restore Client: blah-fd
Start time: 26-Oct-2011 22:56:06
End time: 26-Oct-2011 22:56:06
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
26-Oct 22:56 bacula-va-dir JobId 4857: Begin pruning Jobs older than 20 days .
26-Oct 22:56 bacula-va-dir JobId 4857: No Jobs found to prune.
26-Oct 22:56 bacula-va-dir JobId 4857: Begin pruning Jobs.
26-Oct 22:56 bacula-va-dir JobId 4857: No Files found to prune.
26-Oct 22:56 bacula-va-dir JobId 4857: End auto prune.
===
If I go to host blah, I have only the 1 directory /tmp/bacula-restores/tftpboot
During the earlier steps, I tried specifying /tftpboot/* which did not work.
What is the correct syntax to do this sort of recover?
If I do a recover for a specific job ID, I can do the recover fine. However,
when specifying the file (or directory in this case), I noticed I needed to
include the trailing "/" or I will only get the directory. But no matter what
I do in the scenario above, I will only get the directory.
Any help would be great.
Thanks!
If life gives you lemons, keep them-- because hey.. free lemons.
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users