I use your point 2, and it works very well. A "Client Run Before Job" stops the application, makes the snapshot, restarts the application and mounts it on a different mount point. A "Client Run After Job" unmounts the snapshot and removes it. Obviously the "File " section specifies the snapshot mount point.
-------------------------------------------------------------------------- Ferdinando Pasqualetti G.T.Dati srl Tel. 0557310862 - 3356172731 - Fax 055720143 <[EMAIL PROTECTED]> Inviato da: [EMAIL PROTECTED] 29/09/2006 12.17 Per <bacula-users@lists.sourceforge.net> CC Oggetto [Bacula-users] what's the best way to do backup for a logical volume (LVM) Hi gentlemen, I tried before to do things that could not be the best way to backup my logical volume. The problem: I have many logical volumes from machines that could not be sttoped, then I had two idea The alternatives: 1- to do a backup for whole RAW partition making a snapshot (lvcreate --snapshot -L 1Gb --name backup-root vg-uml-008/root) 2- to do a snapshot, then mount the snapshot and make a backup from the mounted point (to do this I'm trying to use a RunScript in Job resource**) 3-somebody have any idea reliable? I submit the question because you have a lot of experience that 3 weeks that I have ** 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" # } } thanks again lordjea ______________________________________________ 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 ------------------------------------------------------------------------- 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