Re: lvm snapshots

2010-09-07 Thread Stefan G. Weichinger
Am 03.09.2010 17:03, schrieb Dustin J. Mitchell: This is something that should be fixed in the long term, but let's get a version that works committed to Amanda, and then work on expanding compatibility. It's easier to parallelize work when there's something in version control to base it on.

Re: lvm snapshots

2010-09-07 Thread Dustin J. Mitchell
On Tue, Sep 7, 2010 at 4:12 PM, Stefan G. Weichinger s...@amanda.org wrote: What about the original author? Did you get some replies? I assume he might be happy to get his work into the official release, hm? I did hear back, and he (marxarelli on github) said he'd love to see it merged. I

Re: lvm snapshots

2010-09-07 Thread Stefan G. Weichinger
Am 07.09.2010 23:58, schrieb Dustin J. Mitchell: I did hear back, and he (marxarelli on github) said he'd love to see it merged. I asked him to get into this discussion, but I haven't seen anything yet. He could probably use another ping, if you'd like to give it a shot. clicked around on

Re: lvm snapshots

2010-09-03 Thread Paul Bijnens
Hi Stefan and fellow amanda-users, Catching up on my mail... Just to confirm that you may post the script. Anybody even use it and adapt it to his needs. It's free software (as in free beer and in free speech). Although the script is a bit dated for the current amanda... (Still need to catch

Re: lvm snapshots

2010-09-03 Thread Stefan G. Weichinger
Am 03.09.2010 11:40, schrieb Paul Bijnens: Hi Stefan and fellow amanda-users, Catching up on my mail... Just to confirm that you may post the script. Anybody even use it and adapt it to his needs. It's free software (as in free beer and in free speech). Although the script is a bit

Re: lvm snapshots

2010-09-03 Thread Stefan G. Weichinger
Am 03.09.2010 01:05, schrieb Tim Nowaczyk: A delimiter-problem? / vs. - ? Never mind. The font was funny and made it look like there was a space between VG01 and -pxe in your mtab entry. Ah, OK. The logic of the amlvm-snapshot script is not lining up with your system. Your mtab is the

Re: lvm snapshots

2010-09-03 Thread Dustin J. Mitchell
On Thu, Sep 2, 2010 at 6:05 PM, Tim Nowaczyk ta...@virginia.edu wrote: The logic of the amlvm-snapshot script is not lining up with your system.  Your mtab is the same as what lvdisplay shows, while my system has what the script is expecting; the lvdisplay entry is a symlink to the mtab entry.

Re: lvm snapshots

2010-09-03 Thread Stefan G. Weichinger
Am 03.09.2010 01:05, schrieb Tim Nowaczyk: The logic of the amlvm-snapshot script is not lining up with your system. Your mtab is the same as what lvdisplay shows, while my system has what the script is expecting; the lvdisplay entry is a symlink to the mtab entry. lvdisplay:

Re: lvm snapshots

2010-09-02 Thread Stefan G. Weichinger
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:

Re: lvm snapshots

2010-09-02 Thread Tim Nowaczyk
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,

Re: lvm snapshots

2010-09-02 Thread Stefan G. Weichinger
Am 02.09.2010 23:07, schrieb Tim Nowaczyk: I'm running it on Ubuntu 8.04 (hardy). and amanda-x.y? 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

Re: lvm snapshots

2010-09-02 Thread Tim Nowaczyk
On Sep 2, 2010, at 5:17 PM, Stefan G. Weichinger wrote: Am 02.09.2010 23:07, schrieb Tim Nowaczyk: I'm running it on Ubuntu 8.04 (hardy). and amanda-x.y? D'oh, that's probably the most important part: 3.1.0. This is gentoo linux here, up-to-date ... The related line in /etc/mtab

Re: lvm snapshots

2010-09-02 Thread Tim Nowaczyk
On Sep 2, 2010, at 5:17 PM, Stefan G. Weichinger wrote: # /usr/libexec/amanda/application/amlvm-snapshot PRE-DLE-BACKUP --execute-where client --config daily --host mythtv.oops.intern --disk /mnt/nfsexports/pxe --device /mnt/nfsexports/pxe --level 1 --lvcreate-path /sbin/lvcreate

Re: lvm snapshots

2010-09-02 Thread Stefan G. Weichinger
Am 03.09.2010 00:14, schrieb Tim Nowaczyk: Could you show yours for comparison? I still wonder if the format is the same. /dev/mapper/crash--and--burn-root / ext3 rw,relatime,errors=remount-ro 0 0 check out the resolve_device() method in amlvm-snapshot and compare what it's doing and

Re: lvm snapshots

2010-09-02 Thread Stefan G. Weichinger
Am 03.09.2010 00:36, schrieb Tim Nowaczyk: I see what's going on. It's looking for '/mnt/nfsexports/pxe' in the second column of '/etc/mtab'. The second column of the correct line on your system is '-pxe'. I don't know why you have '-pxe' there, but that's the problem. A

Re: lvm snapshots

2010-09-02 Thread Tim Nowaczyk
On Sep 2, 2010, at 6:49 PM, Stefan G. Weichinger wrote: Am 03.09.2010 00:36, schrieb Tim Nowaczyk: I see what's going on. It's looking for '/mnt/nfsexports/pxe' in the second column of '/etc/mtab'. The second column of the correct line on your system is '-pxe'. I don't know why you have

Re: lvm snapshots

2010-09-01 Thread Stefan G. Weichinger
Am 30.08.2010 18:44, schrieb Tim Nowaczyk: I also get errors. my sendbackup.debug shows that the script is being run with the incorrect command-line arguments. /usr/lib/amanda/application/amlvm-snapshot amlvm-snapshot PRE-DLE-BACKUP --execute-where client --config DailySet1 --host

Re: lvm snapshots

2010-09-01 Thread 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

Re: lvm snapshots

2010-08-30 Thread Tim Nowaczyk
On Aug 27, 2010, at 5:46 PM, Stefan G. Weichinger wrote: Am 27.08.2010 21:25, schrieb Tim Nowaczyk: I just set the following up in our environment this morning. We'll see how it all goes tonight. http://github.com/marxarelli/amlvm-snapshot looks interesting. I miss an example for

Re: lvm snapshots

2010-08-30 Thread Stefan G. Weichinger
Am 30.08.2010 18:44, schrieb Tim Nowaczyk: I also get errors. my sendbackup.debug shows that the script is being run with the incorrect command-line arguments. /usr/lib/amanda/application/amlvm-snapshot amlvm-snapshot PRE-DLE-BACKUP --execute-where client --config DailySet1 --host

Re: lvm snapshots

2010-08-30 Thread Stefan G. Weichinger
SORRY for that stupid signature! -- my thunderbird-plugin went nuts again, disabled it now ... -- Stefan G. Weichinger amanda core team member mailto: s...@amanda.org pgp: 3C64175D

Re: lvm snapshots

2010-08-29 Thread Dustin J. Mitchell
On Fri, Aug 27, 2010 at 5:46 PM, Stefan G. Weichinger s...@amanda.org wrote: Am 27.08.2010 21:25, schrieb Tim Nowaczyk: I just set the following up in our environment this morning.  We'll see how it all goes tonight. http://github.com/marxarelli/amlvm-snapshot looks interesting. I miss an

lvm snapshots

2010-08-27 Thread Jon LaBadie
I am thinking of backing up some DLEs that are fairly active from a snapshot rather than from the filesystem directly. I looked for documentation on doing this but could find none, nor any HowTo's. Anyone know of any docs on backing up from snapshots? (and the receprocal restore :) Jon -- Jon

Re: lvm snapshots

2010-08-27 Thread Brian Cuttler
We are using ZFS snapshots pretty successfully. We are thinking of using UFS snapshots for some systems that don't have the active files on ZFS and could badly use snapshots. Does anyone know how Lotus Notes does on a zfs file system ? Any issues ? Any reason not to migrate it to ZFS ? On

SV: lvm snapshots

2010-08-27 Thread Gunnarsson, Gunnar
Hi, I'm backing up active filesystem using ufs snapsshot and metaonline/offline for mirrors in Solaris. Hopefully this gives you some ideas how to proceed. define script-tool fssnap-script { comment snapshot wrapper plugin fssnap-script property FSSNAP-WRAPPER

Re: lvm snapshots

2010-08-27 Thread Stefan G. Weichinger
Am 27.08.2010 20:11, schrieb Jon LaBadie: I am thinking of backing up some DLEs that are fairly active from a snapshot rather than from the filesystem directly. I looked for documentation on doing this but could find none, nor any HowTo's. Anyone know of any docs on backing up from

Re: SV: lvm snapshots

2010-08-27 Thread Brian Cuttler
Thank you Gunnar, Will see if I can't implement this on my solaris/ufs Lotus Notes server. Brian On Fri, Aug 27, 2010 at 09:04:59PM +0200, Gunnarsson, Gunnar wrote: Hi, I'm backing up active filesystem using ufs snapsshot and metaonline/offline for mirrors in Solaris. Hopefully this

Re: lvm snapshots

2010-08-27 Thread Tim Nowaczyk
On Aug 27, 2010, at 2:11 PM, Jon LaBadie wrote: I am thinking of backing up some DLEs that are fairly active from a snapshot rather than from the filesystem directly. I looked for documentation on doing this but could find none, nor any HowTo's. Anyone know of any docs on backing up from

Re: lvm snapshots

2010-08-27 Thread Brian Cuttler
Jon, I hadn't meant to not answer your question, if you need zfs help I can assist. I did find the application amanda.conf modifications online and I can find the links again for you or extract the relevent sections from my config and post them here. Please let me know if its zfs, else the

Re: lvm snapshots

2010-08-27 Thread Jon LaBadie
On Fri, Aug 27, 2010 at 03:25:15PM -0400, Brian Cuttler wrote: Jon, I hadn't meant to not answer your question, if you need zfs help I can assist. Thanks Brian, At the moment these are all Linux LVM file systems. jl -- Jon H. LaBadie j...@jgcomp.com JG Computing 12027

Re: lvm snapshots

2010-08-27 Thread Stefan G. Weichinger
Am 27.08.2010 21:25, schrieb Tim Nowaczyk: I just set the following up in our environment this morning. We'll see how it all goes tonight. http://github.com/marxarelli/amlvm-snapshot looks interesting. I miss an example for how the DLEs should look like ... and I get errors here .. hmm

Re: lvm snapshots

2010-08-27 Thread Stefan G. Weichinger
Am 27.08.2010 23:46, schrieb Stefan G. Weichinger: Am 27.08.2010 21:25, schrieb Tim Nowaczyk: I just set the following up in our environment this morning. We'll see how it all goes tonight. http://github.com/marxarelli/amlvm-snapshot looks interesting. I miss an example for how the

lvm snapshots for backup

2009-03-02 Thread Tom Robinson
Hi, I'm using amanda-2.6.0p2 and want to use lvm snapshots to backup some changing filesystems. Are there hook scripts for this or is there some plugin to use? I've seen a thing called MySQL ZRM which looks like it might work. Is that ok to use for volumes other than MySQL databases

Re: Backing up virtual machines - Off topic question about LVM snapshots

2008-11-20 Thread Marc Muehlfeld
of a running virtual machine be suitable for backup if taken from a snapshot (snapshot from the FS, not VBox). It's a off-topic question, but I just ask out of curiosity (don't know much about LVM snapshots yet): If I do a LVM snapshot of a running VM (or e.g. databases, too) and backup it, what

Re: LVM snapshots

2006-07-10 Thread Paul Bijnens
On 2006-07-08 12:44, Josef Wolf wrote: On Fri, Jul 07, 2006 at 11:13:44PM +0200, Paul Bijnens wrote: There are two approaches (maybe even many more -- I'm not the specialist here). One approach is to let the snapshot mechanism understand the filesystem and work on that level. That is how xfs

Re: LVM snapshots

2006-07-10 Thread Tobias Bluhm
Just to be clear on the original question, xfs_freeze is not an lvm command. It's part of the xfs package xfsprogs. - toby bluhm philips medical systems, cleveland ohio [EMAIL PROTECTED] 440-483-5323 [EMAIL PROTECTED] wrote on 07/10/2006

Re: LVM snapshots

2006-07-08 Thread Josef Wolf
On Fri, Jul 07, 2006 at 11:13:44PM +0200, Paul Bijnens wrote: There are two approaches (maybe even many more -- I'm not the specialist here). One approach is to let the snapshot mechanism understand the filesystem and work on that level. That is how xfs and solaris ufs snapshots seem to

LVM snapshots

2006-07-07 Thread Joe Donner (sent by Nabble.com)
Does anyone use or have knowledge of using LVM snapshots with Amanda backups? I believe it to be the same concept as Shadow Volume Copies in Windows 2003, and that is quite useful. A little bit of info here: http://arstechnica.com/articles/columns/linux/linux-20041013.ars I'm just wondering

Re: LVM snapshots

2006-07-07 Thread Ross Vandegrift
. LVM handles all the changes between the disks until the snapshot is removed. I don't run LVM snapshots with Amanda, but be aware that if you wanted to do this, there'd be a few hoops to jump though. You'd need to specify the snapshot device name in the DLE, not the normal one. As a result, you'll

Re: LVM snapshots

2006-07-07 Thread Michael Loftis
--On July 7, 2006 2:35:23 AM -0700 Joe Donner (sent by Nabble.com) [EMAIL PROTECTED] wrote: Does anyone use or have knowledge of using LVM snapshots with Amanda backups? I believe it to be the same concept as Shadow Volume Copies in Windows 2003, and that is quite useful. A little bit

Re: LVM snapshots

2006-07-07 Thread Jon LaBadie
On Fri, Jul 07, 2006 at 12:47:15PM -0600, Michael Loftis wrote: Does anyone use or have knowledge of using LVM snapshots with Amanda backups? ... I'm just wondering what happens during the freeze - how freezing all activity to and from the filesystem to reduce the risk of problems

Re: LVM snapshots

2006-07-07 Thread Paul Bijnens
Jon LaBadie schreef: On Fri, Jul 07, 2006 at 12:47:15PM -0600, Michael Loftis wrote: Does anyone use or have knowledge of using LVM snapshots with Amanda backups? ... I'm just wondering what happens during the freeze - how freezing all activity to and from the filesystem to reduce the risk