Bacula-users

Re: [Bacula-users] Windows client VSS

2015-06-16 13:13:38
Subject: Re: [Bacula-users] Windows client VSS
From: "More, Ankush" <ankush.more AT capgemini DOT com>
To: Ana Emília M. Arruda <emiliaarruda AT gmail DOT com>
Date: Tue, 16 Jun 2015 17:07:48 +0000

Hi Ana,

 

Below is log of successful windows client  backup with disable VSS :-

 

| bacula-sd JobId 221: Elapsed time=00:35:24, Transfer rate=5.872 M Bytes/second

| bacula-sd JobId 221: Sending spooled attrs to the Director. Despooling 10,917,987 bytes ...

| bacula-dir JobId 221: Bacula bacula-dir 7.0.5 (28Jul14):

  Build OS:               x86_64-redhat-linux-gnu redhat Enterprise release

  JobId:                  221

  Job:                    ADCMAIL01-W-BkpTape.2015-06-04_14.08.51_03

  Backup Level:           Full (upgraded from Incremental)

  Client:                 "ADCMAIL01-W-fd" 5.2.10 (28Jun12) Microsoft Windows Home ServerEnterprise Edition Service Pack 2 (build 3790),Cross-compile,Win32

  FileSet:                "Windows Set1" 2015-06-04 12:06:19

  Pool:                   "File" (From Job resource)

  Catalog:                "MyCatalog" (From Client resource)

  Storage:                "File1" (From Job resource)

  Scheduled time:         04-Jun-2015 14:08:49

  Start time:             04-Jun-2015 14:08:54

  End time:               04-Jun-2015 14:44:23

  Elapsed time:           35 mins 29 secs

  Priority:               10

  FD Files Written:       43,826

  SD Files Written:       43,826

  FD Bytes Written:       12,467,180,231 (12.46 GB)

  SD Bytes Written:       12,474,022,400 (12.47 GB)

  Rate:                   5855.9 KB/s

  Software Compression:   None

  VSS:                    no

  Encryption:             no

  Accurate:               no

  Volume name(s):         Vol-0020

  Volume Session Id:      1

  Volume Session Time:    1433441310

  Last Volume Bytes:      12,484,650,130 (12.48 GB)

  Non-fatal FD errors:    41

  SD Errors:              0

  FD termination status:  OK

  SD termination status:  OK

  Termination:            Backup OK -- with warnings

 

 

 

Thank you,

Ankush

 

From: Ana Emília M. Arruda [mailto:emiliaarruda AT gmail DOT com]
Sent: 16 June 2015 19:20
To: More, Ankush
Cc: Luc Van der Veken; Heitor Faria; Josh Fisher; bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] Windows client VSS

 

Hello Ankush,

 

Could you post the result of an estimate for this job with vss disabled?

 

Best regards,

Ana

 

On Tue, Jun 16, 2015 at 8:51 AM, More, Ankush <ankush.more AT capgemini DOT com> wrote:

Hello,

 

All my windows 2008 with VSS enabled successfully backup, but windows 2003 failed.

Is Bacula support backup of windows client 2003 with VSS enable?

 

Thank you,

Ankush

 

From: Luc Van der Veken [mailto:lucvdv AT wimionline DOT com]
Sent: 15 June 2015 13:43
To: Heitor Faria; More, Ankush
Cc: Josh Fisher; bacula-users AT lists.sourceforge DOT net
Subject: RE: [Bacula-users] Windows client VSS

 

Some quick thoughts:

 

1)      It says “Windows Home Server” in the message. There exists no 64 bit version of that, AFAIK.

2)      “wmic OS get OSArchitecture” works on Vista + later only.
The fastest way on all from Windows 2000 onward is [Windows key]+[Break]. The System Properties window that pops up will tell you if it’s 64 bit. If it doesn’t seem to tell you anything about that, it’s 32 (for instance on Server 2003/32 it just says “Microsoft Windows Server 2003 R2”).

3)      I thought of the heartbeat interval too, until I noticed that the dropped connection was between Director and SD.
I don’t consider it very likely that there’s a router or a firewall between those, and a simple (layer 2) switch shouldn’t cause this problem.  A layer 3 switch could, but I wouldn’t expect to find one of those in a network with home server.  The switch would probably cost more than the equipment connected to it.

 

So basically, I’m jumping into this thread, but I don’t know the one and only 100% correct answer either :(

 

 

From: Heitor Faria [mailto:heitor AT bacula.com DOT br]
Sent: 14 June 2015 15:33
To: More, Ankush
Cc: Josh Fisher; bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] Windows client VSS

 

Yes it is 32 bit window.

 

Client:                 "ADCMAIL01-W-fd" 5.2.10 (28Jun12) Microsoft Windows Home ServerEnterprise Edition Service Pack 2 (build 3790),Cross-compile,Win32

Hello Ankush: I'm pretty sure this is the Client Architeture, not OS one. I don't use Windows, but I researched this command do fetch it from the CLI: 

wmic OS get OSArchitecture

Anyway, did you try Kern's advise of setting a Heartbeat Interval? This is more likely the solution to your problem.

 

Regards,

===========================================================================
Heitor Medrado de Faria - LPIC-III | ITIL-F |  Bacula Systems Certified Administrator II

I'm a Bacula/SysAdmin looking for a job in USA or Europe. Please recommend me.

===========================================================================

 

Thank you,

Ankush

 

From: Josh Fisher [mailto:jfisher AT pvct DOT com]
Sent: 12 June 2015 21:18
To: bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] Windows client VSS

On 6/12/2015 11:03 AM, More, Ankush wrote:

Hello,

 

Connection has no issue. From client and server able ping/telnet to port .

With disable  VSS  backup was successful.

 


*status client=ADCMAIL01-W-fd

Connecting to Client ADCMAIL01-W-fd at ADCMAIL01:9102

 

adcmail01-fd Version: 5.2.10 (28 June 2012)  VSS Linux Cross-compile Win32


Are you sure this is a 32-bit Windows OS? If this is a 64-bit OS, then you need to install the 64-bit version of Bacula client instead of the 32-bit version.

Daemon started 03-Jun-15 07:24. Jobs: run=16 running=0.

Microsoft Windows Home ServerEnterprise Edition Service Pack 2 (build 3790)

Heap: heap=0 smbytes=17,937 max_bytes=359,222 bufs=64 max_bufs=273

Sizeof: boffset_t=8 size_t=4 debug=0 trace=1

Running Jobs:

Director connected at: 12-Jun-15 10:56

No Jobs running.

 

Thank you,

Ankush

 

From: Heitor Faria [mailto:heitor AT bacula.com DOT br]
Sent: 12 June 2015 19:26
To: More, Ankush
Cc: Radosław Korzeniewski; bacula-users
Subject: Re: [Bacula-users] Windows client VSS

" Error: Director's connection to SD for this Job was lost."

 

This is more likely to be the root cause of this error. You can troubleshoot the connection between this Windows client and your Storage Daemon, or post your bacula-dir Storage stanza here.

 

Regards,

===========================================================================
Heitor Medrado de Faria - LPIC-III | ITIL-F |  Bacula Systems Certified Administrator II

I'm a Bacula/SysAdmin looking for a job in USA or Europe. Please recommend me.

===========================================================================

 


De: "More, Ankush" <ankush.more AT capgemini DOT com>
Para: "Radosław Korzeniewski" <radoslaw AT korzeniewski DOT net>
Cc: "bacula-users" <bacula-users AT lists.sourceforge DOT net>
Enviadas: Sexta-feira, 12 de junho de 2015 10:15:11
Assunto: Re: [Bacula-users] Windows client VSS

Hello,

 

Please find log:

 

bacula-dir JobId 179: Start Backup JobId 179, Job=ADCMAIL01-W-BkpTape.2015-06-03_08.22.41_26

        |

| bacula-dir JobId 179: Using Device "Drive-0" to write.

                                              |

| adcmail01-fd JobId 179: Generate VSS snapshots. Driver="Win32 VSS", Drive(s)="CDEFGHIJKLMNOPQRSTUVW"

 

| adcmail01-fd JobId 179: VSS Writer (BackupComplete): "System Writer", State: 0x1 (VSS_WS_STABLE)

    |

| adcmail01-fd JobId 179: VSS Writer (BackupComplete): "Microsoft Exchange Writer", State: 0x1 (VSS_WS_STABLE)

|

| adcmail01-fd JobId 179: VSS Writer (BackupComplete): "Event Log Writer", State: 0x1 (VSS_WS_STABLE)

|

| adcmail01-fd JobId 179: VSS Writer (BackupComplete): "IIS Metabase Writer", State: 0x1 (VSS_WS_STABLE)

|

| adcmail01-fd JobId 179: VSS Writer (BackupComplete): "MSDEWriter", State: 0x1 (VSS_WS_STABLE)

       |

| adcmail01-fd JobId 179: VSS Writer (BackupComplete): "Registry Writer", State: 0x1 (VSS_WS_STABLE)

  |

| adcmail01-fd JobId 179: VSS Writer (BackupComplete): "COM+ REGDB Writer", State: 0x1 (VSS_WS_STABLE)

|

| adcmail01-fd JobId 179: VSS Writer (BackupComplete): "WMI Writer", State: 0x1 (VSS_WS_STABLE)

       |

| bacula-sd JobId 179: Elapsed time=00:00:11, Transfer rate=0  Bytes/second

                           |

| bacula-dir JobId 179: Error: Director's connection to SD for this Job was lost.

                     |

| bacula-dir JobId 179: Error: Bacula bacula-dir 7.0.5 (28Jul14):

  Build OS:               x86_64-redhat-linux-gnu redhat Enterprise release

  JobId:                  179

  Job:                    ADCMAIL01-W-BkpTape.2015-06-03_08.22.41_26

  Backup Level:           Full

  Client:                 "ADCMAIL01-W-fd" 5.2.10 (28Jun12) Microsoft Windows Home ServerEnterprise Edition Service Pack 2 (build 3790),Cross-compile,Win32

  FileSet:                "Windows Set1" 2015-06-02 13:50:00

  Pool:                   "NonBill" (From Command input)

  Catalog:                "MyCatalog" (From Client resource)

  Storage:                "MSL6030" (From command line)

  Scheduled time:         03-Jun-2015 08:22:41

  Start time:             03-Jun-2015 08:22:43

  End time:               03-Jun-2015 08:22:55

  Elapsed time:           12 secs

  Priority:               10

  FD Files Written:       0

  SD Files Written:       0

  FD Bytes Written:       0 (0 B)

  SD Bytes Written:       0 (0 B)

  Rate:                   0.0 KB/s

  Software Compression:   None

  VSS:                    yes

  Encryption:             no

  Accurate:               no

  Volume name(s):

  Volume Session Id:      4

  Volume Session Time:    1433329558

  Last Volume Bytes:      22,772,736 (22.77 MB)

  Non-fatal FD errors:    2

  SD Errors:              0

  FD termination status:  Error

  SD termination status:  Error

  Termination:            *** Backup Error ***

 

Thank you,

Ankush

 

From: Radosław Korzeniewski [mailto:radoslaw AT korzeniewski DOT net]
Sent: 12 June 2015 17:14
To: More, Ankush
Cc: bacula-users
Subject: Re: [Bacula-users] Windows client VSS

Hello,

Are you sure it is a whole joblog? It is very strange i.e. information about VSS Writers never appear at the end of the log.

You can display a joblog with bconsole command:

* list joblog jobid=179

And show us the output.

best regards

2015-06-11 16:21 GMT+02:00 More, Ankush <ankush.more AT capgemini DOT com>:

Hi,

 

Please find log:

 

bacula-dir Start Backup JobId 179, Job=ADCMAIL01-W-BkpTape.2015-06-03_08.22.41_26

Using Device "Drive-0" to write.

adcmail01-fd Generate VSS snapshots. Driver="Win32 VSS", Drive(s)="CDEFGHIJKLMNOPQRSTUVW"

bacula-dir

Error: Bacula bacula-dir 7.0.5 (28Jul14):

  Build OS:               x86_64-redhat-linux-gnu redhat Enterprise release

  JobId:                  179

  Job:                    ADCMAIL01-W-BkpTape.2015-06-03_08.22.41_26

  Backup Level:           Full

  Client:                 "ADCMAIL01-W-fd" 5.2.10 (28Jun12) Microsoft Windows Home ServerEnterprise Edition Service Pack 2 (build 3790),Cross-compile,Win32

  FileSet:                "Windows Set1" 2015-06-02 13:50:00

  Pool:                   "NonBill" (From Command input)

  Catalog:                "MyCatalog" (From Client resource)

  Storage:                "MSL6030" (From command line)

  Scheduled time:         03-Jun-2015 08:22:41

  Start time:             03-Jun-2015 08:22:43

  End time:               03-Jun-2015 08:22:55

  Elapsed time:           12 secs

  Priority:               10

  FD Files Written:       0

  SD Files Written:       0

  FD Bytes Written:       0 (0 B)

  SD Bytes Written:       0 (0 B)

  Rate:                   0.0 KB/s

  Software Compression:   None

  VSS:                    yes

  Encryption:             no

  Accurate:               no

  Volume name(s):        

  Volume Session Id:      4

  Volume Session Time:    1433329558

  Last Volume Bytes:      22,772,736 (22.77 MB)

  Non-fatal FD errors:    2

  SD Errors:              0

  FD termination status:  Error

  SD termination status:  Error

  Termination:            *** Backup Error ***

 

Error: Director's connection to SD for this Job was lost.

bacula-sd Elapsed time=00:00:11, Transfer rate=0  Bytes/second

adcmail01-fd Fatal error: Generate

adcmail01-fd VSS Writer (BackupComplete): "WMI Writer", State: 0x1 (VSS_WS_STABLE)

VSS Writer (BackupComplete): "COM+ REGDB Writer", State: 0x1 (VSS_WS_STABLE)

VSS Writer (BackupComplete): "System Writer", State: 0x1 (VSS_WS_STABLE)

VSS Writer (BackupComplete): "Microsoft Exchange Writer", State: 0x1 (VSS_WS_STABLE)

VSS Writer (BackupComplete): "Event Log Writer", State: 0x1 (VSS_WS_STABLE)

VSS Writer (BackupComplete): "IIS Metabase Writer", State: 0x1 (VSS_WS_STABLE)

VSS Writer (BackupComplete): "MSDEWriter", State: 0x1 (VSS_WS_STABLE)

VSS Writer (BackupComplete): "Registry Writer", State: 0x1 (VSS_WS_STABLE)

 

 

Thank you,

Ankush

 

From: Radosław Korzeniewski [mailto:radoslaw AT korzeniewski DOT net]
Sent: 11 June 2015 11:14
To: More, Ankush
Cc: bacula-users


Subject: Re: [Bacula-users] Windows client VSS

Hello. Could you send your job log with error. It should describe what is going on.

Best regards

9 cze 2015 12:09 PM "More, Ankush" <ankush.more AT capgemini DOT com> napisał(a):

Hi Pavel,

We didn't find any error in VSS list writers all the VSS writers are stable and no error in event log.
All the windows 2003 servers are having issue with bacula backup VSS enabling.

NT backup is running successfully with VSS enabled on all the windows 2003.

 

Thank you,

Ankush

 

From: Pavel Bychikhin [mailto:pbychikhin AT yahoo DOT com]
Sent: 09 June 2015 13:44
To: More, Ankush; bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] Windows client VSS

Hi Ankush,


In win 2003 the VSS service might be disabled or misconfigured. Please take a look:

To check if everything is working:

vssadmin list writers
This has to provide a listing of writers. If there is no listing and errors in the Event log then:

(http://support.microsoft.com/kb/940184):
Delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions
and Restart:
    COM+ Event System
    COM+ System Application
    Microsoft Software Shadow Copy Provider
    Volume Shadow Copy
or Restart Windows

If previous step doesn't work then:
(http://support.microsoft.com/kb/940032)
Apply MicrosoftFixit50633.msi or manually do:
    cd /d %windir%\system32
    Net stop vss
    Net stop swprv
    regsvr32 ole32.dll
    regsvr32 oleaut32.dll
    regsvr32 vss_ps.dll
    vssvc /register
    regsvr32 /i swprv.dll
    regsvr32 /i eventcls.dll
    regsvr32 es.dll
    regsvr32 stdprov.dll
    regsvr32 vssui.dll
    regsvr32 msxml.dll
    regsvr32 msxml3.dll
    regsvr32 msxml4.dll
Note The last command may not run successfully.

If previous step doesn't work then:
(http://support.microsoft.com/kb/940349)
Apply WindowsServer2003.WindowsXP-KB940349-v3-x64-ENU.exe for x64 system
And, possibly, do previous steps after that.

Best regards,
Pavel

-------- Original Message --------
Subject: Re: [Bacula-users] Windows client VSS

Hi Team,

 

Bacula backup successful on windows 2008 with VSS enabled.

 

windows 2003 client backup failed with VSS enabled.

Is VSS support on windows 2003?

 

Thank you,

Ankush

 

From: More, Ankush
Sent: 08 June 2015 17:07
To: 'bacula-users AT lists.sourceforge DOT net'
Subject: Windows client VSS

Hi Team,

 

Hi Team,

We are running Bacula server(7.0.5) on RHEL 6.x.

If I disable VSS then Windows client get backup and if I enable VSS (default is enable) backup failed.

I need backup with VSS enable.

 

Is Bacula support all windows version with VSS enable?

 

Thank you,

Ankush

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------

_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users



--

Radosław Korzeniewski
radoslaw AT korzeniewski DOT net

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
------------------------------------------------------------------------------

_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

 

 

------------------------------------------------------------------------------

 

_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------

_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------

_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

 

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users