Re: [Bacula-users] Waitung for a mount request?

2011-04-28 Thread John Drescher
2011/4/28 Dennis Hoppe :
> Hello,
>
> this is my first attempt with bacula and i need some advice about my
> configs. I am running a file based backup with an extra device for each
> client.
>
> I thought this would support parallel jobs, but if i start two backup
> jobs like "run job=bserver" and "run job=bclient1", the second job is
> waitung for a mount request?
>

The problem is loading the same pool in both devices. That is not
always easy. Bacula will want to load the same volume by default.


>
> Do i need a autochanger, even if there are no usb-disks or tapes
> involved? Any hints regardings the whole setup?
>

No but the bacula vchanger adds flexibility that makes it easier (my
opinion) to do concurrent backups with disks.

> Regards, Dennis
>
> --
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>



-- 
John M. Drescher

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Waitung for a mount request?

2011-04-28 Thread Dennis Hoppe
Hello John,

Am 28.04.2011 16:07, schrieb John Drescher:
> 2011/4/28 Dennis Hoppe :
>> this is my first attempt with bacula and i need some advice about my
>> configs. I am running a file based backup with an extra device for each
>> client.
>>
>> I thought this would support parallel jobs, but if i start two backup
>> jobs like "run job=bserver" and "run job=bclient1", the second job is
>> waitung for a mount request?
> 
> The problem is loading the same pool in both devices. That is not
> always easy. Bacula will want to load the same volume by default.

there must be another explanation, because i also use client specific
pools.

FYI: I have forgotten to attach the client config / template.

>> Do i need a autochanger, even if there are no usb-disks or tapes
>> involved? Any hints regardings the whole setup?
> 
> No but the bacula vchanger adds flexibility that makes it easier (my
> opinion) to do concurrent backups with disks.

Regards, Dennis
Job {
  Name = "bserver"
  Type = Backup
  Level = Incremental
  Client = bserver-fd
  FileSet = "bserver"
  Schedule = "WeeklyCycle"
  Storage = bserver
  Messages = Standard
  Pool = bserver
}

FileSet {
  Name = "bserver"
  Include {
Options {
  signature = MD5
}
File = /
  }

  Exclude {
File = /dev
File = /media
File = /mnt
File = /proc
File = /sys
File = /tmp
  }
}

Client {
  Name = bserver-fd
  Address = bserver.credativ.lan
  FDPort = 9102
  Catalog = MyCatalog
  Password = "-6go-ig_S3oAf5fuwlRNJwINRNyKlTgLj"
  File Retention = 30 days
  Job Retention = 6 months
  AutoPrune = yes
}

Storage {
  Name = bserver
  Address = bserver.credativ.lan
  SDPort = 9103
  Password = "qUDDgb_XlZY3nk8po1ZvF11oQDdU0ehF5"
  Device = bserver
  Media Type = File
}

Pool {
  Name = bserver
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 60 days
  Maximum Volumes = 90
  Use Volume Once = yes
  LabelFormat = 
"backup_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-${Hour:p/2/0/r}:${Minute:p/2/0/r}"
}
Job {
  Name = "%name"
  Type = Backup
  Level = Incremental
  Client = %name-fd
  FileSet = "%name"
  Schedule = "WeeklyCycle"
  Storage = %name
  Messages = Standard
  Pool = %name
}

FileSet {
  Name = "%name"
  Include {
Options {
  signature = MD5
}
File = /
  }

  Exclude {
File = /dev
File = /media
File = /mnt
File = /proc
File = /sys
File = /tmp
  }
}

Client {
  Name = %name-fd
  Address = %name.credativ.lan
  FDPort = 9102
  Catalog = MyCatalog
  Password = "%pass"
  File Retention = %file
  Job Retention = %job
  AutoPrune = yes
}

Storage {
  Name = %name
  Address = bserver.credativ.lan
  SDPort = 9103
  Password = "qUDDgb_XlZY3nk8po1ZvF11oQDdU0ehF5"
  Device = %name
  Media Type = File
}

Pool {
  Name = %name
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = %volume
  Maximum Volumes = 90
  Use Volume Once = yes
  LabelFormat = 
"backup_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-${Hour:p/2/0/r}:${Minute:p/2/0/r}"
}


signature.asc
Description: OpenPGP digital signature
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Waitung for a mount request?

2011-04-28 Thread John Drescher
On Thu, Apr 28, 2011 at 11:25 AM, Dennis Hoppe
 wrote:
> Hello John,
>
> Am 28.04.2011 16:07, schrieb John Drescher:
>> 2011/4/28 Dennis Hoppe :
>>> this is my first attempt with bacula and i need some advice about my
>>> configs. I am running a file based backup with an extra device for each
>>> client.
>>>
>>> I thought this would support parallel jobs, but if i start two backup
>>> jobs like "run job=bserver" and "run job=bclient1", the second job is
>>> waitung for a mount request?
>>
>> The problem is loading the same pool in both devices. That is not
>> always easy. Bacula will want to load the same volume by default.
>
> there must be another explanation, because i also use client specific
> pools.
>
> FYI: I have forgotten to attach the client config / template.
>
>>> Do i need a autochanger, even if there are no usb-disks or tapes
>>> involved? Any hints regardings the whole setup?
>>
>> No but the bacula vchanger adds flexibility that makes it easier (my
>> opinion) to do concurrent backups with disks.
>
> Regards, Dennis
>

Did you unmount the previous media that was in the device it is
complaining about using the umount command?

-- 
John M. Drescher

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Waitung for a mount request?

2011-04-28 Thread Dennis Hoppe
Hello John,

Am 28.04.2011 17:47, schrieb John Drescher:
> ...
> Did you unmount the previous media that was in the device it is
> complaining about using the umount command?

i am a little bit confused. There should not be any media mounted,
because the client is using his own device / pool and the volumes are
only used once.

Maybe this issue was caused by one of my tests. After starting with a
new database everything worked fine. Webacula is also working and i can
not waiting to see it as debian package.

   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614554

Next steps will be some tests an virtual backup. If everything works
fine, i am happy. ;)

Thanks for your help.

Regards, Dennis



signature.asc
Description: OpenPGP digital signature
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Waitung for a mount request?

2011-04-28 Thread John Drescher
On Thu, Apr 28, 2011 at 12:36 PM, Dennis Hoppe
 wrote:
> Hello John,
>
> Am 28.04.2011 17:47, schrieb John Drescher:
>> ...
>> Did you unmount the previous media that was in the device it is
>> complaining about using the umount command?
>
> i am a little bit confused. There should not be any media mounted,
> because the client is using his own device / pool and the volumes are
> only used once.
>

The question was not is there any media mounted but did you use the
umount command? The reason is umount takes the storage device offline
and will require a manual mount to bring it back online. If you used
the release command instead of umount it does not take the device
offline.

You can also debug this by looking at the pool

list media pool=poolname

in bconsole

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users