Bacula-users

Re: [Bacula-users] backup of raw Device (LVM Snapshot)

2008-04-30 15:36:52
Subject: Re: [Bacula-users] backup of raw Device (LVM Snapshot)
From: Martin Simmons <martin AT lispworks DOT com>
To: pkoch4710 AT gmx DOT de
Date: Wed, 30 Apr 2008 20:36:34 +0100
>>>>> On Sun, 27 Apr 2008 12:49:46 +0200, Peter Koch said:
> 
> Hallo there,
> 
> i want to backup a RAW-Device (/dev/system/bacula-snap_blabla), but the
> Backup contains only some Bytes (i think it´s only the device File itself).
> 
> Have someone an idea?
> 
> That´s the principle Schema:
> 
> 1) RunBefore -> Create Snapshot-Device /dev/system/blabla -> 
> /dev/system/bacula-snap/blabla
> 2) Backup -> FileSet {File = /dev/system/bacula-snap/blabla} with option 
> sparse=yes
> 3) RunAfter -> Delete Snapshot Device

You could try adding

/usr/bin/stat /dev/system/bacula-snap_blabla

to the BeforeJob script, to see what it shows about that device.  Bacula
expects raw devices to be block devices.

__Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>