On 03/09/10 23:21, bacula-users AT catcons.co DOT uk wrote:
> Hello :-)
>
> In case anyone else is trying to set up something similar, I'll answer my
> own post with a simpler solution than using Bacula to implement the concept.
>
> 1. Create udev rules to run a script when one of the external HDDs
> is plugged in.
> 2. Create the script to:
> a) Stop Bacula and the database.
.... As long as no jobs are currently running.
> b) rsync the Bacula storage on internal HDD to the external HDD.
> c) Backup the database to the external HDD
> d) Unmount the external HDD.
> e) Start the database and Bacula.
>
> This would create a snapshot of the whole Bacula system on external HDD.
> Snaphots (for example using LVM) could be used to minimise the Bacula system
> down time.
Yup. Snapshots rock for jobs like this. A further refinement: you
need not necessarily HALT the database, particularly if just taking a
snapshot; for that brief time it should be sufficient to quiesce it.
--
Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
alaric AT caerllewys DOT net alaric AT metrocast DOT net phil AT
co.ordinate DOT org
Renaissance Man, Unix ronin, Perl hacker, Free Stater
It's not the years, it's the mileage.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|