Bacula-users

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

2009-02-24 14:31:28
Subject: Re: [Bacula-users] Windows restore: Can not browse or restore files
From: Bruno Friedmann <bruno AT ioda-net DOT ch>
Date: Tue, 24 Feb 2009 20:26:42 +0100
Thomas Lindgaard wrote:
> 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?
> 

Sorry but this is working like a charm ( pleonasm for bacula things :-)
restore -> choice 5 -> select windows client ->

Automatically selected FileSet: FileSet_SRVPRINT_Full
+-------+-------+----------+---------------+---------------------+------------+
| JobId | Level | JobFiles | JobBytes      | StartTime           | VolumeName |
+-------+-------+----------+---------------+---------------------+------------+
| 3,304 | F     |   46,100 | 5,319,268,832 | 2009-02-22 08:08:34 | VPRW-0031  |
| 3,311 | I     |      198 |   269,218,533 | 2009-02-22 20:10:18 | VPRD-0106  |
| 3,319 | I     |      175 |   265,134,567 | 2009-02-23 20:09:28 | VPRD-0112  |
| 3,327 | I     |      186 |   265,401,510 | 2009-02-24 20:09:48 | VPRD-0119  |
+-------+-------+----------+---------------+---------------------+------------+
You have selected the following JobIds: 3304,3311,3319,3327

Building directory tree for JobId 3304 ...  
+++++++++++++++++++++++++++++++++++++++++++++++++
Building directory tree for JobId 3311 ...
Building directory tree for JobId 3319 ...
Building directory tree for JobId 3327 ...
4 Jobs, 45,444 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: /
$ dir
drwxrwx--T   1 root     root             0  2009-02-24 20:14:24  c:/
$ cd c:
cwd is: c:/
$ dir
-rwxrwxrwx   1 root     root          1024  2008-03-09 09:53:34  c:/.rnd
drwxrwxrwx   1 root     root             0  2008-04-24 19:42:32  
c:/89ee7306bb6b854ba59a/
drwxrwxrwx   1 root     root             0  2008-02-16 21:47:01  c:/ASOPTEMP/
-rwxrwx--T   1 root     root           264  2003-06-20 18:29:34  c:/BOOTLOG.TXT
-rwxrwx--T   1 root     root           512  2003-06-20 18:29:38  c:/BOOTSECT.DOS
drwxrwxrwx   1 root     root             0  2004-05-24 10:56:13  c:/CA_LIC/
drwxrwxrwx   1 root     root             0  2008-12-19 15:45:30  c:/CJXP75LF/
drwxrwxrwx   1 root     root             0  2008-12-20 20:32:16  c:/CPQSYSTEM/
drwxrwx--T   1 root     root             0  2008-12-20 21:15:53  c:/Config.Msi/
drwxrwxrwx   1 root     root             0  2008-03-02 19:08:31  c:/Documents 
and Settings/
drwxrwxrwx   1 root     root             0  2003-10-13 15:19:14  c:/ECIBKRS/
-rwxrwxrwx   1 root     root        164326  2003-08-22 08:43:37  
c:/GFIWebMonitor.log
drwxrwxrwx   1 root     root             0  2008-04-26 09:14:35  c:/INSTALL/
--wx-wx--T   1 root     root         47772  2008-04-24 19:53:26  c:/NTDETECT.COM
drwxrwxrwx   1 root     root             0  2007-08-08 16:35:27  c:/Openfire/
d-wx-wx-wx   1 root     root             0  2008-12-20 20:42:57  c:/Program 
Files/
-rwxrwxrwx   1 root     root          9153  2003-11-21 01:41:30  c:/README.TXT
drwxrwx--T   1 root     root             0  2009-02-24 20:14:24  c:/System 
Volume Information/
drwxrwxrwx   1 root     root             0  2009-02-11 16:17:19  c:/WINDOWS/
drwxrwxrwx   1 root     root             0  2004-02-13 09:46:08  c:/WUTemp/
drwxrwxrwx   1 root     root             0  2008-03-09 09:52:27  c:/backup 
Exchange/
-rwxrwxrwx   1 root     root           286  2008-03-09 09:53:23  
c:/bacula_before_svg_full.cmd
--wx-wx--T   1 root     root           208  2008-04-24 20:29:07  c:/boot.ini
drwxrwxrwx   1 root     root             0  2008-12-20 21:15:53  c:/compaq/
drwxrwxrwx   1 root     root             0  2008-12-20 20:45:34  c:/hp/
-rwxrwxrwx   1 root     root           379  2003-08-22 13:32:46  c:/msisaund.ini
-rwxrwxrwx   1 root     root         94720  2007-02-17 23:31:38  c:/msizap.exe
-rwxrwxrwx   1 root     root          2655  2008-11-25 17:01:18  
c:/nagent_log.txt
--wx-wx--T   1 root     root        297072  2008-04-24 19:53:26  c:/ntldr
-rwxrwxrwx   1 root     root            26  2007-02-20 10:08:31  c:/restart.cmd
-rwxrwxrwx   1 root     root           197  2003-06-20 18:15:14  c:/setup.log
drwxrwxrwx   1 root     root             0  2008-04-24 21:30:36  c:/spoolerlogs/
-rwxrwxrwx   1 root     root           404  2008-03-09 09:54:16  
c:/srvprint-fd.conf
-rwxrwxrwx   1 root     root      70264564  2008-02-22 20:18:20  
c:/srvprint_registry_full_dump.reg
-rwxrwxrwx   1 root     root      70280294  2008-02-22 20:20:26  
c:/srvprint_registry_full_dump2.reg
-rwxrwxrwx   1 root     root      79009576  2009-02-24 20:14:42  
c:/win2003_full_registry_dump.reg
-rwxrwxrwx   1 root     root     559175680  2009-02-24 20:14:29  
c:/win2003_systemstate.bkf
drwxrwxrwx   1 root     root             0  2004-06-02 14:59:38  c:/wmpub/
$ cd hp
cwd is: c:/hp/
$ dir
drwxrwxrwx   1 root     root             0  2008-12-20 20:46:00  c:/hp/hpdiags/
drwxrwxrwx   1 root     root             0  2008-12-20 20:34:17  c:/hp/hpsmh/
drwxrwxrwx   1 root     root             0  2008-12-20 20:33:55  c:/hp/sslshare/
-rwxrwxrwx   1 root     root          2307  2008-09-30 16:41:48  
c:/hp/survey.dtd
$ cd /
cwd is: /
$ dir
drwxrwx--T   1 root     root             0  2009-02-24 20:14:24  c:/
$ cd c:/
cwd is: c:/
$ dir
-rwxrwxrwx   1 root     root          1024  2008-03-09 09:53:34  c:/.rnd
drwxrwxrwx   1 root     root             0  2008-04-24 19:42:32  
c:/89ee7306bb6b854ba59a/
drwxrwxrwx   1 root     root             0  2008-02-16 21:47:01  c:/ASOPTEMP/
-rwxrwx--T   1 root     root           264  2003-06-20 18:29:34  c:/BOOTLOG.TXT
-rwxrwx--T   1 root     root           512  2003-06-20 18:29:38  c:/BOOTSECT.DOS
drwxrwxrwx   1 root     root             0  2004-05-24 10:56:13  c:/CA_LIC/
drwxrwxrwx   1 root     root             0  2008-12-19 15:45:30  c:/CJXP75LF/
drwxrwxrwx   1 root     root             0  2008-12-20 20:32:16  c:/CPQSYSTEM/
drwxrwx--T   1 root     root             0  2008-12-20 21:15:53  c:/Config.Msi/
drwxrwxrwx   1 root     root             0  2008-03-02 19:08:31  c:/Documents 
and Settings/
drwxrwxrwx   1 root     root             0  2003-10-13 15:19:14  c:/ECIBKRS/
-rwxrwxrwx   1 root     root        164326  2003-08-22 08:43:37  
c:/GFIWebMonitor.log
drwxrwxrwx   1 root     root             0  2008-04-26 09:14:35  c:/INSTALL/
--wx-wx--T   1 root     root         47772  2008-04-24 19:53:26  c:/NTDETECT.COM
drwxrwxrwx   1 root     root             0  2007-08-08 16:35:27  c:/Openfire/
d-wx-wx-wx   1 root     root             0  2008-12-20 20:42:57  c:/Program 
Files/
-rwxrwxrwx   1 root     root          9153  2003-11-21 01:41:30  c:/README.TXT
drwxrwx--T   1 root     root             0  2009-02-24 20:14:24  c:/System 
Volume Information/
drwxrwxrwx   1 root     root             0  2009-02-11 16:17:19  c:/WINDOWS/
drwxrwxrwx   1 root     root             0  2004-02-13 09:46:08  c:/WUTemp/
drwxrwxrwx   1 root     root             0  2008-03-09 09:52:27  c:/backup 
Exchange/
-rwxrwxrwx   1 root     root           286  2008-03-09 09:53:23  
c:/bacula_before_svg_full.cmd
--wx-wx--T   1 root     root           208  2008-04-24 20:29:07  c:/boot.ini
drwxrwxrwx   1 root     root             0  2008-12-20 21:15:53  c:/compaq/
drwxrwxrwx   1 root     root             0  2008-12-20 20:45:34  c:/hp/
-rwxrwxrwx   1 root     root           379  2003-08-22 13:32:46  c:/msisaund.ini
-rwxrwxrwx   1 root     root         94720  2007-02-17 23:31:38  c:/msizap.exe
-rwxrwxrwx   1 root     root          2655  2008-11-25 17:01:18  
c:/nagent_log.txt
--wx-wx--T   1 root     root        297072  2008-04-24 19:53:26  c:/ntldr
-rwxrwxrwx   1 root     root            26  2007-02-20 10:08:31  c:/restart.cmd
-rwxrwxrwx   1 root     root           197  2003-06-20 18:15:14  c:/setup.log
drwxrwxrwx   1 root     root             0  2008-04-24 21:30:36  c:/spoolerlogs/
-rwxrwxrwx   1 root     root           404  2008-03-09 09:54:16  
c:/srvprint-fd.conf
-rwxrwxrwx   1 root     root      70264564  2008-02-22 20:18:20  
c:/srvprint_registry_full_dump.reg
-rwxrwxrwx   1 root     root      70280294  2008-02-22 20:20:26  
c:/srvprint_registry_full_dump2.reg
-rwxrwxrwx   1 root     root      79009576  2009-02-24 20:14:42  
c:/win2003_full_registry_dump.reg
-rwxrwxrwx   1 root     root     559175680  2009-02-24 20:14:29  
c:/win2003_systemstate.bkf
drwxrwxrwx   1 root     root             0  2004-06-02 14:59:38  c:/wmpub/
$ cd hp/
cwd is: c:/hp/
$ dir
drwxrwxrwx   1 root     root             0  2008-12-20 20:46:00  c:/hp/hpdiags/
drwxrwxrwx   1 root     root             0  2008-12-20 20:34:17  c:/hp/hpsmh/
drwxrwxrwx   1 root     root             0  2008-12-20 20:33:55  c:/hp/sslshare/
-rwxrwxrwx   1 root     root          2307  2008-09-30 16:41:48  
c:/hp/survey.dtd
$

Did you use encrypted disk on your workstation ?


-- 

     Bruno Friedmann


------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>