Hi, I'm trying as you told me. The bacula it's backing up whole logical
volume
with the config:
Client {
Name = wrack-fd
Address = wrack.mydomain.com
Catalog = Catalogo
Password = "seknmit5fwllkjh3g78klwuethñkw4nk645tig"
}
Job {
Name = "wrack"
Client = "wrack-fd"
FileSet = "RawPartition"
Write Bootstrap = "/usr/local/bacula/var/bacula/working/wrack.bsr"
JobDefs = "Raw Servers"
Client Run Before Job =
"/home/uml-homes/uml-base/scripts/scriptBacula/uml-008_baculaIni.sh"
Client Run After Job =
"/home/uml-homes/uml-base/scripts/scriptBacula/uml-008_baculaFin.sh"
}
and "FileSet", telling explicit to bacula the mount point to backup
FileSet {
Name = "RawPartition"
Include {
Options { signature=MD5; sparse=yes }
File = /home/uml-homes/uml-008/mnt
File = /home/uml-homes/uml-008/mnt/var
File = /home/uml-homes/uml-008/mnt/usr
}
}
Thanks again guys
lordjea
----- Original Message -----
From: "MaxxAtWork" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <bacula-users@lists.sourceforge.net>
Sent: Friday, September 29, 2006 12:53 PM
Subject: Re: [Bacula-users] what's the best way to do backup for a logical
volume (LVM)
> On 9/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>> ** but have a mistake:
>> 29-sep 11:59 doom-dir: ERROR in parse_conf.c:853 Config error: Keyword
>> "RunScript" not permitted in this resource.
>> Perhaps you left the trailing brace off of the previous resource.
>> : line 480, col 12 of file
>> /usr/local/bacula/etc/bacula-dir.conf
>> RunScript {
>>
>>
>>
>> my job it's:
>> Client {
>> Name = wrack-fd
>> Address = wrack.mydomain.com
>> Catalog = Catalogo
>> Password = "defwllkjh3g7834kjgetk4w84tn24f67g"
>> }
>> Job {
>> Name = "wrack"
>> Client = "wrack-fd"
>> #FileSet = "Full UML"
>> FileSet = "RawPartition"
>> Write Bootstrap = "/usr/local/bacula/var/bacula/working/wrack.bsr"
>> #JobDefs = "Default Servers"
>> JobDefs = "Raw Servers"
>> RunScript {
>> Command = "/home/uml-homes/uml-base/scripts/uml_baculaINI.sh"
>> RunsOnClient = yes
>> RunsWhen = Before
>> AbortJobOnError = Yes
>> }
>> # RunScript {
>> # RunsOnClient = yes
>> # RunsWhen = After
>> # RunsOnSuccess = Yes
>> # Command = "/home/uml-homes/uml-base/scripts/uml_baculaFIN.sh"
>> # }
>> }
>>
>
> I think what you need is a "Client Run Before Job" with a script to
> create the snapshot,
> then the regular Bacula backup of the snapshot, then a "Client Run
> After Job" to unmount the snapshot.
>
> --
> Maxx
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users