Bacula-users

Re: [Bacula-users] backup of Windows 7 machine failing

2013-06-24 06:53:37
Subject: Re: [Bacula-users] backup of Windows 7 machine failing
From: Kern Sibbald <kern AT sibbald DOT com>
To: gary AT extremeground DOT com
Date: Mon, 24 Jun 2013 12:49:30 +0200
Hello,

You are trying to do something that is not supported by Bacula, which
I think may be the source of your problem: that is you are running
a FD (5.2.10) that is newer than your Director (5.2.6).  I recommend
either upgrading your Dir and SD to 5.2.10 or higher (current = 5.2.13)
or downgrading your FD to 5.2.6 to correspond to the version of
your Director.

It looks like your catalog is not quite in sync with either the FD or 
your Director,
because either the the RestoreObject table does not exist or it is an 
older version
that is missing a column -- that sounds a bit strange to me, because I do
not remember modifying the RestoreObject table, but then we have done so
many changes to Bacula over the past year or so, it is hard for me to 
remember
the finer details.

Best regards,
Kern

On 06/22/2013 05:35 AM, Gary Dale wrote:
> The backups used to work until I had to do a fresh install of Windows 7. I 
> copied the old .conf files on the Windows 7 machine into the new install and 
> can run bconsole on the machine. I'm also backing up files from the machine 
> hosting the bacula director and they are being backed up OK. Unfortunately, 
> I'm at a loss on what is going wrong here and can't find anything through 
> Google.
>
> The machine directing the backups is called molar while the machine I'm 
> trying to backup files from is called server. molar-dir is the director, 
> molar-sd is the storage director and server-fd is the remote file director. 
> There's also a molar-fd running on the local machine (molar) that is not 
> reporting any errors.
>
> Any ideas?
>
> Here's the e-mail I'm getting reporting the error.
>
>
> 21-Jun 23:05 molar-dir JobId 1480: Start Backup JobId 1480, 
> Job=BackupServer.2013-06-21_23.05.01_04
> 21-Jun 23:05 molar-dir JobId 1480: Using Device "FileStorage"
> 21-Jun 23:04 server-fd JobId 1480: DIR and FD clocks differ by -23 seconds, 
> FD automatically compensating.
> 21-Jun 23:05 molar-sd JobId 1480: Volume "backup-set1" previously written, 
> moving to end of data.
> 21-Jun 23:05 molar-sd JobId 1480: Ready to append to end of Volume 
> "backup-set1" size=419137241896
> 21-Jun 23:04 server-fd JobId 1480: Generate VSS snapshots. Driver="Win64 
> VSS", Drive(s)="C"
> 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): "Task 
> Scheduler Writer", State: 0x1 (VSS_WS_STABLE)
> 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): "VSS Metadata 
> Store Writer", State: 0x1 (VSS_WS_STABLE)
> 21-Jun 23:08 molar-dir JobId 1480: Fatal error: sql_create.c:1219 Create db 
> Object record INSERT INTO RestoreObject 
> (ObjectName,PluginName,RestoreObject,ObjectLength,ObjectFullLength,ObjectIndex,ObjectType,ObjectCompression,FileIndex,JobId)
>  VALUES 
> ('job_metadata.xml','*all*','PABCAEEAQwBLAFUAUABfAEMATwBNAFAATwBOAEUATgBUAFMAIAB4AG0AbABuAHMAPQAiAHgALQBzAGMAaABlAG0AYQA6ACMAVgBzAHMAQwBvAG0AcABvAG4AZQBuAHQATQBlAHQAYQBkAGEAdABhACIAIAB2AGUAcgBzAGkAbwBuAD0AIgAxAC4AMgAiACAAYgBvAG8AdABhAGIAbABlAFMAeQBzAHQAZQBtAFMAdABhAHQAZQBCAGEAYwBrAHUAcAA9ACIAeQBlAHMAIgAgAHMAZQBsAGUAYwB0AEMAbwBtAHAAbwBuAGUAbgB0AHMAPQAiAHkAZQBzACIAIABiAGEAYwBrAHUAcABUAHkAcABlAD0AIgBpAG4AYwByAGUAbQBlAG4AdABhAGwAIgAgAHAAYQByAHQAaQBhAGwARgBpAGwAZQBTAHUAcABwAG8AcgB0AD0AIgBuAG8AIgAgAHMAbgBhAHAAcwBoAG8AdABTAGUAdABJAGQAPQAiAGUANABkADIANQAzADEANgAtADAAYgA1ADQALQA0AGQANQAxAC0AYQA1ADgAZgAtADIAYgAzADMAZAA5ADIAMgBmADMANQBkACIALwA+AAAA',462,462,1371870479,25,0,2897,1480)
>  failed. ERR=table RestoreObject has no column named ObjectCompressio
> 21-Jun 23:08 molar-dir JobId 1480: Fatal error: catreq.c:538 Restore object 
> create error. sql_create.c:1219 Create db Object record INSERT INTO 
> RestoreObject 
> (ObjectName,PluginName,RestoreObject,ObjectLength,ObjectFullLength,ObjectIndex,ObjectType,ObjectCompression,FileIndex,JobId)
>  VALUES 
> ('job_metadata.xml','*all*','PABCAEEAQwBLAFUAUABfAEMATwBNAFAATwBOAEUATgBUAFMAIAB4AG0AbABuAHMAPQAiAHgALQBzAGMAaABlAG0AYQA6ACMAVgBzAHMAQwBvAG0AcABvAG4AZQBuAHQATQBlAHQAYQBkAGEAdABhACIAIAB2AGUAcgBzAGkAbwBuAD0AIgAxAC4AMgAiACAAYgBvAG8AdABhAGIAbABlAFMAeQBzAHQAZQBtAFMAdABhAHQAZQBCAGEAYwBrAHUAcAA9ACIAeQBlAHMAIgAgAHMAZQBsAGUAYwB0AEMAbwBtAHAAbwBuAGUAbgB0AHMAPQAiAHkAZQBzACIAIABiAGEAYwBrAHUAcABUAHkAcABlAD0AIgBpAG4AYwByAGUAbQBlAG4AdABhAGwAIgAgAHAAYQByAHQAaQBhAGwARgBpAGwAZQBTAHUAcABwAG8AcgB0AD0AIgBuAG8AIgAgAHMAbgBhAHAAcwBoAG8AdABTAGUAdABJAGQAPQAiAGUANABkADIANQAzADEANgAtADAAYgA1ADQALQA0AGQANQAxAC0AYQA1ADgAZgAtADIAYgAzADMAZAA5ADIAMgBmADMANQBkACIALwA+AAAA',462,462,1371870479,25,0,2897,1480)
>  failed. ERR=table RestoreO
> ject has no column named ObjectCompression21-Jun 23:07 server-fd JobId 1480: 
> VSS Writer (BackupComplete): "Performance Counters Writer", State: 0x1 
> (VSS_WS_STABLE)
> 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): "System 
> Writer", State: 0x1 (VSS_WS_STABLE)
> 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): 
> "SqlServerWriter", State: 0x1 (VSS_WS_STABLE)
> 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): "ASR Writer", 
> State: 0x1 (VSS_WS_STABLE)
> 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): "Shadow Copy 
> Optimization Writer", State: 0x1 (VSS_WS_STABLE)
> 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): "BITS 
> Writer", State: 0x1 (VSS_WS_STABLE)
> 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): "WMI Writer", 
> State: 0x1 (VSS_WS_STABLE)
> 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): "MSSearch 
> Service Writer", State: 0x1 (VSS_WS_STABLE)
> 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): "COM+ REGDB 
> Writer", State: 0x1 (VSS_WS_STABLE)
> 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): "Registry 
> Writer", State: 0x1 (VSS_WS_STABLE)
> 21-Jun 23:08 molar-dir JobId 1480: Error: Bacula molar-dir 5.2.6 (21Feb12):
>     Build OS:               x86_64-pc-linux-gnu debian 7.0
>     JobId:                  1480
>     Job:                    BackupServer.2013-06-21_23.05.01_04
>     Backup Level:           Incremental, since=2013-05-15 23:05:13
>     Client:                 "server-fd" 5.2.10 (28Jun12) Microsoft Windows 7 
> Professional Service Pack 1 (build 7601), 64-bit,Cross-compile,Win64
>     FileSet:                "server-files" 2012-04-09 17:41:13
>     Pool:                   "File" (From Job resource)
>     Catalog:                "MyCatalog" (From Client resource)
>     Storage:                "File" (From Job resource)
>     Scheduled time:         21-Jun-2013 23:05:01
>     Start time:             21-Jun-2013 23:05:14
>     End time:               21-Jun-2013 23:08:24
>     Elapsed time:           3 mins 10 secs
>     Priority:               10
>     FD Files Written:       2,897
>     SD Files Written:       0
>     FD Bytes Written:       2,446,771,865 (2.446 GB)
>     SD Bytes Written:       0 (0 B)
>     Rate:                   12877.7 KB/s
>     Software Compression:   None
>     VSS:                    yes
>     Encryption:             no
>     Accurate:               no
>     Volume name(s):         backup-set1
>     Volume Session Id:      2
>     Volume Session Time:    1371786532
>     Last Volume Bytes:      421,137,113,874 (421.1 GB)
>     Non-fatal FD errors:    1
>     SD Errors:              0
>     FD termination status:  OK
>     SD termination status:  Running
>     Termination:            *** Backup Error ***
>
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users