Bacula-users

Re: [Bacula-users] Backup: Windows 2003 Server: Could not stat C:\WINDOWS\: ERR=No such file or directory

2009-11-05 03:19:34
Subject: Re: [Bacula-users] Backup: Windows 2003 Server: Could not stat C:\WINDOWS\: ERR=No such file or directory
From: Bruno Friedmann <bruno AT ioda-net DOT ch>
Date: Thu, 05 Nov 2009 09:14:30 +0100
Dennis Schneck wrote:
> 
> Hello Rodrigo,
> 
> File = C:/Windows
> 
> It do not work
> 
> 05-Nov 08:05 baculaSRV-fd JobId 90:      Could not stat C:/WINDOWS: ERR=No 
> such file or directory
> 
> FileSet {
>   Name = "Full Set WIN"
>   Enable VSS = yes
>   Include {
>     Options {
>       ignore case = yes
>       signature = MD5
>     }
>     file = "C:/WINDOWS"
> }
> Exclude {
>     file = "c:\\temp"
>     file = "c:\\pagefile.sys"
>     file = "*Temporary Internet Files*"
>   }
> }
> 
> 
> 
> 
> 
> Von: Rodrigo Fernandes [rodrigoefer AT gmail DOT com]
> Gesendet: Mittwoch, 4. November 2009 20:45
> An: Dennis Schneck
> Betreff: Re: [Bacula-users] Backup: Windows 2003 Server: Could not stat       
>   C:\WINDOWS\: ERR=No such file or directory
> 
> Try this:
> 
> File = C:/Windows
> 
> in Fileset option.
> 
> 
> 
> On Wed, Nov 4, 2009 at 12:40 PM, Dennis Schneck <D.Schneck AT serverteam24 
> DOT net<mailto:D.Schneck AT serverteam24 DOT net>> wrote:
> Hello,
> i wann backup a windows 2003 server.
> 
> my FileSet CFG:
> 
> JobDefs {
>  Name = "DefaultJobWIN"
>  Type = Backup
>  Level = Incremental
>  Client = baculaSRV-fd
>  FileSet = "Full Set WIN"
>  Schedule = "WeeklyCycle"
>  Storage = File
>  Messages = Standard
>  Pool = Default
>  Priority = 10
> }
> 
> Job {
>  Name = "baculaexch"
>  JobDefs = "DefaultJobWIN"
>  Write Bootstrap = "/var/lib/bacula/baculaexch.bsr"
> }
> 
> 
> FileSet {
>  Name = "Full Set WIN"
>  Enable VSS = yes
>  Include {
>    Options {
>      Ignore Case = yes
>      signature = MD5
>    }
>   file = "C:\\WINDOWS\\"
> }
> 
>  Exclude {
>    file = "c:\\temp"
>    file = "c:\\pagefile.sys"
>    file = "*Temporary Internet Files*"
>  }
> }
> 
> 
> 
> 
> Date: Wed, 04 Nov 2009 15:32:19 +0100 (CET)
> 
> 04-Nov 15:32 baculaSRV-dir JobId 72: No prior Full backup Job record found.
> 04-Nov 15:32 baculaSRV-dir JobId 72: No prior or suitable Full backup found 
> in catalog. Doing FULL backup.
> 04-Nov 15:32 baculaSRV-dir JobId 72: Start Backup JobId 72, 
> Job=baculaexch.2009-11-04_15.32.17.03
> 04-Nov 15:32 baculaSRV-dir JobId 72: Using Device "FileStorage"
> 04-Nov 15:32 baculaSRV-sd JobId 72: Volume "BckUp0006" previously written, 
> moving to end of data.
> 04-Nov 15:32 baculaSRV-sd JobId 72: Ready to append to end of Volume 
> "BckUp0006" size=1481814731
> 04-Nov 15:32 baculaSRV-fd JobId 72:      Could not stat C:\WINDOWS\: ERR=No 
> such file or directory
> 04-Nov 15:32 baculaSRV-sd JobId 72: Job write elapsed time = 00:00:01, 
> Transfer rate = 0  bytes/second
> 04-Nov 15:32 baculaSRV-dir JobId 72: Bacula baculaSRV-dir 2.4.4 (28Dec08): 
> 04-Nov-2009 15:32:19
>  Build OS:               x86_64-pc-linux-gnu debian squeeze/sid
>  JobId:                  72
>  Job:                    baculaexch.2009-11-04_15.32.17.03
>  Backup Level:           Full (upgraded from Incremental)
>  Client:                 "baculaSRV-fd" 2.4.4 (28Dec08) 
> x86_64-pc-linux-gnu,debian,squeeze/sid
>  FileSet:                "Full Set WIN" 2009-11-04 15:32:17
>  Pool:                   "Default" (From Job resource)
>  Storage:                "File" (From Job resource)
>  Scheduled time:         04-Nov-2009 15:32:15
>  Start time:             04-Nov-2009 15:32:19
>  End time:               04-Nov-2009 15:32:19
>  Elapsed time:           0 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:                    no
>  Storage Encryption:     no
>  Volume name(s):
>  Volume Session Id:      16
>  Volume Session Time:    1257332370
>  Last Volume Bytes:      1,481,815,139 (1.481 GB)
>  Non-fatal FD errors:    1
>  SD Errors:              0
>  FD termination status:  OK
>  SD termination status:  OK
>  Termination:            Backup OK -- with warnings
> 
> 04-Nov 15:32 baculaSRV-dir JobId 72: Begin pruning Jobs.
> 04-Nov 15:32 baculaSRV-dir JobId 72: No Jobs found to prune.
> 04-Nov 15:32 baculaSRV-dir JobId 72: Begin pruning Files.
> 04-Nov 15:32 baculaSRV-dir JobId 72: No Files found to prune.
> 04-Nov 15:32 baculaSRV-dir JobId 72: End auto prune.
> 
> 
> 
> What did i wrong ?
> The bacula-fd service on the Windows 2003 (domain controller) runs als user 
> administrator
> Thanks for help
> dennis
> 

As Avi already said, you are trying to save a Windows fileset with your 
baculaSRV-FD
> 04-Nov 15:32 baculaSRV-fd JobId 72:      Could not stat C:\WINDOWS\: ERR=No 
> such file or directory

In your jobDefs you have to set the correct client name, not
Client = baculaSRV-fd

Or you can re-add the desired client in the jobs

If you made this corrections, you will get a real windows backup job, Trust us !


-- 

     Bruno Friedmann



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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>