OK, if this can help.
O.S. is RedHat 4.2 AS
This is the Volume Group and Volume definition:
lvm> vgdisplay
  --- Volume group ---
  VG Name               VG
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  101
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               1
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               809,52 GB
  PE Size               16,00 MB
  Total PE              51809
  Alloc PE / Size       43750 / 683,59 GB
  Free  PE / Size       8059 / 125,92 GB
  VG UUID               2OSxPl-Y80V-4tDy-3CPq-ndFK-sPDq-7sPOwj

lvm> lvdisplay VG
  --- Logical volume ---
  LV Name                /dev/VG/LV_uno
  VG Name                VG
  LV UUID                VqG5RZ-mK3r-fyDv-DtM4-RWN3-ESro-uuDay5
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                683,59 GB
  Current LE             43750
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:0

This is the job definition:
Job {
  Name = domino2-job
  Write Bootstrap = "/var/bacula/domino2.bsr"
  Fileset = domino2-fileset
  Client = domino2
  Type = Backup
  Level = Full
  Schedule = domino2-schedule
  Storage = domino2-storage
  Messages = Standard
  Client Run Before Job = "/root/domsnap"
  Client Run After Job = "/root/domksnap"
  Pool = domino2-pool
  Priority = 10

This is domsnap script:
#!/bin/sh

echo "Shutting down domino  `date`"
/etc/init.d/notes stop
modprobe dm-snapshot
sleep 3
lvcreate --size 50G --snapshot --name uno_snap /dev/VG/LV_uno
sleep 3
echo "Restarting domino  `date`"
/etc/init.d/notes start
mount -o ro /dev/VG/uno_snap /uno_snap
exit 0

This is domksnap script:
#!/bin/sh
echo "Destroying /uno snapshot"
umount /uno_snap
lvremove -f /dev/VG/uno_snap
exit 0

Hope it is usefuf to someone.


--------------------------------------------------------------------------
Ferdinando Pasqualetti
G.T.Dati srl
Tel. 0557310862 - 3356172731 - Fax 055720143





Robert Einsle <[EMAIL PROTECTED]>

28/02/2006 09.23

Per
Ferdinando Pasqualetti <[EMAIL PROTECTED]>
CC
bacula-users@lists.sourceforge.net
Oggetto
**Possibile SPAM**Re: Rif: Re: [Bacula-users] Anyone knows about backing up Notes Domino databases (*.nsf) with bacula?





Hy Ferdinando,

i'm Interested on this Scripts, i've the same Problem.

Thanks

\Robert

Ferdinando Pasqualetti schrieb:

>
> I use logical volume to backup Lotus Notes environment.
> A RunBeforeClient script stops Domino, generate a snapshot of the
> volume in which there are the databases, mount it under a different
> mount point and restart Domino. It takes no more than 3/4 minutes.
> The FileSet obviously include the snapshot filesystem, not the running
> one.
> A RunAfterClient script destroys the snapshot at the backup end, after
> some hours.
>
> If you need details ask me, I will send them.
>
> --------------------------------------------------------------------------
> Ferdinando Pasqualetti
> G.T.Dati srl
> Tel. 0557310862 - 3356172731 - Fax 055720143
>
>
>
>
>
> *Gregory Brauer <[EMAIL PROTECTED]>*
> Inviato da: [EMAIL PROTECTED]
>
> 25/02/2006 03.19
>
>                  
> Per
>                  bacula-users@lists.sourceforge.net
> CC
>                  
> Oggetto
>                  Re: [Bacula-users] Anyone knows about backing up Notes Domino
> databases (*.nsf) with bacula?
>
>
>
>                  
>
>
>
>
>
> Jo wrote:
> > Christoff Buch schreef:
> >>
> >> Hi all,
> >>
> >> what I need to know is:
> >>
> >> Can they be backed up with bacula while opened?
> > What we do is to stop the Notes service at 1am. Then zip all the nsf
> > files and then restart the Notes service. Then Bacula comes by and
> backs
> > up the zipped files, while skipping the active nsf files.
>
> Another, potentially faster, strategy is to use rsync to duplicate the
> files to another location while Notes is stopped and then back up
> from the duplicated area (meaning you are free to restart Notes).
> rsync only copies changed data, so the time period that Notes is stopped
> should be fairly short.  Note, however, that this will double your disk
> usage.
>
> Greg
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
> ------------------------------------------------------- This SF.Net
> email is sponsored by xPML, a groundbreaking scripting language that
> extends applications into web and mobile media. Attend the live
> webcast and join the prime developer group breaking into this new
> coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________ Bacula-users mailing
> list Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to