On Sep 2, 2010, at 2:17 PM, Stefan G. Weichinger wrote: > Am 01.09.2010 16:44, schrieb Stefan G. Weichinger: >> Am 01.09.2010 16:41, schrieb Stefan G. Weichinger: >> >>> Ah, last question: could it be that his script only works with an older >>> amanda-release? I tested it with 3.1.2 so far. >> >> As always, hit SEND and learn something new in the next minute: >> >> http://github.com/marxarelli/amlvm-snapshot/issues#issue/2 > > I patched the script accordingly and now have it integrated so far that > it gets executed pre- and post-dle-backup. > > But I don't see any snapshot created ... even after explicitly setting > the paths to all the LVM-binaries needed. > > Anyone else testdriving this?
I'm running it on Ubuntu 8.04 (hardy). It's making the snapshot, mounting it on a temp directory in /tmp, backing it up, and unmounting it. It's not deleting the old mount point though. This isn't a bug. There's simply no code written yet to delete it. The main bug I'm hit with is that level 1 backups aren't working. It's always backing up everything. look in your sendbackup.debug log for the lvm-snapshot command-line arguments. There should be a PRE-DLE-BACKUP and a POST-DLE-BACKUP. The error handling is poor if you run PRE-DLE-BACKUP twice in a row without running POST-DLE-BACKUP. Try running pre and post and as root, then try running it as your backup user. Tim
