amrmtape --dryrun defect

2017-11-07 Thread Jon LaBadie
Before deciding to use amrmtape I tried using its "--dryrun" option. According to the manpage: --dryrun, -n Generate new tapelist(5) and database files with label removed, but leave them in /tmp and do not update the original copies. While the original

Re: amrmtape - what I'm doing wrong?

2015-06-23 Thread Kamil Jońca
Jean-Louis Martineau writes: > Look for error in the debug file. Ahh. --8<---cut here---start->8--- Sun Jun 21 14:42:19 2015: thd-0x1829e00: amrmtape: new Amanda::Changer::Error: type='fatal', message='slot 1 doesn't exists &#

Re: amrmtape - what I'm doing wrong?

2015-06-22 Thread Jean-Louis Martineau
Look for error in the debug file. Jean-Louis On 21/06/15 09:01 AM, Kamil Jońca wrote: When I try to execute: --8<---cut here---start->8--- sudo -u backup amrmtape --cleanup --erase -v alfa alfa-6-100 --8<---cut here-

amrmtape - what I'm doing wrong?

2015-06-21 Thread Kamil Jońca
When I try to execute: --8<---cut here---start->8--- sudo -u backup amrmtape --cleanup --erase -v alfa alfa-6-100 --8<---cut here---end--->8--- I got: --8<---cut here---start

Re: restore what, to undo amrmtape ?

2014-06-05 Thread Olivier Nicole
What I do at the end of each dump, I run a script that: sends me the contents of tapelist by mail rsync /etc/amanda (the config directory) rsycn /var/amanda (where I have all the logs, curinfo, indexes, etc.) sends me the result of amadmin export by mail I think I am pretty safe and could recons

Re: restore what, to undo amrmtape ?

2014-06-04 Thread Debra S Baddorf
Per Jean-Louis’ suggesting, I looked in oldlogs, and nothing had been moved there. I restored the whole log directory from the day before (in a scratch area), and compared things. This gave me the complete line to put back into the tapelist file. Upon careful perusal of files, I decided t

Re: restore what, to undo amrmtape ?

2014-06-04 Thread Jean-Louis Martineau
Debra, grep the label in logs/* and logs/oldlog/* If it is in logs/oldlog, mv it back to logs. Add the entry in the tapelist file, Jean-Louis On 06/04/2014 12:56 AM, Debra S Baddorf wrote: I accidentally amrmtaped a tape today. The tape is still intact, and I actually have a text file of th

restore what, to undo amrmtape ?

2014-06-03 Thread Debra S Baddorf
I accidentally amrmtaped a tape today. The tape is still intact, and I actually have a text file of the contents of it (TOC file.) So I can use DD and get the files back if I need them. But hey — I’m in charge of backup, doggonit — so what files can I restore so amanda will re-remember th

Re: Tape removed with amrmtape but amcheck complains

2008-02-14 Thread FL
Well, an attempt to load the tape drive from slot 7 gives an error: -bash-3.00$ mtx -f /dev/sg3 load 7 mtx: Request Sense: Long Report=yes mtx: Request Sense: Valid Residual=no mtx: Request Sense: Error Code=70 (Current) mtx: Request Sense: Sense Key=Aborted Command mtx: Request Sense: FileMark=no

Re: Tape removed with amrmtape but amcheck complains

2008-02-14 Thread FL
On Thu, Feb 14, 2008 at 4:29 PM, Jon LaBadie <[EMAIL PROTECTED]> wrote: > On Thu, Feb 14, 2008 at 01:28:52PM -0500, FL wrote: > > AMANDA is complaining about a tape (Daily07) that has been removed from > > the database: > > Did that drop the number of active tapes in the tapelist > file below the

Re: Tape removed with amrmtape but amcheck complains

2008-02-14 Thread Jon LaBadie
On Thu, Feb 14, 2008 at 01:28:52PM -0500, FL wrote: > AMANDA is complaining about a tape (Daily07) that has been removed from > the database: Did that drop the number of active tapes in the tapelist file below the tapecycle value? > > -bash-3.00$ amcheck Daily > Amanda Tape Server Host Check > -

Re: Tape removed with amrmtape but amcheck complains

2008-02-14 Thread Dustin J. Mitchell
On Thu, Feb 14, 2008 at 1:28 PM, FL <[EMAIL PROTECTED]> wrote: > Storage Element 7:Full :VolumeTag=A8 > I don't know why AMANDA would be complaining about slot 7, when Daily07, > which is in slot 7, was removed... It looks like it's still in the changer, or the changer is mixed up. D

Tape removed with amrmtape but amcheck complains

2008-02-14 Thread FL
AMANDA is complaining about a tape (Daily07) that has been removed from the database: -bash-3.00$ amcheck Daily Amanda Tape Server Host Check - Holding disk /var/lib/amanda/holdingdisk: 60351844 KB disk space available, that's plenty amcheck-server: fatal slot 7: mtx: R

Re: accidental amrmtape

2004-03-10 Thread Jean-Louis Martineau
On Wed, Mar 10, 2004 at 10:00:54AM -0500, Kurt Yoder wrote: > Hello list > > So I accidentally ran amrmtape against my DailySet1 tape CDS1tape07. Is there > any way for me to "un-amrmtape" and put it back the way it was? Add it to tapelist file. It should works if you hav

accidental amrmtape

2004-03-10 Thread Kurt Yoder
Hello list So I accidentally ran amrmtape against my DailySet1 tape CDS1tape07. Is there any way for me to "un-amrmtape" and put it back the way it was? Thanks for any information -- Kurt Yoder Sport & Health network administrator

Re: amrmtape question

2004-02-06 Thread Paul Bijnens
thing? amrmtape lets amanda forget about the tape, including the tapelist. Amanda will never ask for that tape again. You may use tape to for anything now, including as decoration in the christmas tree. But the label is still on the tape. You can overwrite it with any program. There is nothing sp

Re: amrmtape question

2004-02-05 Thread Kin-Ho Kwan
wrote: Hi, amrmtape only removes the entrys for the tape from all databases, but amanda will happily use it if she sees it again as the label on tape is not touched at all. The question is what should be achieved: 1.) make amanda forget about the backups on that tape? -> ok, amrmtape is your fr

Re: amrmtape question

2004-02-05 Thread Christoph Scheeder
Hi, before going any further on this path: Do you/we realy want to change that behavior of amanda ? It's been there since more or less ancient times! (At least since amanda-2.4.0 when i started using amanda) The current behavior has it's pros, but i can't see real contras at the m

Re: amrmtape question

2004-02-05 Thread Jean-Louis Martineau
Hi, Amanda should not use a tape if it's label is not in the tapelist file. Could you try this patch. Jean-Louis On Thu, Feb 05, 2004 at 05:27:36PM +0100, Christoph Scheeder wrote: > Hi, > > amrmtape only removes the entrys for the tape from all databases, > but amanda will

Re: amrmtape question

2004-02-05 Thread Christoph Scheeder
Hi, amrmtape only removes the entrys for the tape from all databases, but amanda will happily use it if she sees it again as the label on tape is not touched at all. The question is what should be achieved: 1.) make amanda forget about the backups on that tape? -> ok, amrmtape is your friend,

Re: amrmtape question

2004-02-05 Thread Dave Ewart
On Thursday, 05.02.2004 at 10:05 -0500, Kin-Ho Kwan wrote: > Hi, > > Is it sufficient enough to just run "amrmtape -n conf TAPE001" so that > Amanda will not use this tape for backup? > > I try to run "amrmtape -n conf TAPE001", but Amanda still use tha

amrmtape question

2004-02-05 Thread Kin-Ho Kwan
Hi, Is it sufficient enough to just run "amrmtape -n conf TAPE001" so that Amanda will not use this tape for backup? I try to run "amrmtape -n conf TAPE001", but Amanda still use that tape to backup stuff. Is there any other command I need to run to remove the Amanda label? Thanks Kin-Ho Kwan

Re: amrmtape and /etc/{aman,dump}dates

2001-03-10 Thread Alexandre Oliva
On Mar 10, 2001, Albrecht Gebhardt <[EMAIL PROTECTED]> wrote: > Question: Do I have to edit all /etc/{aman,dump}dates files on my clients > by hand to remove the datestamps which refer to the broken tape? Nope. As soon as you `amrmtape'd the broken tape, Amanda won't schedule any incrementals b

amrmtape and /etc/{aman,dump}dates

2001-03-10 Thread Albrecht Gebhardt
Hi, recently one of my amanda tapes has been damaged and I had to remove it from my backup cycle with "amrmtape". Now I labeled a new one (with the same label) and want to continue in my backup schedule. Question: Do I have to edit all /etc/{aman,dump}dates files on my clients

Re: amrmtape

2001-02-08 Thread John R. Jackson
>amrmtape Semanal Viernes01 > > amrmtape:preserving original database in >informacion.orig.2014(exported). > amadmin: WARNING: input is from different org: Cirsa_Diario What is "org" set to in the Semanal amanda.conf (please post the exact line). Wh

amrmtape

2001-02-08 Thread Monserrat Seisdedos Nuñez
I'm trying to reuse a tape, so first i amrmtape its label: Viernes01, Semanal is the configuration directory. I get this output from amrmtape: amrmtape Semanal Viernes01 amrmtape:preserving original database in informacion.orig.2014(exported). amadmin: WARNING: input is

Re: amrmtape mistake

2000-11-22 Thread Alexandre Oliva
On Nov 21, 2000, David Lloyd <[EMAIL PROTECTED]> wrote: > * I have all of tape 10's data (but it may or may not have a header) > * I have the curinfo records that amrmtape saved > Now, how would I get this tape back into operation? I'd advise you to keep the old cur

amrmtape mistake

2000-11-21 Thread David Lloyd
rinfo records that amrmtape saved Now, how would I get this tape back into operation? Or is there no way... DL -- Video killed the radio star! Video killed the radio star! In my mind and in my car - we can't rewind We've gone too far