hi bruno,
>In your jobDefs you have to set the correct client name, not
>Client = baculaSRV-fd
my linux-clients show the same and work (please see below)
root@baculaSRV:~# bconsole
Connecting to Director localhost:9101
1000 OK: baculaSRV-dir Version: 2.4.4 (28 December 2008)
Enter a period to cancel a command.
*run
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
A job name must be specified.
The defined Job resources are:
1: baculaSRV
2: baculasrv02
3: baculacli01
4: baculaexch
5: Backup-baculaSRV
6: Backup-baculasrv02
7: Backup-baculacli01
8: BackupCatalog
9: RestoreFiles
Select Job resource (1-9): 2
Run Backup job
JobName: baculasrv02
Level: Incremental
Client: baculaSRV-fd
FileSet: Full Set
Pool: Default (From Job resource)
Storage: File (From Job resource)
When: 2009-11-05 09:25:18
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=97
05-Nov 09:25 baculaSRV-dir JobId 97: Start Backup JobId 97,
Job=baculasrv02.2009-11-05_09.25.20.09
05-Nov 09:25 baculaSRV-dir JobId 97: Using Device "FileStorage"
05-Nov 09:25 baculaSRV-sd JobId 97: Volume "BckUp0006" previously written,
moving to end of data.
05-Nov 09:25 baculaSRV-sd JobId 97: Ready to append to end of Volume
"BckUp0006" size=1881132684
baculaSRV-fd JobId 97: /var/lock is a different filesystem. Will not
descend from /var into /var/lock
baculaSRV-fd JobId 97: /var/run is a different filesystem. Will not
descend from /var into /var/run
05-Nov 09:25 baculaSRV-sd JobId 97: Job write elapsed time = 00:00:01, Transfer
rate = 14.31 M bytes/second
05-Nov 09:25 baculaSRV-dir JobId 97: Bacula baculaSRV-dir 2.4.4 (28Dec08):
05-Nov-2009 09:25:22
Build OS: x86_64-pc-linux-gnu debian squeeze/sid
JobId: 97
Job: baculasrv02.2009-11-05_09.25.20.09
Backup Level: Incremental, since=2009-11-05 08:17:11
Client: "baculaSRV-fd" 2.4.4 (28Dec08)
x86_64-pc-linux-gnu,debian,squeeze/sid
FileSet: "Full Set" 2009-11-03 14:14:36
Pool: "Default" (From Job resource)
Storage: "File" (From Job resource)
Scheduled time: 05-Nov-2009 09:25:18
Start time: 05-Nov-2009 09:25:22
End time: 05-Nov-2009 09:25:22
Elapsed time: 0 secs
Priority: 10
FD Files Written: 99
SD Files Written: 99
FD Bytes Written: 14,309,254 (14.30 MB)
SD Bytes Written: 14,319,447 (14.31 MB)
Rate: 0.0 KB/s
Software Compression: None
VSS: no
Storage Encryption: no
Volume name(s): BckUp0006
Volume Session Id: 41
Volume Session Time: 1257332370
Last Volume Bytes: 1,895,465,567 (1.895 GB)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: OK
SD termination status: OK
Termination: Backup OK
05-Nov 09:25 baculaSRV-dir JobId 97: Begin pruning Jobs.
05-Nov 09:25 baculaSRV-dir JobId 97: No Jobs found to prune.
05-Nov 09:25 baculaSRV-dir JobId 97: Begin pruning Files.
05-Nov 09:25 baculaSRV-dir JobId 97: No Files found to prune.
05-Nov 09:25 baculaSRV-dir JobId 97: End auto prune.
Von: Bruno Friedmann [bruno AT ioda-net DOT ch]
Gesendet: Donnerstag, 5. November 2009 09:14
Cc: bacula-users AT lists.sourceforge DOT net
Betreff: Re: [Bacula-users] Backup: Windows 2003 Server: Could not stat
C:\WINDOWS\: ERR=No such file or directory
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
------------------------------------------------------------------------------
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
|