Bacula-users

Re: [Bacula-users] Windows VSS Backup error

2015-10-28 07:16:13
Subject: Re: [Bacula-users] Windows VSS Backup error
From: "Clark, Patti" <clarkpa AT ornl DOT gov>
To: "Sebastian.Gumprich AT t-systems DOT com" <Sebastian.Gumprich AT t-systems DOT com>, "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 28 Oct 2015 11:13:22 +0000
Sebastian,

I do recommend staying as close to current – 7.2 as you are comfortable with managing.  Many on the list are still using 5.X versions of Bacula for many reasons.  The problem with using any of the older versions is that unless you have a work around for bugs, your only recourse is to upgrade to a current version.  

I did grab the links from another posting instead of reviewing the current status, so, no reason not to use the latest version.

Patti 

From: "Sebastian.Gumprich AT t-systems DOT com" <Sebastian.Gumprich AT t-systems DOT com>
Date: Wednesday, October 28, 2015 at 2:58 AM
To: "Clark, Patricia A." <clarkpa AT ornl DOT gov>, "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Subject: AW: [Bacula-users] Windows VSS Backup error

Hi Patti, Wanderlei,

 

thanks for your suggestions!

I’m not using spooling, so there should be now problem.

I’m going to increase the heartbeat interval now, first.

 

Then I’ll update Bacula. I see that you’re linking Bacula 5.2 backported and Bacula 7.0.

Are there general recommendations on what version to use?

There’s also the recent version 7.2 by the same maintainer:

https://copr-be.cloud.fedoraproject.org/results/slaanesh/Bacula/epel-6-x86_64/00119023-bacula/

 

Is there any reason you did not link this version?

 

Regards

Sebastian

 

Von: Clark, Patti [mailto:clarkpa AT ornl DOT gov]
Gesendet: Dienstag, 27. Oktober 2015 18:40
An: Gumprich, Sebastian; bacula-users AT lists.sourceforge DOT net
Betreff: Re: [Bacula-users] Windows VSS Backup error

 

Sebastian,

 

First, it’s usually a bad idea to have your FD running a newer version than your director.  That is an unsupported combination and is likely to cause problems.  It can be the other way around, the director can be newer than your FD.  I understand that 5.0.0 is the default carried by RHEL6, but you can use these to be more current:

 

Next, the recommendation is to increase your heartbeat interval.  I use 300.  This needs to be set on the director configuration AND the client configuration.  This should reduce the number of bsock errors.  You don’t mention if you are using spooling.  If the size of your spool file is too big you will have more disconnects particularly if your director or SD are busy.

 

Patti Clark

Linux System Administrator

R&D Systems Support Oak Ridge National Laboratory

 

From: "Sebastian.Gumprich AT t-systems DOT com" <Sebastian.Gumprich AT t-systems DOT com>
Date: Tuesday, October 27, 2015 at 11:58 AM
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Subject: [Bacula-users] Windows VSS Backup error

 

Hi bacula users,

 

we’re backing up Windows Server 2008 R2 64bit with Bacula using VSS.

Occasionally we’re getting the following error messages:

 

27-Oct 02:02 HOST JobId 44046: Generate VSS snapshots. Driver=\"Win64 VSS\", Drive(s)=\"C\"

27-Oct 02:05 HOST JobId 44046: VSS Writer (BackupComplete): \"Task Scheduler Writer\", State: 0x1 (VSS_WS_STABLE)

27-Oct 02:05 HOST JobId 44046: VSS Writer (BackupComplete): \"VSS Metadata Store Writer\", State: 0x1 (VSS_WS_STABLE)

27-Oct 02:05 HOST JobId 44046: VSS Writer (BackupComplete): \"Performance Counters Writer\", State: 0x1 (VSS_WS_STABLE)

27-Oct 02:05 HOST JobId 44046: VSS Writer (BackupComplete): \"System Writer\", State: 0x1 (VSS_WS_STABLE)

27-Oct 02:05 HOST JobId 44046: VSS Writer (BackupComplete): \"WMI Writer\", State: 0x1 (VSS_WS_STABLE)

27-Oct 02:05 HOST JobId 44046: VSS Writer (BackupComplete): \"TermServLicensing\", State: 0x1 (VSS_WS_STABLE)

27-Oct 02:05 HOST JobId 44046: VSS Writer (BackupComplete): \"BITS Writer\", State: 0x1 (VSS_WS_STABLE)

27-Oct 02:05 HOST JobId 44046: VSS Writer (BackupComplete): \"Shadow Copy Optimization Writer\", State: 0x1 (VSS_WS_STABLE)

27-Oct 02:05 HOST JobId 44046: VSS Writer (BackupComplete): \"Registry Writer\", State: 0x1 (VSS_WS_STABLE)

27-Oct 02:05 HOST JobId 44046: VSS Writer (BackupComplete): \"ASR Writer\", State: 0x1 (VSS_WS_STABLE)

27-Oct 02:05 HOST JobId 44046: VSS Writer (BackupComplete): \"COM+ REGDB Writer\", State: 0x1 (VSS_WS_STABLE)

27-Oct 02:05 HOST JobId 44046: VSS Writer (BackupComplete): \"DFS Replication service writer\", State: 0x1 (VSS_WS_STABLE)

27-Oct 02:05 HOST JobId 44046: VSS Writer (BackupComplete): \"NTDS\", State: 0x1 (VSS_WS_STABLE)

27-Oct 02:05 HOST JobId 44046: Error: lib/bsock.c:382 Socket is terminated=1 on call to client:172.29.209.71:9102

27-Oct 02:05 dir JobId 44046: Bacula dir 5.0.0 (26Jan10): 27-Oct-2015 02:05:06

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

  JobId:                  44046

  Job:                    backup-HOST-adm.2015-10-27_01.00.01_11

  Backup Level:           Incremental, since=2015-10-26 02:01:25

  Client:                 \"HOST-adm\" 5.2.10 (28Jun12) Microsoft Windows Server 2008 R2 Enterprise Edition Service Pack 1 (build 7601), 64-bit,Cross-compile,Win64

  FileSet:                \"active_directory\" 2015-02-24 01:00:01

  Pool:                   \"HOST-adm\" (From Job resource)

  Catalog:                \"bacula\" (From Client resource)

  Storage:                \"mgmt_storage\" (From Job resource)

  Scheduled time:         27-Oct-2015 01:00:01

  Start time:             27-Oct-2015 02:02:45

  End time:               27-Oct-2015 02:05:06

  Elapsed time:           2 mins 21 secs

  Priority:               10

  FD Files Written:       102

  SD Files Written:       102

  FD Bytes Written:       120,943,768 (120.9 MB)

  SD Bytes Written:       120,963,115 (120.9 MB)

  Rate:                   857.8 KB/s

  Software Compression:   94.1 %

  VSS:                    yes

  Encryption:             no

  Accurate:               no

  Volume name(s):         HOST-adm9421

  Volume Session Id:      2448

  Volume Session Time:    1444207056

  Last Volume Bytes:      121,406,963 (121.4 MB)

  Non-fatal FD errors:    0

  SD Errors:              0

  FD termination status:  OK

  SD termination status:  OK

  Termination:            Backup OK

 

 

27-Oct 02:05 HOST JobId 44046: Error: lib/bsock.c:382 Socket is terminated=1 on call to client:172.29.209.71:9102

What error is this? The backup seems to be okay, restore too.

 

 

Bacula director Version: 5.0.0

Bacula fd Version: 5.2.10 (64bit)

 

Here’s the Bacula-fd.conf:

 

Director {

  Name = dir

  Password = xxx

}

 

#

# "Global" File daemon configuration specifications

#

FileDaemon  {                  

  Name = HOST

  FDport = 9102                  # where we listen for the director

  WorkingDirectory = "C:\\Program Files\\Bacula\\working"

  Pid Directory = "C:\\Program Files\\Bacula\\working"

  Maximum Concurrent Jobs = 20

  PKI Signatures = no

  PKI Encryption = no

  Heartbeat Interval = 60

}

 

# Send all messages except skipped files back to Director

Messages {

        Name = Standard

        director = dav-shrd-log-VIP-adm = all, !skipped, !restored

}

 

Here’s the fileset used:

 

FileSet {

        Name = "windows"

        Include {

                Options {

                        compression = GZIP

                        signature = SHA1

                        IgnoreCase = yes

                        Exclude = yes

 

                        # Exclude junction points

                        WildDir = "[A-Z]:/Dokumente und Einstellungen"

                        WildDir = "[A-Z]:/Documents and Settings"

                        WildDir = "[A-Z]:/Program Files/Gemeinsame Dateien"

                        WildDir = "[A-Z]:/Program Files/Windows NT/Zubehör"

                        WildDir = "[A-Z]:/ProgramData/Anwendungsdaten"

                        WildDir = "[A-Z]:/ProgramData/Application Data"

                        WildDir = "[A-Z]:/ProgramData/Desktop"

                        WildDir = "[A-Z]:/ProgramData/Documents"

                        WildDir = "[A-Z]:/ProgramData/Dokumente"

                        WildDir = "[A-Z]:/ProgramData/Favoriten"

                        WildDir = "[A-Z]:/ProgramData/Favorites"

                        WildDir = "[A-Z]:/ProgramData/Microsoft/Windows/Start Menu/Programme"

                        WildDir = "[A-Z]:/ProgramData/Start Menu"

                        WildDir = "[A-Z]:/ProgramData/StartmenÃ1Ž4"

                        WildDir = "[A-Z]:/ProgramData/Templates"

                        WildDir = "[A-Z]:/ProgramData/Vorlagen"

                        WildDir = "[A-Z]:/Programme"

                        WildDir = "[A-Z]:/Documents and Settings"

                        WildDir = "[A-Z]:/Users/All Users"

                        WildDir = "[A-Z]:/Users/Default User"

                        WildDir = "[A-Z]:/Users/*/AppData/Local/Application Data"

                        WildDir = "[A-Z]:/Users/*/AppData/Local/Anwendungsdaten"

                        WildDir = "[A-Z]:/Users/*/AppData/Local/History"

                        WildDir = "[A-Z]:/Users/*/AppData/Local/Verlauf"

                        WildDir = "[A-Z]:/Users/*/AppData/Local/Temporary Internet Files"

                        WildDir = "[A-Z]:/Users/*/Application Data"

                        WildDir = "[A-Z]:/Users/*/Anwendungsdaten"

                        WildDir = "[A-Z]:/Users/*/Gemeinsame Dateien"

                        WildDir = "[A-Z]:/Users/*/Cookies"

                        WildDir = "[A-Z]:/Users/*/Documents/My Music"

                        WildDir = "[A-Z]:/Users/*/Documents/Eigene Musik"

                        WildDir = "[A-Z]:/Users/*/Documents/My Pictures"

                        WildDir = "[A-Z]:/Users/*/Documents/Eigene Bilder"

                        WildDir = "[A-Z]:/Users/*/Documents/My Videos"

                        WildDir = "[A-Z]:/Users/*/Documents/Eigene Videos"

                        WildDir = "[A-Z]:/Users/*/Local Settings"

                        WildDir = "[A-Z]:/Users/*/Lokale Einstellungen"

                        WildDir = "[A-Z]:/Users/*/My Documents"

                        WildDir = "[A-Z]:/Users/*/Eigene Dateien"

                        WildDir = "[A-Z]:/Users/*/NetHood"

                        WildDir = "[A-Z]:/Users/*/Netzwerkumgebung"

                        WildDir = "[A-Z]:/Users/*/PrintHood"

                        WildDir = "[A-Z]:/Users/*/Druckumgebung"

                        WildDir = "[A-Z]:/Users/*/Recent"

                        WildDir = "[A-Z]:/Users/*/SendTo"

                        WildDir = "[A-Z]:/Users/*/Start Menu"

                        WildDir = "[A-Z]:/Users/*/StartmenÃ1Ž4"

                        WildDir = "[A-Z]:/Users/*/Templates"

                        WildDir = "[A-Z]:/Users/*/Vorlagen"

 

                        # Temporary directories & files

                        WildDir = "[A-Z]:/Windows/Temp"

                        WildDir = "[A-Z]:/Users/*/AppData/Local/Mozilla/Firefox/Profiles/*/Cache"

 

                        # Recycle bins

                        WildDir = "[A-Z]:/$Recycle.Bin"

 

                        # Swap files

                        WildFile = "[A-Z]:/pagefile.sys"

                        }

 

                ExcludeDirContaining = "bacula_exclude.dir"

                File = "C:/"

                File = "D:/"

                }

}

 

 

Regards

Sebastian

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