api script for lvm snapshot

2009-10-23 Thread Eric Doutreleau
hi i have just installed amanda 2.6.1p1 and i have seen that's there s a script to do a snaphshot of zfs filesystem before backing up. Has someone already done such kind of script for lvm snapshot? Thanks

Re: amrecover not working with write-protected tapes

2009-10-23 Thread Dustin J. Mitchell
On Fri, Oct 23, 2009 at 9:37 AM, Ian Crorie i...@macs.hw.ac.uk wrote: I've not been able to find this in mailing list archives.   Thanks in advance for any help. This has been fixed in trunk. Here's the patch: http://github.com/djmitche/amanda/commit/c3548dc511152bfacf1b53abb7e452fc7161e2f8

Re: amrecover not working with write-protected tapes

2009-10-23 Thread Christopher
Hello... On Fri, 2009-10-23 at 14:37 +0100, Ian Crorie wrote: Problem: amanda (amrecover) refuses to read write-protected tapes. When the write-protect tab is opened, everything works fine. The problem seems to be that amanda is trying to open the tape device in read-write mode, and when

Re: read only error on amrestore

2009-10-23 Thread Dustin J. Mitchell
On Fri, Oct 23, 2009 at 11:01 AM, Christopher chris...@pricegrabber.com wrote: I'm running amanda 2.6.1p1 on a rhel 5.4 server.  I am trying to restore some files from a ~2 year old archive backup.  Since it is an archive backup I have the write protect tab closed on the physical tape.  When I

Re: amrecover not working with write-protected tapes

2009-10-23 Thread Dustin J. Mitchell
On Fri, Oct 23, 2009 at 11:45 AM, Christopher chris...@pricegrabber.com wrote: I pulled out a amanda 2.5.0p2 amrestore binary and it does not have the same bug. That was from before the Device API. This is a bug in the tape device, which didn't expect EROFS (instead of the

Override tpchanger?

2009-10-23 Thread Jeffrey D Anderson
I'm running amanda 2.6.1p1 with backups to virtual tapes using the new chg-disk method described in 'man amanda-changers' My changer specification in amanda.conf reads tpchanger chg-disk:/backups/amandatapes/myconfig Backups and restores work fine. Now I'm writing some custom scripts to