Hi!

The media type should be the same in both dir and sd (e.g. backup_server 
only). Now it looks for a device which does not have the media type 
given in the director. Tell me if you need more instructions or an 
example of a working version.

I think you do the same as I did when I started off. I made it too 
difficult :). Then I created a consistent naming scheme for all parts of 
the network and I can easily remember them all by heart.

Cheers,
Johan Ehnberg

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
> }
> 
> 
> 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.
> 
> 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.
> 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??
> 
> 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

-------------------------------------------------------------------------
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