Bacula-users

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

2012-04-24 12:27:56
Subject: Re: [Bacula-users] Restore issue with Windows 2003 SBS client
From: Bruno Friedmann <bruno AT ioda-net DOT ch>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 24 Apr 2012 18:24:34 +0200
You try to restore on alu02-fd when the windows client is called 
alu01-fd

:D


On Sunday 22 April 2012 15.48:10 Marco Carcano wrote:
> by the way, I have another Linux server, and if I try to restore on it  
> it works like a charm and I got the files restored
> 
> anyone that wants to help this poor newbie?
> 
> the following is what I got when I try to restore the other linux  
> server (the working one)
> 
> 
> Run Restore job
> JobName:         RestoreFiles
> Bootstrap:       /var/spool/bacula/bacula-dir.restore.2.bsr
> Where:           /tmp/foo
> Replace:         always
> FileSet:         Full Set
> Backup Client:   alu02-fd
> Restore Client:  alu02-fd
> Storage:         BacuDev01
> When:            2012-04-22 15:42:26
> Catalog:         MyCatalog
> Priority:        10
> Plugin Options:  *None*
> OK to run? (yes/mod/no): y
> 
> 
> 22-apr 15:42 bacula-dir JobId 9: Start Restore Job RestoreFiles. 
> 2012-04-22_15.42.39_26
> 22-apr 15:42 bacula-dir JobId 9: Using Device "BacuDev01"
> 22-apr 15:42 bacula-sd JobId 9: Ready to read from volume "Volume01"  
> on device "BacuDev01" (/mnt/backup/bacudev01).
> 22-apr 15:42 bacula-sd JobId 9: Forward spacing Volume "Volume01" to  
> file:block 0:65600921.
> 22-apr 15:42 bacula-dir JobId 9: Bacula bacula-dir 5.2.6 (21Feb12):
>    Build OS:               i686-redhat-linux-gnu redhat
>    JobId:                  9
>    Job:                    RestoreFiles.2012-04-22_15.42.39_26
>    Restore Client:         alu02-fd
>    Start time:             22-apr-2012 15:42:41
>    End time:               22-apr-2012 15:42:41
>    Files Expected:         1
>    Files Restored:         1
>    Bytes Restored:         399
>    Rate:                   0.0 KB/s
>    FD Errors:              0
>    FD termination status:  OK
>    SD termination status:  OK
>    Termination:            Restore OK
> 
> 22-apr 15:42 bacula-dir JobId 9: Begin pruning Jobs older than 6  
> months .
> 22-apr 15:42 bacula-dir JobId 9: No Jobs found to prune.
> 22-apr 15:42 bacula-dir JobId 9: Begin pruning Files.
> 22-apr 15:42 bacula-dir JobId 9: No Files found to prune.
> 22-apr 15:42 bacula-dir JobId 9: End auto prune.
> 
> Il giorno 21/apr/12, alle ore 20:27, Marco Carcano ha scritto:
> 
> > 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
> 
> 
> ------------------------------------------------------------------------------
> 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
-- 
Bruno Friedmann 
Ioda-Net Sàrl www.ioda-net.ch
 
openSUSE Member & Ambassador
GPG KEY : D5C9B751C4653227
irc: tigerfoot

------------------------------------------------------------------------------
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