Hi,


I am trying to implement BACULA 5.2.5 on my company and so far, i managed
to configure a server with several linux and windows clients and one AIX.

I’ve done full backups without any errors on all clients.



I just can’t restore any files on windows clients using VSS.

When i start the restore job, the file daemon service stops.



I tried running the same file sets without VSS and the restore job ran with
success. It just dont work with VSS.



I Also ran the restore with the client in debug mode.

The trace has no error ending in the line below:



baculaclient-fd: /home/kern/bacula/k/bacula/src/filed/job.c:2120-0
g_pVSSClient = 766680, enable_vss = 1



My configuration is:



Director BACULA 5.2.5 is running on CentOS 6.2 x86_64

Client BACULA 5.2.5 win64 is running on Windows Server 2008 R2

There aren't any firewalls on the path between the machines.

No encryption



FILE SET CONF



# List of files to be backed up
FileSet {
  Name = "Exchange"
  Include {
    Options {
      signature = MD5
    }
    File = "E:/"
  }
}



Here are the all relevant output (I think)



WINDOWS SYSTEM EVENT LOG ON THE CLIENT



Log Name:      System

Source:        Service Control Manager

Date:          16-02-2012 18:58:44

Event ID:      7034

Task Category: None

Level:         Error

Keywords:      Classic

User:          N/A

Computer:      baculaclient

Description:

The Bacula File Backup Service service terminated unexpectedly.  It has
done this 5 time(s).





WINDOWS APPLICATION EVENT LOG ON THE CLIENT



Log Name:      Application

Source:        Application Error

Date:          16-02-2012 18:58:44

Event ID:      1000

Task Category: (100)

Level:         Error

Keywords:      Classic

User:          N/A

Computer:      baculaclient

Description:

Faulting application name: bacula-fd.exe, version: 0.0.0.0, time stamp:
0x4f205a3a

Faulting module name: VSSAPI.DLL, version: 6.1.7601.17514, time stamp:
0x4ce7c9f9

Exception code: 0xc0000005

Fault offset: 0x0000000000053025

Faulting process id: 0x814

Faulting application start time: 0x01ccecdbe0b8b6ce

Faulting application path: C:\Program Files\Bacula\bacula-fd.exe

Faulting module path: C:\Windows\system32\VSSAPI.DLL

Report Id: 3f6ced6a-58d0-11e1-b92a-00505691003b





LOG ENTRY FOR BACKUP ON BACULA DIR



16-Feb 04:00 baculaserver-dir JobId 35: Start Backup JobId 35,
Job=BackupExchange.2012-02-16_04.00.00_24
16-Feb 04:25 baculaserver-dir JobId 35: Using Device "Drive-1"
16-Feb 04:32 baculaclient-fd JobId 35: Generate VSS snapshots. Driver="VSS
Vista", Drive(s)="E"
16-Feb 05:21 baculaclient-fd JobId 35: VSS Writer (BackupComplete): "Task
Scheduler Writer", State: 0x1 (VSS_WS_STABLE)
16-Feb 05:21 baculaclient-fd JobId 35: VSS Writer (BackupComplete): "VSS
Metadata Store Writer", State: 0x1 (VSS_WS_STABLE)
16-Feb 05:21 baculaclient-fd JobId 35: VSS Writer (BackupComplete):
"Performance Counters Writer", State: 0x1 (VSS_WS_STABLE)
16-Feb 05:21 baculaclient-fd JobId 35: VSS Writer (BackupComplete): "System
Writer", State: 0x1 (VSS_WS_STABLE)
16-Feb 05:21 baculaclient-fd JobId 35: VSS Writer (BackupComplete): "ASR
Writer", State: 0x1 (VSS_WS_STABLE)
16-Feb 05:21 baculaclient-fd JobId 35: VSS Writer (BackupComplete):
"Microsoft Exchange Writer", State: 0x1 (VSS_WS_STABLE)
16-Feb 05:21 baculaclient-fd JobId 35: VSS Writer (BackupComplete): "IIS
Config Writer", State: 0x1 (VSS_WS_STABLE)
16-Feb 05:21 baculaclient-fd JobId 35: VSS Writer (BackupComplete): "WMI
Writer", State: 0x1 (VSS_WS_STABLE)
16-Feb 05:21 baculaclient-fd JobId 35: VSS Writer (BackupComplete): "IIS
Metabase Writer", State: 0x1 (VSS_WS_STABLE)
16-Feb 05:21 baculaclient-fd JobId 35: VSS Writer (BackupComplete):
"Registry Writer", State: 0x1 (VSS_WS_STABLE)
16-Feb 05:21 baculaclient-fd JobId 35: VSS Writer (BackupComplete): "Shadow
Copy Optimization Writer", State: 0x1 (VSS_WS_STABLE)
16-Feb 05:21 baculaclient-fd JobId 35: VSS Writer (BackupComplete): "COM+
REGDB Writer", State: 0x1 (VSS_WS_STABLE)
16-Feb 05:14 baculaserver-sd JobId 35: Job write elapsed time = 00:49:30,
Transfer rate = 39.31 M Bytes/second
16-Feb 05:15 baculaserver-dir JobId 35: Bacula baculaserver-dir 5.2.5
(26Jan12):
  Build OS:               x86_64-unknown-linux-gnu redhat
JobId:                  35
  Job:                    BackupExchange.2012-02-16_04.00.00_24
  Backup Level:           Full
  Client:                 "baculaclient-fd" 5.2.5 (26Jan12) Microsoft
Windows Server 2008 R2 Enterprise Edition Service Pack 1 (build 7601),
64-bit,Cross-compile,Win64
  FileSet:                "Exchange" 2012-02-14 05:00:00
  Pool:                   "TapePool" (From Job resource)
  Catalog:                "MyCatalog" (From Client resource)
  Storage:                "TapeStorage" (From Pool resource)
  Scheduled time:         16-Feb-2012 04:00:00
  Start time:             16-Feb-2012 04:25:28
  End time:               16-Feb-2012 05:15:00
  Elapsed time:           49 mins 32 secs
  Priority:               10
  FD Files Written:       44
  SD Files Written:       44
  FD Bytes Written:       116,771,136,925 (116.7 GB)
  SD Bytes Written:       116,771,146,294 (116.7 GB)
  Rate:                   39290.4 KB/s
  Software Compression:   None
  VSS:                    yes
  Encryption:             no
  Accurate:               no
  Volume name(s):         DP0474L2
  Volume Session Id:      22
  Volume Session Time:    1329160956
  Last Volume Bytes:      140,533,908,480 (140.5 GB)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK



LOG ENTRY FOR RESTORE ON BACULA DIR



16-Feb 18:51 baculaserver-dir JobId 85: Start Restore Job
RestoreFiles.2012-02-16_18.51.19_43

16-Feb 18:51 baculaserver-dir JobId 85: Using Device "Drive-0"

16-Feb 18:52 baculaserver-sd JobId 85: Ready to read from volume "DP0474L2"
on device "Drive-0" (/dev/st0).

16-Feb 18:52 baculaserver-sd JobId 85: Forward spacing Volume "DP0474L2" to
file:block 140:0.

16-Feb 18:52 baculaserver-dir JobId 85: Fatal error: Socket error on Store
end command: ERR=Connection reset by peer

16-Feb 18:52 baculaserver-dir JobId 85: Error: Bacula baculaserver-dir
5.2.5 (26Jan12):

  Build OS:               x86_64-unknown-linux-gnu redhat

  JobId:                  85

  Job:                    RestoreFiles.2012-02-16_18.51.19_43

  Restore Client:         baculaclient-fd

  Start time:             16-Feb-2012 18:51:21

  End time:               16-Feb-2012 18:52:09

  Files Expected:         1

  Files Restored:         0

  Bytes Restored:         0

  Rate:                   0.0 KB/s

  FD Errors:              1

  FD termination status:

  SD termination status:  Running

  Termination:            *** Restore Error ***



16-Feb 18:52 baculaserver-dir JobId 85: Error: Bacula baculaserver-dir
5.2.5 (26Jan12):

  Build OS:               x86_64-unknown-linux-gnu redhat

  JobId:                  85

  Job:                    RestoreFiles.2012-02-16_18.51.19_43

  Restore Client:         baculaclient-fd

  Start time:             16-Feb-2012 18:51:21

  End time:               16-Feb-2012 18:52:09

  Files Expected:         1

  Files Restored:         0

  Bytes Restored:         0

  Rate:                   0.0 KB/s

  FD Errors:              2

  FD termination status:

  SD termination status:  Running

  Termination:            *** Restore Error ***



Any help on the subject would be appreciated.



Thanks,

Hugo
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to