Error while recovering files
Hi Sir, Sometimes I get this errors while trying to recover from my tape. EOF, check amidxtaped.debug file on chino.master.com. amrecover: short block 0 bytes UNKNOWN file amrecover: Can't read file header extract_list - child returned non-zero status: 1 Is this because I must format all tapes before I use them(they are all used by NTBackup previously)? warmest regards, Desmond Lim System Administrator http://www.kikuze.com/ AP Co-ordinator Pte Ltd 6 Aljunied Ave 3 #01-02 Singapore 389932 Tel: 7460188#322 Fax: 7462550 HP: 94525736
index generation
Hello People! I have another problem, this time about indexing. When I start "amdump Daily" the backup-procedure works well but thereis index-file being created within the index-directory which is set to "/usr/adm/amanda/index". So what did I wrong? Greetings, Volker
re-index old tapes ?
Hi, When installing amanda, I set up a tape cycle of about 20 DAT2 tapes named TAPE01 to TAPE20. some months ago, I upgraded the streamer to DAT3, put the old DAT2 tapes away and labelled 20 new DAT3 tapes with the names TAPE01 to TAPE20. from the point of amanda's view, it was a seamless migration to the new dat drive/tapes. the problem is: I urgently need to restore files from the old DAT2 tapes which are, of course, no longer in the current amanda index. Is there a possibility to re-index such tapes, even if they have the same label as a current one ? is it wise to re-label the old tape to a different name or will re-labelling erase them ? tnx in advance.
unsubscribe
Title: unsubscribe unsubscribe ~~~ The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. ~~~
RE: amanda - DATA timeout?
Dump: dump-0.4b19-4 Hopefully, Redhat will have an updated RPM that is compatible with RH7.0. I've noticed not all their RPMs work on older installations, even one rev apart from their current release. Should that fail, anyone know where to get a generic dump/restore source? thanks, bryan Bryan S. Sampsel Systems Administrator Ambeo, Inc. -Original Message- From: John R. Jackson [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 4:52 PM To: Bryan S. Sampsel Cc: [EMAIL PROTECTED] Subject: Re: amanda - DATA timeout? client: RH 7.0 w/ a generic load of Amanda 2.4.2p2 What version of dump are you using? I think the last time this came up, the person upgraded to the latest (and/or restore as well) and things started working. Basically the error is saying dumper on the tape server waited half an hour and didn't hear a peep out of the client. But it's hard to tell exactly where things are jammed up. bryan John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Samba problem.
Hi guys! i've got 2.4.2p2 running great on multiple linux boxes . . no problem. just got a NAS in and need to set it up for backup. 1. i created a user on the NAS and granted it rights as needed to backup. 2. created a share specifically for backup and set correct rights (read only . i don't mind making a full dump of this NAS every night . .it needs it) 3. smbclient was found when i installed 2.4.2p2 . . but i did a make clean and reconfigured with the --with-smbclient option when i started having problems. 4. i have an entry in disklist as such: nas-1 //nas-1/back samba-comp-tar 5. here's the amanda.conf dumptype entry: define dumptype samba-comp-tar { program GNUTAR options no-compress priority medium } 6. the amandapass is setup correctly: //nas-1/backamanda%password 7. on running amcheck normal (my backup routine) i get this error: Amanda Backup Client Hosts Check WARNING: nas-1: selfcheck request timed out. Host down? Client check: 4 hosts checked in 30.130 seconds, 1 problem found any ideas? i have run smbclient by hand, no problem . .got into the NAS easily with the amanda user and pass. i double checked the Makefile to ensure that smbclient was set correctly before make . .. . Anthony
tar
Hi After being bitten by a problematic GNUTAR I'd like to make the following suggestion: In the amanda source distribution include a properly patched version of GNUTAR, that people can build and use regardless of the tar that came with the system and be sure that they are using a good and safe tar instead of trial and error on any tar they have with the system (applicable to Linux systems) or what GNUTAR version they find on the internet (which isn't always the right one anyhow). Comments? Paolo
Re: Samba problem.
ahh . . rtfm . . thanks! Anthony John R. Jackson wrote: 4. i have an entry in disklist as such: nas-1 //nas-1/back samba-comp-tar That's probably not right. The hostname (first field) should be the machine that will run smbclient. It looks to me like you've pointed it at the PC (or whatever a NAS is). Anthony John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Re: Samba problem.
4. i have an entry in disklist as such: nas-1 //nas-1/back samba-comp-tar That's probably not right. The hostname (first field) should be the machine that will run smbclient. It looks to me like you've pointed it at the PC (or whatever a NAS is). Anthony John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Chewed Backups
Hi After completing the first dump cycle, I thought it was time to test Amanda, to make sure that I could restore in case of emergency. It's a good thing that I did. amrecover comes out with 'UNKNOWN file' whenever I try to restore anything. I read the docs and tried to read the headers, and got this: # mt rewind # mt fsf NN # dd if=/dev/rmt/0bn bs=32k count=1 AMANDA: TAPESTART DATE 20010615 TAPE xx0 1+0 records in 1+0 records out Looks like the tape is hosed, tried a random selection and it looks like I've never completed a run successfully here, although never had an error... Any ideas? This is a Tandberg DLT 7000 running Amanda 2.4.2p2 on Solaris 2.6... the only clue I have is something about Variable Length I/O in syslog, if anyone has a working st.conf for this drive in Sol2.6 then I can eliminate that possibility. FYI, Tape type definition I'm using: define tapetype DLT7000-IV { comment DLT7000 with DLTtape IV uncompressed length 35000 mbytes filemark 8 kbytes speed 5000 kbytes } Thanks - John
Re: How to set correct access rights?-
Christoph Sold schrieb: John, answer greatly appreciated. John R. Jackson schrieb: 500 Access not allowed: [access as operator not allowed from [EMAIL PROTECTED]] open of /usr/home/operator/.amandahosts failed # whoami root Running tests as root is cheating :-). Try running them as operator. # pwd /usr/home/operator # ls -alF -rw--- 1 operator operator69 Jul 13 16:16 .amandahosts OK, that looks all right. How about: # cd / # su operator -c cat /usr/home/operator/.amandahosts Make sure you give the full path. I suspect that will fail. Check the permissions of the /usr, /usr/home and /usr/home/operator directories to make sure operator can get through them (I'm betting that's where the problem is). # su operator -c ls -l / ... drwxr-xr-x 20 root wheel 512 ctime /usr ... # su operator -c ls -l /usr ... drwxr-xr-x 8 root wheel 512 ctime home ... # su operator -c ls -l /usr/home ... drwxr-xr-x 3 operator operator 512 ctime operator ... # su operator -c ls -l /usr/home/operator ... -rw--- 1 operator operator 69 ctime .amandahosts # su operator -c cat /usr/home/operator/.amandahosts localhost backups.my.domain client1.my.domain client2.my.domain This was not the reason why it fails. Any other ideas? [In a private mail, [EMAIL PROTECTED] zeroed in on the problem:] xavier schrieb: The problem is that you must only specify one user per line (i've just tested it) good luck! This one helped. Seems this can hit others, too, so I copy it back to the mailing list. To make this point clearer: The syntax in .amandahosts DIFFERS from .rhosts in that you have to specify one user per line. Thanks -Christoph Sold
Re: re-index old tapes ?
the problem is: I urgently need to restore files from the old DAT2 tapes which are, of course, no longer in the current amanda index. Is there a possibility to re-index such tapes, even if they have the same label as a current one ? ... Amanda does not have a mechanism (although it should) to regenerate index files. And, as you have surmised, things might get a bit confusing with the same range of labels. Also, the log.MMDD.NN files (which Amanda has probably cleared out), are also needed for amrecover. Here's what I would do. First, I'd get a catalogue of what is on each tape like this and save it away: amrestore -p $TAPE no-such-host Then, for the images I needed (particular clients and disks), I'd regenerate the index information. How that's done depends on what type of program generated the image and what OS is on the client. If it's GNU tar, or if the client and tape server run the same OS and the tape server has the restore program available, you can do it there, something like this: mt rewind mt fsf NN amrestore -p the-client the-disk | gtar tbf 2 - index.client.disk.level (you will also need a gunzip in the pipeline if you used software compression). If you don't have the right software on the tape server, stick an ssh/rsh in the pipeline and send the image back over to the client to do the indexing there. Now you can find which image has the files you need, find the tape with that image, and do the restores by hand with amrestore piped into the restore program. is it wise to re-label the old tape to a different name or will re-labelling erase them ? You cannot relabel a tape. Everything after the last write is lost, and since the label is at the beginning, it would clobber all the data. John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Dumping to hd
Hi all, I would want to know if specifying holdingdisk yesin my dumptype will put my backup only on the holding disk without writting it on tape (which is exactly what i want). I'm asking this because i have 3 backup sets but only one tapedrive. One of the sets being daily and the other two being full backups every week (working on weekend). Since i'm not at work on weekends i cannot change the tapes, so what i though about was to do the dumps on the disk and then run amflush on monday, this way the daily dump of monday at 1 aM can be done... Tell me if i am wrong with that, i wanted to be sure. Thanks
Re: Error while recovering files
Sometimes I get this errors while trying to recover from my tape. EOF, check amidxtaped.debug file on chino.master.com. So, what's in /tmp/amanda/amidxtaped*debug on chino.master.com??? Is this because I must format all tapes before I use them(they are all used by NTBackup previously)? You must run amlabel on all tapes before using amdump, but you're trying to run amrecover which implies you're using a tape you previously dumped to with amdump. Desmond Lim John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Re: scsi termination with HP-DDS4i
On Mon, Jul 16, 2001 at 11:33:47AM -0500, C. Chan wrote: Also Sprach Tom Strickland: Quick silly Q: I think that the kit that I have been delivered is missing some parts. No SCSI terminator has been included. I think that the HP SureStore DAT40 does not include a built-in termination option, so I need a terminated cable or a separate terminator to plug onto the end of the existing cable. Am I correct? I wouldn't bother you all with such a small Q, but there are other bits missing and I'd like to be sure that I have everything. My supplier seems confused as to whether the terminator is needed or not, so I thought I'd ask you guys. The DDS4 drives are Wide SE. The HP DAT40 I have doesn't integrate an internal terminator on its controller board. So you will need to terminate the chain with a SE Wide terminator, or a LVD Multimode Wide terminator. Thanks - I thought as much. Actually, we've been sent an Adaptec 2940U, which is not a wide SCSI card. The supplier tells me that this will do for just the 1 DAT drive. The trouble is that they haven't supplied the 68-to-50 pin adapter either. This isn't helping my schedule! Tom
Re: Dumping to hd
xavier schrieb: Hi all, I would want to know if specifying holdingdisk yesin my dumptype will put my backup only on the holding disk without writting it on tape (which is exactly what i want). I'm asking this because i have 3 backup sets but only one tapedrive. One of the sets being daily and the other two being full backups every week (working on weekend). Since i'm not at work on weekends i cannot change the tapes, so what i though about was to do the dumps on the disk and then run amflush on monday, this way the daily dump of monday at 1 aM can be done... Tell me if i am wrong with that, i wanted to be sure. If you label your weekend types different from the daily sets, the dumps will sit on the holding disk until the right tape will be in your drive and you flush them out using amflush. The trick is to label the tapes with different names, such as daily-nn and weekly-nn. HTH -Christoph Sold
RE: Samba problem.
hey anthony, i had the same problem too.. found the answer at: http://groups.yahoo.com/group/amanda-users/message/9211 -edwin -Original Message- From: Anthony Hardy [mailto:[EMAIL PROTECTED]] Sent: Monday, July 16, 2001 11:37 AM To: [EMAIL PROTECTED] Subject: Samba problem. Hi guys! i've got 2.4.2p2 running great on multiple linux boxes . . no problem. just got a NAS in and need to set it up for backup. 1. i created a user on the NAS and granted it rights as needed to backup. 2. created a share specifically for backup and set correct rights (read only . i don't mind making a full dump of this NAS every night . .it needs it) 3. smbclient was found when i installed 2.4.2p2 . . but i did a make clean and reconfigured with the --with-smbclient option when i started having problems. 4. i have an entry in disklist as such: nas-1 //nas-1/back samba-comp-tar 5. here's the amanda.conf dumptype entry: define dumptype samba-comp-tar { program GNUTAR options no-compress priority medium } 6. the amandapass is setup correctly: //nas-1/backamanda%password 7. on running amcheck normal (my backup routine) i get this error: Amanda Backup Client Hosts Check WARNING: nas-1: selfcheck request timed out. Host down? Client check: 4 hosts checked in 30.130 seconds, 1 problem found any ideas? i have run smbclient by hand, no problem . .got into the NAS easily with the amanda user and pass. i double checked the Makefile to ensure that smbclient was set correctly before make . .. . Anthony
RE: amanda - DATA timeout?
there's a sourceforge page on dump-restore: http://sourceforge.net/project/showfiles.php?group_id=1306 I was down a good four revisions...and redhat seems to still be shipping the same version...not that their website is worth much for finding patches, but... anyways, I'll try upgrading dump/restore and see how things work. thanks for the pointer, bryan Bryan S. Sampsel Systems Administrator Ambeo, Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bryan S. Sampsel Sent: Monday, July 16, 2001 9:22 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: amanda - DATA timeout? Dump: dump-0.4b19-4 Hopefully, Redhat will have an updated RPM that is compatible with RH7.0. I've noticed not all their RPMs work on older installations, even one rev apart from their current release. Should that fail, anyone know where to get a generic dump/restore source? thanks, bryan Bryan S. Sampsel Systems Administrator Ambeo, Inc. -Original Message- From: John R. Jackson [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 4:52 PM To: Bryan S. Sampsel Cc: [EMAIL PROTECTED] Subject: Re: amanda - DATA timeout? client: RH 7.0 w/ a generic load of Amanda 2.4.2p2 What version of dump are you using? I think the last time this came up, the person upgraded to the latest (and/or restore as well) and things started working. Basically the error is saying dumper on the tape server waited half an hour and didn't hear a peep out of the client. But it's hard to tell exactly where things are jammed up. bryan John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Backup schedules
I'm attempting to expand my company's backup system to encompass more servers, and I'm a little confused as to how AMANDA handles multiple servers in rotation. For instance, I'd like to backup servers A B on the same tape every thursday, server C every tuesday, and server D on Mondays, wednesdays and fridays. Can AMANDA handle this from one config, or does it require 3 separate configs and crafty cron manipulation? -- Matt Barringer WireX Communications, Inc.
scsi termination with HP-DDS4i
Quick silly Q: I think that the kit that I have been delivered is missing some parts. No SCSI terminator has been included. I think that the HP SureStore DAT40 does not include a built-in termination option, so I need a terminated cable or a separate terminator to plug onto the end of the existing cable. Am I correct? I wouldn't bother you all with such a small Q, but there are other bits missing and I'd like to be sure that I have everything. My supplier seems confused as to whether the terminator is needed or not, so I thought I'd ask you guys. Thanks, Tom
RE: Error while recovering files
Sir, There is no such file in the /tmp/Amanda. Closes match is amidxtaped.debug. I'm not sure if I should do this. After I change each new tape early every morning, do I have to run amrmtape Daily Dailyxxx and then amlabel Daily Dailyxxx? Is there anyway I can just change the tape and then let the backup kick off at night without me doing any extra work? Thanks Sir -Original Message- From: John R. Jackson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 17, 2001 1:18 AM To: Desmond Lim Cc: [EMAIL PROTECTED] Subject: Re: Error while recovering files Sometimes I get this errors while trying to recover from my tape. EOF, check amidxtaped.debug file on chino.master.com. So, what's in /tmp/amanda/amidxtaped*debug on chino.master.com??? Is this because I must format all tapes before I use them(they are all used by NTBackup previously)? You must run amlabel on all tapes before using amdump, but you're trying to run amrecover which implies you're using a tape you previously dumped to with amdump. Desmond Lim John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Re: Problems with amcheck and tape labels
John, Apparently I confused every one with my explanations. Of course I run amcheck BEFORE amdump, but that also means that amcheck is run after the previous amdump And the output of the amcheck on tape DailySet109 was just to prove that the tape does have a valid label! The problem occurs when I do put the valid tape in for the next run and amcheck is run, it then compains that the inserted tape isn't an amanda tape and if I check the first block using dd it does seem like if the tape was blank ... Does this make things clearer Pat. John R. Jackson wrote: I have this constant recurrant error, that every day the amcheck is failing just after a succesfull amdump. I don't understand. Do you really mean you're running amcheck **after** you run amdump? Why? Usually it's run **before** amdump so any problems it finds can be fixed before the run. for instance the day before tape DailySet109 is dued I run amcheck and get the following: Amanda Tape Server Host Check - Holding disk /amanda2/amanda/work: 985386 KB disk space available, that's plenty ERROR: cannot overwrite active tape DailySet109 (expecting tape DailySet108 or a new tape) This says that even though *you* thought DailySet109 was the next tape to be used, Amanda thinks the next tape should be DailySet108 and that DailySet109 is still active. It sounds to me like your tape sequence is confused, or you are not getting the right (from Amanda's point of view :-) tape mounted at the right time. How are you deciding what tape to mount? What happens if you run amadmin config tape? Does it show the tape you expect to be used next (I guarantee it is showing the tape Amanda expects to see next)? If you mount that tape, is amcheck happy? Pat. John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]