You use JobDef in your job, but didn't show you have create a jobdef which is
fundamentally different of a FileSet :-)
Don't worry it's friday.
On vendredi, 24 février 2017 03.38:32 h CET Tim W wrote:
> OK, so I figured some things out. It seems that the job definition was
> referencing a Linux fileset. I tried pointing it at a new job definition,
> and now the director won't start, saying it can't find the job definition:
>
> Feb 23 20:34:45 dantooine.scumbag.scb bareos-dir[11275]: Config error:
> Could not find config resource "WindowsAllDrives" referenced on line 3:
> JobDefs = "WindowsAllDrives"
> Feb 23 20:34:45 dantooine.scumbag.scb bareos-dir[11275]: : line 3, col 30
> of file /etc/bareos/bareos-dir.d/job/backup-chimaera-fd.conf
> Feb 23 20:34:45 dantooine.scumbag.scb bareos-dir[11275]: JobDefs =
> "WindowsAllDrives"
> Feb 23 20:34:45 dantooine.scumbag.scb bareos-dir[11276]: bareos-dir: ERROR
> TERMINATION at res.c:531
> Feb 23 20:34:45 dantooine.scumbag.scb bareos-dir[11276]: Config error:
> Could not find config resource "WindowsAllDrives" referenced on line 3:
> JobDefs = "WindowsAllDrives"
> Feb 23 20:34:45 dantooine.scumbag.scb bareos-dir[11276]: : line 3, col 30
> of file /etc/bareos/bareos-dir.d/job/backup-chimaera-fd.conf
> Feb 23 20:34:45 dantooine.scumbag.scb bareos-dir[11276]: JobDefs =
> "WindowsAllDrives"
>
>
>
> Here is my /etc/bareos/bareos-dir.d/job/backup-chimaera-fd.conf file:
>
> Job {
> Name = "backup-chimaera-fd"
> JobDefs = "WindowsAllDrives"
> Client = "chimaera-fd"
> Storage = File
> }
>
> #FileSet {
> # Name = "Windows FULL"
> # Enable VSS = no
> # Include {
> # File = C:/
> # Options {
> # signature = MD5
> # Compression = GZIP5
> # }
> # }
> # Exclude {
> # File = hiberfil.sys
> # File = pagefile.sys
> # File = 'Temporary Internet Files'
> # }
> #}
>
> FileSet {
> Name = "Windows"
> Enable VSS = Yes
> Include {
> Options {
> exclude = yes
> IgnoreCase = yes
> wilddir = "*Recycle.Bin*"
> wilddir = "*Temporary Internet Files*"
> wilddir = "C:/MSOCache"
> wilddir = "C:/Program Files*"
> wilddir = "C:/ProgramData"
> wilddir = "C:/Users/*/AppData"
> wilddir = "*System Volume Information*"
> wilddir = "C:/Windows"
> wildfile = "[A-Z]:/hiberfil.sys"
> wildfile = "[A-Z]:/pagefile.sys"
> }
> Options {
> signature = MD5
> Compression = GZIP1
> }
> File = "C:/"
> }
> }
>
> Here is my job definition
> file /etc/bareos/bareos-dir.d/fileset/WindowsAllDrives.conf :
>
> FileSet {
> Name = "WindowsAllDrives"
> Enable VSS = yes
> Include {
> Options {
> Signature = MD5
> Drive Type = fixed
> IgnoreCase = yes
> WildFile = "[A-Z]:/pagefile.sys"
> WildDir = "[A-Z]:/RECYCLER"
> WildDir = "[A-Z]:/$RECYCLE.BIN"
> WildDir = "[A-Z]:/System Volume Information"
> Exclude = yes
> }
> File = /
> }
> }
>
>
> What am I doing wrong here?
>
> On Thu, Feb 23, 2017 at 3:32 PM, Dan Broscoi <[email protected]> wrote:
> > joi, 23 februarie 2017, 23:08:59 UTC+2, Tim Wielgos a scris:
> > > So no matter what I do, I can't seem to get my windows host to back up.
> >
> > I've tried regenerating passwords, no avail. Reinstalling, etc. Nothing
> > works.
> >
> > > It seems to make the connection, then fails.
> > >
> > >
> > > Any suggestions?
> > >
> > >
> > >
> > >
> > >
> > > Here's my backup log:
> > >
> > >
> > > 2017-02-22 21:27:08chimaera-fd JobId 346: Fatal error: No drive letters
> >
> > found for generating VSS snapshots.
> >
> > > 2017-02-22 21:27:08chimaera-fd JobId 346: Error: VSS API failure calling
> >
> > "BackupComplete". ERR=Object is not initialized; called during restore or
> > not called in correct sequence.
> >
> > > 2017-02-22 21:27:06chimaera-fd JobId 346: Created 28 wildcard excludes
> >
> > from FilesNotToBackup Registry key
> >
> > > 2017-02-22 21:17:23bareos-dir JobId 346: Error: Bareos bareos-dir 16.2.4
> >
> > (01Jul16):
> > > Build OS: x86_64-redhat-linux-gnu redhat CentOS Linux release 7.0.1406
> >
> > (Core)
> >
> > > JobId: 346
> > > Job: chimaera-fd.2017-02-22_21.00.00_12
> > > Backup Level: Full (upgraded from Incremental)
> > > Client: "chimaera-fd" 16.2.4 (01Jul16) Microsoft Windows 7 Professional
> >
> > Service Pack 1 (build 7601), 64-bit,Cross-compile,Win64
> >
> > > FileSet: "SelfTest" 2016-11-10 21:00:00
> > > Pool: "Full" (From Job FullPool override)
> > > Catalog: "MyCatalog" (From Client resource)
> > > Storage: "File" (From Job resource)
> > > Scheduled time: 22-Feb-2017 21:00:00
> > > Start time: 22-Feb-2017 21:15:09
> > > End time: 22-Feb-2017 21:17:23
> > > Elapsed time: 2 mins 14 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: 126
> > > Volume Session Time: 1484451784
> > > Last Volume Bytes: 0 (0 B)
> > > Non-fatal FD errors: 2
> > > SD Errors: 0
> > > FD termination status: Fatal Error
> > > SD termination status: OK
> > > Termination: *** Backup Error ***
> > >
> > > 2017-02-22 21:15:16bareos-sd JobId 346: Elapsed time=00:00:07, Transfer
> >
> > rate=0 Bytes/second
> >
> > > 2017-02-22 21:15:09bareos-sd JobId 346: Volume "Full-0001" previously
> >
> > written, moving to end of data.
> >
> > > 2017-02-22 21:15:09bareos-sd JobId 346: Ready to append to end of Volume
> >
> > "Full-0001" size=238456043
> >
> > > 2017-02-22 21:13:01bareos-dir JobId 346: Using Device "FileStorage" to
> >
> > write.
> >
> > > 2017-02-22 21:10:54bareos-dir JobId 346: Start Backup JobId 346,
> >
> > Job=chimaera-fd.2017-02-22_21.00.00_12
> >
> > > 2017-02-22 21:00:00bareos-dir JobId 346: No prior Full backup Job record
> >
> > found.
> >
> > maybe the answer is in the first line:
> > chimaera-fd JobId 346: Fatal error: No drive letters found for generating
> > VSS snapshots.
> >
> >
> > disable vss or check the letters in the fileset
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "bareos-users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to [email protected].
> > To post to this group, send email to [email protected].
> > For more options, visit https://groups.google.com/d/optout.
--
Bruno Friedmann
Ioda-Net Sàrl www.ioda-net.ch
Bareos Partner, openSUSE Member, fsfe fellowship
GPG KEY : D5C9B751C4653227
irc: tigerfoot
openSUSE Tumbleweed
Linux 4.9.10-1-default x86_64 GNU/Linux, nvidia: 378.13
Qt: 5.7.1, KDE Frameworks: 5.30.0, Plasma: 5.9.2, kmail2 5.4.2
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.