Bacula-users

Re: [Bacula-users] Autochanger: yes or no?

2014-09-18 06:44:51
Subject: Re: [Bacula-users] Autochanger: yes or no?
From: "Roberts, Ben" <ben.roberts AT gsacapital DOT com>
To: Florian <florian.splett AT web DOT de>, "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 18 Sep 2014 10:37:47 +0000
Fair enough.

I used a one-liner of bash to pre-create of my volume files and fill the barcodes file, then used bconsole's label command to label all of them in one go. For example on my 1700-vol storage array, this was:

bash:
for f in {1..1700}; do
dd if=/dev/zero of=$root/storage/$hostname-autochanger/slot$f bs=1 count=0 seek=107374182400;
echo "$f:hostname-autochanger-$f" >> $root/storage/$hostname-autochanger/barcodes;
done

bconsole:
label pool=Scratch storage=foo slots=1-1700 barcodes

Regards,
Ben Roberts


> -----Original Message-----
> From: Florian [mailto:florian.splett AT web DOT de]
> Sent: 18 September 2014 11:17
> To: bacula-users AT lists.sourceforge DOT net
> Subject: Re: [Bacula-users] Autochanger: yes or no?
>
> I considered a similar approach at first, but after asking other users in
> this network, how long they want to keep backups, we decided on a rather
> long time period of multiple years. Considering that and the fact that we
> want to use one Volume per month, it would be a lot of work to pre-label
> everything.
>
> So for now I switched back to simple devices without autochanger, so that
> the Volumes just get created when needed. I still have to test if it works
> though.
>
> Regards,
> Florian S.
>
> Am 18.09.2014 um 11:42 schrieb Roberts, Ben:
> > > Now I actually had to wonder: Is there no way to have bacula do both
> > > labeling AND switching Volumes automatically?
> > > Or do I just misunderstand?
> >
> > Personally I pre-label all my volumes into the Scratch pool, and let
> > Bacula handle moving volumes from there to a backup pool as needed.
> > They're then recycled back into the Scratch pool when the volume
> > retention period is reached. That way I can label up volumes just once
> > in a batch when purchasing new storage, and Bacula handles the rest.
> > Bacula doesn't need to re-label volumes during day-to-day operation.
> >
> > Regards,
> > Ben Roberts
>
>
> --------------------------------------------------------------------------
> ----
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce Perforce version control.
> Predictably reliable.
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clkt
> rk
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

This email and any files transmitted with it contain confidential and proprietary information and is solely for the use of the intended recipient. If you are not the intended recipient please return the email to the sender and delete it from your computer and you must not use, disclose, distribute, copy, print or rely on this email or its contents. This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. Any comments or statements made herein do not necessarily reflect those of GSA Capital. GSA Capital Partners LLP is authorised and regulated by the Financial Conduct Authority and is registered in England and Wales at Stratton House, 5 Stratton Street, London W1J 8LA, number OC309261. GSA Capital Services Limited is registered in England and Wales at the same address, number 5320529.

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users