Thank you Josh.

I read in the "Best Practices for Disk Based Backup" white paper this
recommendation (different media types for different mount points). Lots of
people were reporting that this was working fine. So I had been testing the
backup with this configuration, not the restores. Now I see that in the
case of a restore, this will only work for volumes that are in the first
device (mount point).

Best regards,
Ana

On Wed, Jun 3, 2015 at 10:21 AM, Josh Fisher <jfis...@pvct.com> wrote:

>
>
> On 6/2/2015 1:42 PM, Heitor Faria wrote:
>
>  I particularly do not like the idea of having separate volumes of the
> same media type into two different mount points, but I know people that are
> configuring this way. So I decided to do some tests and see what really was
> happening. No issues. Instead I prefer the LVM solution.
>
> The point is to make sure severall disks are being write at the same time
> (load balance) and more resiliency since a dead LVM is a terrible situation.
> But I kind of agree with you: I don't know why to use different Media
> Types for compatible media.
>
>
> Because, using the previous example config, volumes in directory
> /sdb1/bacula/backup cannot be loaded into vDrive1 and volumes in directory
> /bacula/backup cannot be loaded into vDrive2. Bacula uses the MediaType to
> decide which volumes can be loaded into which Devices. A backup job will
> run without error, writing to either one directory or the other. But unless
> tvDrive1 and vDrive2 have different Media Types, a subsequent restore job
> will assume it can load any of those volumes into whichever Device it
> happens to get assigned to read from.
>
>
>
>  Regards,
>  =======================================================================
> Heitor Medrado de Faria  - LPIC-III | ITIL-F |  Bacula Systems Certified
> Administrator II
> 15 a 26 de junho: Treinamento Telepresencial Bacula:
> http://www.bacula.com.br/?p=2174
> 61 <%2B55%2061%202021-8260>8268-4220 <%2B55%2061%208268-4220>
>  Site: www.bacula.com.br | Facebook: heitor.faria
> <http://www.facebook.com/heitor.faria> | Gtalk: heitorfa...@gmail.com
> ========================================================================
>
>
>
>
> On Tue, Jun 2, 2015 at 2:12 PM, Bryn Hughes <li...@nashira.ca> wrote:
>
>> Do you have some specific reason to need to have these two volumes
>> separate?
>>
>> You might be best off using LVM to create a single logical drive. That
>> would certainly be a more flexible solution long term.
>>
>> Bryn
>>
>> On 2015-05-20 09:32 AM, SPQR wrote:
>> > I would like to set up bacula - well, my first steps have been
>> successful.
>> >
>> > All my backups are written to /bacula/backup. But / has only 900GB. So
>> I want bacula to write to /sdb1/bacula/backup, too. /sdb1 has another 950GB
>> of space. The sum of available backup-space should be 1850GB HDD:
>> >
>> > Well, I got the following config of /etc/bacula/bacula-sd.conf:
>> >
>> >> Storage {                             # definition of myself
>> >>    Name = backup-sd
>> >>    SDPort = 9103                  # Director's port
>> >>    WorkingDirectory = "/var/lib/bacula"
>> >>    Pid Directory = "/var/run/bacula"
>> >>    Maximum Concurrent Jobs = 20
>> >>    SDAddress = backup.example.com
>> >> }
>> >>
>> >> Director {
>> >>    Name = backup-dir
>> >>    Password = "doyoureallywanttoknow"
>> >> }
>> >> Device {
>> >>    Name = FileStorage
>> >>    Media Type = File
>> >>    Archive Device = /bacula/backup
>> >>    LabelMedia = yes;                   # lets Bacula label unlabeled
>> media
>> >>    Random Access = Yes;
>> >>    AutomaticMount = yes;               # when device opened, read it
>> >>    RemovableMedia = no;
>> >>    AlwaysOpen = no;
>> >> }
>> >>
>> > Okay - now I would like to add another device. I guess I could just add
>> a second entry like this:
>> >
>> >> Device {
>> >>    Name = FileStorage
>> >>    Media Type = File
>> >>    Archive Device = /sdb1/bacula/backup
>> >>    LabelMedia = yes;                   # lets Bacula label unlabeled
>> media
>> >>    Random Access = Yes;
>> >>    AutomaticMount = yes;               # when device opened, read it
>> >>    RemovableMedia = no;
>> >>    AlwaysOpen = no;
>> >> }
>> >>
>> > ?
>> >
>> > Do I have to change something else so that bacula is able to write more
>> than 900GB - if the first 900GB are "full" it should switch to the second
>> hdd.
>> >
>> >
>> > Thank you very much :-)
>> >
>> > +----------------------------------------------------------------------
>> > |This was sent by r...@ehrenwert.it via Backup Central.
>> > |Forward SPAM to ab...@backupcentral.com.
>> > +----------------------------------------------------------------------
>> >
>> >
>> >
>> >
>> ------------------------------------------------------------------------------
>> > _______________________________________________
>> > Bacula-users mailing list
>> > Bacula-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Bacula-users mailing 
> listBacula-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to