Hello,
On 5/16/2006 3:39 PM, Frank Sweetser wrote:
On Mon, May 15, 2006 at 12:07:48PM +0100, Alan Brown wrote:
Has anyone used LVM/EVMS snapshots to get a stable image to backup?
If so, how do you do it?
There's a generic example on how you can do this with linux LVM on the wiki.
http://paramount.ind.wpi.edu/wiki/doku.php?id=application_specific_backups#linux_lvm_snapshots
One minor disadvantage, is that bacula will store the paths of the snapshot
mount point (ie, '/snapshot/data/' rather than '/data/').
Indeed a problem, but IIRC there was a suggestion during the last
"feature vote"... well, I recalled incorrectly, it seems.
Anyway, suggesting an enhancement to the "Where" option during restore
to strip leading path elements before applying the actual restore
location seems useful.
A first idea:
Where = "{1}/" would remove the first path element, so '/.snapshot/var'
would become '/var' again.
Escaping the special chars should be possible, even though I don't
expect to see many paths starting with {...
Arno
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users