Bacula-users

Re: [Bacula-users] Restore issue with Windows 2003 SBS client

2012-04-25 10:23:45
Subject: Re: [Bacula-users] Restore issue with Windows 2003 SBS client
From: Christopher Hylarides <hylaride AT oanda DOT com>
To: Marco Carcano <marco AT carcano DOT ch>
Date: Wed, 25 Apr 2012 10:01:26 -0400
We had this exact same issue restoring on Windows with 5.2.6 as well 
(backups worked fine).  Downgrading to 5.0.3 for the windows client 
fixed it (my research showed a known bug that will hopefully be in the 
next release).

Christopher Hylarides
Systems Administrator
OANDA Corporation
+1.416.593.6767x327
http://www.oanda.com/

On 12-04-21 2:27 PM, Marco Carcano wrote:
> Dear list
>
> I hope that someone outthere want to help me
>
> I'm a totally newbie with bacula, so I hope you will forgive me if I
> may have misunderstood something
>
> I (guess) have succesfully installed bacula 5.2.6 on my CentOS 5.6
> Server (Physical). I have also installed the Windows client on a 2003
> SBS (virtualized with KVM on another machine)
>
> I did a test backup:
>
> 21-apr 20:03 bacula-dir JobId 1: No prior Full backup Job record found.
> 21-apr 20:03 bacula-dir JobId 1: No prior or suitable Full backup
> found in catalog. Doing FULL backup.
> 21-apr 20:03 bacula-dir JobId 1: Start Backup JobId 1, Job=Alu01Weekly.
> 2012-04-21_20.03.35_08
> 21-apr 20:03 bacula-dir JobId 1: Using Device "BacuDev01"
> 21-apr 20:03 bacula-sd JobId 1: Wrote label to prelabeled Volume
> "Volume01" on device "BacuDev01" (/mnt/backup/bacudev01)
> 21-apr 20:03 alu01-fd JobId 1: Generate VSS snapshots. Driver="Win32
> VSS", Drive(s)="C"
> 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): "System
> Writer", State: 0x1 (VSS_WS_STABLE)
> 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): "FSRM
> Writer", State: 0x1 (VSS_WS_STABLE)
> 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete):
> "SqlServerWriter", State: 0x1 (VSS_WS_STABLE)
> 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): "Dhcp Jet
> Writer", State: 0x1 (VSS_WS_STABLE)
> 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete):
> "MSDEWriter", State: 0x1 (VSS_WS_STABLE)
> 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): "Event Log
> Writer", State: 0x1 (VSS_WS_STABLE)
> 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): "WINS Jet
> Writer", State: 0x1 (VSS_WS_STABLE)
> 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): "Registry
> Writer", State: 0x1 (VSS_WS_STABLE)
> 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): "NTDS",
> State: 0x1 (VSS_WS_STABLE)
> 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): "BITS
> Writer", State: 0x1 (VSS_WS_STABLE)
> 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): "IIS
> Metabase Writer", State: 0x1 (VSS_WS_STABLE)
> 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): "COM+
> REGDB Writer", State: 0x1 (VSS_WS_STABLE)
> 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete):
> "Certificate Authority", State: 0x1 (VSS_WS_STABLE)
> 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): "FRS
> Writer", State: 0x1 (VSS_WS_STABLE)
> 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): "WMI
> Writer", State: 0x1 (VSS_WS_STABLE)
> 21-apr 20:03 bacula-sd JobId 1: Job write elapsed time = 00:00:12,
> Transfer rate = 1.933 M Bytes/second
> 21-apr 20:03 bacula-dir JobId 1: Bacula bacula-dir 5.2.6 (21Feb12):
>     Build OS:               i686-redhat-linux-gnu redhat
>     JobId:                  1
>     Job:                    Alu01Weekly.2012-04-21_20.03.35_08
>     Backup Level:           Full (upgraded from Incremental)
>     Client:                 "alu01-fd" 5.2.6 (21Feb12) Microsoft
> Windows Home ServerStandard Edition Service Pack 2 (build 3790),Cross-
> compile,Win32
>     FileSet:                "Alu01File" 2012-04-21 20:03:35
>     Pool:                   "BacuPool01" (From Job resource)
>     Catalog:                "MyCatalog" (From Client resource)
>     Storage:                "BacuDev01" (From Job resource)
>     Scheduled time:         21-apr-2012 20:03:24
>     Start time:             21-apr-2012 20:03:38
>     End time:               21-apr-2012 20:03:50
>     Elapsed time:           12 secs
>     Priority:               10
>     FD Files Written:       13
>     SD Files Written:       13
>     FD Bytes Written:       23,196,085 (23.19 MB)
>     SD Bytes Written:       23,198,377 (23.19 MB)
>     Rate:                   1933.0 KB/s
>     Software Compression:   None
>     VSS:                    yes
>     Encryption:             no
>     Accurate:               no
>     Volume name(s):         Volume01
>     Volume Session Id:      1
>     Volume Session Time:    1335031054
>     Last Volume Bytes:      23,216,537 (23.21 MB)
>     Non-fatal FD errors:    0
>     SD Errors:              0
>     FD termination status:  OK
>     SD termination status:  OK
>     Termination:            Backup OK
>
> 21-apr 20:03 bacula-dir JobId 1: Begin pruning Jobs older than 6
> months .
> 21-apr 20:03 bacula-dir JobId 1: No Jobs found to prune.
> 21-apr 20:03 bacula-dir JobId 1: Begin pruning Files.
> 21-apr 20:03 bacula-dir JobId 1: No Files found to prune.
> 21-apr 20:03 bacula-dir JobId 1: End auto prune.
>
> So I also tried to restore
>
> Run Restore job
> JobName:         RestoreFiles
> Bootstrap:       /var/spool/bacula/bacula-dir.restore.1.bsr
> Where:
> Replace:         always
> FileSet:         Full Set
> Backup Client:   alu01-fd
> Restore Client:  alu01-fd
> Storage:         BacuDev01
> When:            2012-04-21 20:05:26
> Catalog:         MyCatalog
> Priority:        10
> Plugin Options:  *None*
>
> I think the original message for "Connessione abbattuta dal
> corrispondente" was connection reset by peer"
>
> 21-apr 20:06 bacula-dir JobId 2: Start Restore Job RestoreFiles.
> 2012-04-21_20.05.59_09
> 21-apr 20:06 bacula-dir JobId 2: Using Device "BacuDev01"
> 21-apr 20:06 bacula-sd JobId 2: Ready to read from volume "Volume01"
> on device "BacuDev01" (/mnt/backup/bacudev01).
> 21-apr 20:06 bacula-sd JobId 2: Forward spacing Volume "Volume01" to
> file:block 0:212.
> 21-apr 20:06 bacula-dir JobId 2: Fatal error: Socket error on Store
> end command: ERR=Connessione abbattuta dal corrispondente
> 21-apr 20:06 bacula-sd JobId 2: Error: bsock.c:389 Write error sending
> 65536 bytes to client:192.168.50.10:36643: ERR=Connessione abbattuta
> dal corrispondente
> 21-apr 20:06 bacula-sd JobId 2: Fatal error: read.c:137 Error sending
> to File daemon. ERR=Connessione abbattuta dal corrispondente
> 21-apr 20:06 bacula-sd JobId 2: Error: bsock.c:335 Socket has errors=1
> on call to client:192.168.50.10:36643
> 21-apr 20:06 bacula-dir JobId 2: Error: Bacula bacula-dir 5.2.6
> (21Feb12):
>     Build OS:               i686-redhat-linux-gnu redhat
>     JobId:                  2
>     Job:                    RestoreFiles.2012-04-21_20.05.59_09
>     Restore Client:         alu01-fd
>     Start time:             21-apr-2012 20:06:01
>     End time:               21-apr-2012 20:06:04
>     Files Expected:         12
>     Files Restored:         0
>     Bytes Restored:         0
>     Rate:                   0.0 KB/s
>     FD Errors:              1
>     FD termination status:
>     SD termination status:  Error
>     Termination:            *** Restore Error ***
>
> 21-apr 20:06 bacula-dir JobId 2: Error: Bacula bacula-dir 5.2.6
> (21Feb12):
>     Build OS:               i686-redhat-linux-gnu redhat
>     JobId:                  2
>     Job:                    RestoreFiles.2012-04-21_20.05.59_09
>     Restore Client:         alu01-fd
>     Start time:             21-apr-2012 20:06:01
>     End time:               21-apr-2012 20:06:04
>     Files Expected:         12
>     Files Restored:         0
>     Bytes Restored:         0
>     Rate:                   0.0 KB/s
>     FD Errors:              2
>     FD termination status:
>     SD termination status:  Error
>     Termination:            *** Restore Error ***
>
> after giving a look to the WIndows client she FD services crashed
>
> I hope you may tell me where I'm wrong, because I really have not idea
> about how to solve this kind of problem
>
> kind reards
>
>
>
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users