Hi,

On 4/3/2007 10:35 AM, Luca Ferrari wrote:
> Hi,
> I'm a newbie of Bacula and I cannot get my first job running. I'm trying to 
> backup the config of the machine that runs the fd,sd and director. In my 
> bacula.sd.conf I've got:
> 
> Device {
>    Name = Config_Storage
>    Archive Device = /backup/configurazioni
>    Device Type = File
>    Removable Media = No
>    Random Access = Yes
>    Media Type = backup_server
> }
> 
> and in my bacula-dir.conf I've got:
> 
> Storage {
>   Name = backup-sd
>   Address = 192.168.1.4
>   SDPort = 9103
>   Password = "_BacUlA_dIrEcToR_"
>   Device = Config_Storage
>   Media Type = backup_storage
> }

Different Media Types.

Also, and I know this is your installations, I would recommend a 
different naming scheme for devices and media types. Something clearer, 
like "Media Type = BaculaServerFile" and "Device = FileStorage" might be 
easier to understand.

> 
> Job {
> 
>     Name = mySelf_Job
>     Enabled = yes
>     Type = Backup
>     Level = Incremental
>     Client = mySelf
>     FileSet = Config_FileSet
>     Storage = backup-sd
>     Messages = Daemon
>     Pool = Default
> }
> 
> 
> Now, in my bconsole I see the first problem (I guess):
> 
> *status storage
> 
> Device status:
> Device "Config_Storage" (/backup/configurazioni) is not open or does not 
> exist.

Not a problem, just the current state of the device.

> and when I run the job I got the following error in the logs:
> 
> 03-apr 10:22 backup-sd: mySelf_Job.2007-04-03_10.22.04 Fatal error:
>      Device "Config_Storage" with MediaType "backup_storage" requested by DIR 
> not found in SD Device resources.

Quite clear, isn't it? ;-)

> 03-apr 10:22 backup-dir: mySelf_Job.2007-04-03_10.22.04 Fatal error:
>      Storage daemon didn't accept Device "Config_Storage" because:
>      3924 Device "Config_Storage" not in SD Device resources.
> 03-apr 10:22 backup-dir: mySelf_Job.2007-04-03_10.22.04 Error: Bacula 1.38.11 
> (28Jun06): 03-apr-2007 10:22:06
> 
> Why it does not run the job? Can anyone please help me to configure this 
> simple backup job??

Just follow the manual...

Arno

> Thanks,
> Luca
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> 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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to