Re: [Bacula-users] Windows restore: Can not browse files

2009-03-04 Thread Foo
On Tue, 17 Feb 2009 01:34:24 +0100, Thomas Lindgaard  
tho...@it-snedkeren.dk wrote:

 cwd is: /
 $ ls
 C:/
 $ cd C:/
 cwd is: C:/
 $ ls
 /
 $

 I can not change directories for some reason... I have tried doing the
 same using the Webmin Bacula Module and the bwx-console with similar
 results.

I thought this was answered a couple of days ago, looks like you  
capitalized the drive letter, try something like this:

FileSet {
   Name = your fileset name
   Include {
 Options {
   signature = MD5
   Exclude = yes
# 1. don't use slash at the end or the directory will be ignored
# 2. explicit paths can be excluded here or in the Exclude section,  
WildDir/File (i.e. regexp) only here
# 3. only lower case drive letters and forward slashes work properly, e.g.  
File = C:\\Documents and Settings\\Administrator only allows restore of  
single files
   WildDir = c:/Documents and Settings/*/Local Settings/Temporary  
Internet Files
   WildDir = c:/Documents and Settings/*/Local Settings/History
   WildDir = c:/Documents and Settings/*/Local Settings/Temp
   WildDir = c:/Documents and Settings/*/NetHood
   WildDir = c:/Documents and Settings/*/PrintHood
 }
 File = c:/
# if you have .net 2.0, explicitly include this, it is otherwise not  
backed up (regardless, you will keep seeing an error because of the  
previous include)
 File =  
c:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a
   }
   Exclude {
 File = c:/pagefile.sys
 File = c:/Documents and Settings/All Users/Application  
Data/Bacula/Spool
 File = c:/Documents and Settings/All Users/Application  
Data/Bacula/Work
 File = c:/RECYCLER
 File = c:/WINDOWS/Temp
#   File = c:/System Volume Information
   }
}


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Windows restore: Can not browse files

2009-03-03 Thread Thomas Lindgaard
Hi

I have an Ubuntu server running Bacula and a Windows laptop sending 
backups to it. The backups seem to work just fine - but I can not 
restore files.

This is what I get from a restore session in bconsole:

*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: Find the JobIds of the most recent backup for a client
 10: Find the JobIds for a backup for a client before a specified time
 11: Enter a list of directories to restore for found JobIds
 12: Cancel
Select item:  (1-12): 5
Defined Clients:
  1: ubuntu-atom-fd
  2: ibm-dk19923-fd
Select the Client (1-2): 2
Automatically selected FileSet: Full Set ibm-dk19923
+---+---+--+---+-++
| JobId | Level | JobFiles | JobBytes  | StartTime   | 
VolumeName |
+---+---+--+---+-++
|12 | F |   43,028 | 4,656,003,534 | 2009-02-03 21:24:13 | 
daily0001  |
|14 | I |0 | 0 | 2009-02-03 23:05:05 | 
daily0001  |
|16 | I |  278 |   426,731,171 | 2009-02-07 21:29:45 | 
daily0001  |
|18 | I |2 |26,480 | 2009-02-07 23:05:05 | 
daily0001  |
|24 | I |  629 |   445,669,103 | 2009-02-16 23:05:05 | 
daily0001  |
+---+---+--+---+-++
You have selected the following JobIds: 12,14,16,18,24

Building directory tree for JobId 12 ... 
+
Building directory tree for JobId 14 ...
Building directory tree for JobId 16 ...
Building directory tree for JobId 18 ...
Building directory tree for JobId 24 ...
5 Jobs, 42,937 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: /
$ ls
C:/
$ cd C:/
cwd is: C:/
$ ls
/
$

I can not change directories for some reason... I have tried doing the 
same using the Webmin Bacula Module and the bwx-console with similar 
results.

It may just be some tiny configuration issue, but I can't figure out 
what... I have only played around with Bacula for a couple of days.

Any ideas?

-- 
Regards
Thomas Lindgaard


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users