Bacula-users

Re: [Bacula-users] restoring directly from archived files

2010-01-16 18:09:47
Subject: Re: [Bacula-users] restoring directly from archived files
From: Dan Langille <dan AT langille DOT org>
To: John Drescher <drescherjm AT gmail DOT com>
Date: Sat, 16 Jan 2010 18:07:12 -0500
John Drescher wrote:
> On Sat, Jan 16, 2010 at 6:00 PM, John Drescher <drescherjm AT gmail DOT com> 
> wrote:
>> On Sat, Jan 16, 2010 at 5:46 PM, Ross Boylan
>> <RossBoylan AT stanfordalumni DOT org> wrote:
>>> My backup storage is file based, and I periodically copy the files that
>>> are bacula volumes to DVD.
>>>
>>> How can I restore directly from DVD?  The DVD is not being used in a
>>> raw, tape-like way; it simply holds a filesystem that has some of the
>>> volumes on it.
>>>
>>> I tried this in bacula-sd.conf
>>> Device {
>>>  Name = File2Storage
>>>  Media Type = DVD/CD
>>>  Archive Device = /media/cdrom0
>>>  Device Type = File;  # not using it as raw DVD
>>>  LabelMedia = no;                   # lets Bacula label unlabeled media
>>>  Random Access = Yes;
>>>  AutomaticMount = yes;               # when device opened, read it
>>>  RemovableMedia = yes;
>>>  AlwaysOpen = no;
>>> }
>>> where File2Storage is the same name as my file-based backups, but the
>>> media type is different.
>>>
>>> However, I have not figured out how to tell the restore command to use
>>> that storage.
>>>
>> I believe this should work. You may need RemovableMedia = no
>>
>> What errors are you experiencing?
>>
> 
> Wait a minute. The media type must be whatever media type you recorded
> data as. You can not change that and expect to restore.

Media Type is just a name though.  You can set that in bacula-dir.conf. 
  The physical media is not relevant.  I can configure DLT media as 
TomatoSoup, and it will work.


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users