Bacula-users

Re: [Bacula-users] Other than Bacula

2014-06-03 13:21:12
Subject: Re: [Bacula-users] Other than Bacula
From: Kern Sibbald <kern AT sibbald DOT com>
To: Steven Haigh <netwiz AT crc.id DOT au>, bacula-users AT lists.sourceforge DOT net
Date: Tue, 03 Jun 2014 19:18:36 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/03/2014 06:50 PM, Steven Haigh wrote:
> On 03/06/14 02:35, Kern Sibbald wrote:
>>> The whole concept of removable media in Bacula makes sense for tapes,
>>> but does not translate well to removable disks. vchanger is a rather
>>> nasty hack - but (kinda) works. It would be much nicer to have bacula
>>> deal with removable disks directly - and not hacked in. In the TSM
>>> world, this was easily done by "vary offline /path/to/volume" and can
>>> easily be scripted. TSM then knows the volume isn't available and
>>> doesn't try to use it. During a restore, it will say "VOLUME <blah>
>>> required".
>> Bacula actually handles removable drives quite well -- many years ago, I
>> programmed it to do my laptop backups while I was on vacation to USB
>> sticks.  The problem is that most people don't know how to configure
>> them properly.  vchanger or even Bacula's virtual autochanger is
>> overkill for removable media.
>
> Do you have any good links for this? I've only come across vchanger etc
> on my journeys... If there is a better way, I'd love to see it!
It is all documented in the manual, but I don't think that there are any
good examples of how to use things like USB sticks and drives.  I
haven't used it for quite a long time now, because I have always had
much better connectivity so found no need to backup my laptop while on
extended vacations (used to be 2 months/year in one shot).

The main trick is to indicate that a file device is removable.  In that
case, then if there is a mount command defined, Bacula will attempt to
mount it.  If there is no mount command then it will simply assume it is
mounted and scan the device for a volume.  If it finds one it will
attempt to use it.

It will probably take a bit of playing with it to make it work.  For me,
I found it quite usable as I could
just define a Device that was in fact a USB stick, and I could plug the
stick in before the job, run a job, then if Bacula found a Volume on the
stick it would use it.  I wasn't aware of how TSM worked, but what
Bacula can do sounds fairly similar -- it just needs to know that the
Device is "removable".

Sorry, I don't remember more about it, but since most people seem to
thing vchanger is simpler and I was the only one using this removable
feature, I didn't document it.

Best regards,
Kern
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlOOA2wACgkQNgfoSvWqwEh6bACg7TP7Slww2IZZubaBz1JGVVOL
52wAoIRILN00+IwUvK5ntOfH6fqBhoB1
=ahbs
-----END PGP SIGNATURE-----


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users