Hello,

On 3/20/2006 7:43 AM, Ger Apeldoorn wrote:
Hi there!

No responses yet, is everyone baffled? If you need extra information please let 
me know...

Baffled? Yes, that too, but don't forget it's been a weekend!

Thanks,
Ger.

Op vrijdag 17 maart 2006 10:33, schreef Ger Apeldoorn:

Hi!

I've got a problem with Pools and backing up to a file resource...

The trouble is that although i tell it to backup using the NAS-Files pool, it stubbornly inists to backup to the Default pool to which that SD has no access. (The NAS is just a big HDD)

The configuration only shows me that you've got the pools in question defined... more interesting would be the information how you started the job. If you do this via command line, or through a schedule, and what the actual run command was...

Arno

This is the STAT from the SD:
----------------------------------------%<-------------------------------------------
nas-sd Version: 1.38.5 (18 January 2006) i686-pc-linux-gnu debian testing/unstable
Daemon started 16-Mar-06 11:25, 1 Job run since started.

Running Jobs:
Writing: Full Backup job job1 JobId=838 Volume=""
   pool="Default" device=""FileStorageNAS" (/data/bacula)"
   Files=0 Bytes=0 Bytes/sec=0
   FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6
Writing: Full Backup job job2 JobId=840 Volume=""
   pool="Default" device=""FileStorageNAS" (/data/bacula)"
   Files=0 Bytes=0 Bytes/sec=0
   FDReadSeqNo=6 in_msg=6 out_msg=4 fd=8

(%<)
====

Jobs waiting to reserve a drive:
3608 JobId=888 wants Pool="NAS-Files" but have Pool="Default" on drive "FileStorageNAS" (/data/bacula). 3607 JobId=888 wants Vol="Volume0002" drive has Vol="" on drive "FileStorageNAS" (/data/bacula).
====

Device status:
Device "FileStorageNAS" (/data/bacula) is not open or does not exist.
   Device is BLOCKED waiting for media.
====
----------------------------------------%<-------------------------------------------

Here is relevant stuff from my bacula-sd.conf on the NAS:
It is configured to automatically create a new volume for each job.
----------------------------------------%<-------------------------------------------
Storage {                             # definition of myself
 Name = bigfilemachine-sd
 SDPort = 9103                  # Director's port
 WorkingDirectory = "/var/bacula/working"
 Pid Directory = "/var/run"
 Maximum Concurrent Jobs = 20
}

Device {
 Name = FileStorageNAS
 Media Type = File
 Archive Device = /path/bacula
 LabelMedia = yes;                   # lets Bacula label unlabeled media
 Random Access = Yes;
 AutomaticMount = yes;               # when device opened, read it
 RemovableMedia = no;
 AlwaysOpen = no;
}
----------------------------------------%<-------------------------------------------

Here's the directors config:
----------------------------------------%<-------------------------------------------
JobDefs {
 Name = "DefaultNASJob"
 Type = Backup
 Level = Differential
 Client = minime-fd
 FileSet = "minime"
 Schedule = "WeeklyCycle"
 Storage = FileNAS
 Messages = Standard
 Pool = NAS-Files
 Priority = 10
}

Job {
 Name = "testmachineNAS"
 Client = testmachine-fd
 JobDefs = "DefaultNASJob"
 FileSet = "testmachine"
 Write Bootstrap = "/var/bacula/working/testmachine.bsr"
}

FileSet {
 Name = "testmachine"
 Include {
   Options { signature = MD5
             compression=GZIP }
   File = /etc
 }
}

Client {
 Name = testmachine-fd
 Address = testmachine.whatever.com
 FDPort = 9102
 Catalog = MyCatalog
 Password = "modified"          # password for FileDaemon
 File Retention = 30 days            # 30 days
 Job Retention = 6 months            # six months
 AutoPrune = yes                     # Prune expired Jobs/Files
}

# Definition of file storage device
Storage {
 Name = FileNAS
Address = bigfilemachine.whatever.com # N.B. Use a fully qualified name here
 SDPort = 9103
Password = "modified" Device = FileStorageNAS
 Media Type = File
}

Pool {
 Name = NAS-Files
 Maximum Volume Jobs = 1
 Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
 AutoPrune = yes                     # Prune expired volumes
 VolumeRetention = 60 days
 Accept Any Volume = yes             # write on any volume in the pool
 Maximum Volumes = 100
 LabelFormat = "Volume"
}
----------------------------------------%<-------------------------------------------

Any help greatly appreciated!!

Many thanks, Ger



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users







-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to