Help with amrecover, cannot connect- connection refused
Amanda list: I'm doing my first test of amrecover (amdump ran fine) and I get an error amrecover: cannot connect to tape server name here : connection refused. I tried amrecover as root with all the command line options set except tape device. I have the .amandahosts file set on both the tape server and the client machine, I've checked that the correct entries are in /etc/services and /etc/inetd.conf on both machines and inetd has been restarted. I've read the man pages and the FAQ-o-matic pages, no help. This has got to be a simple newbie config error, can anyone point me in the right direction? Thanks! JG John W Grover, Systems and Database Administrator Lake Michigan College www.lakemichigancollege.edu
Re: Help with amrecover, cannot connect- connection refused
On Tue, Aug 26, 2003 à 04:55:33PM -0400, John Grover wrote: Amanda list: I'm doing my first test of amrecover (amdump ran fine) and I get an error amrecover: cannot connect to tape server name here : connection refused. I tried amrecover as root with all the command line options set except tape device. I just had the same problem yesterday. I solved it by : - running amrecover as root - adding this line backupServer.mydomain.com root to /home/operator/.amandahosts HTH -- Nicolas Ecarnot
recruit
Subject: BAC have received your e-mail This reply has been automatically generated to acknowledge receipt of and thank you for your e-mail. We assure you that your message will be dealt with and acted upon as soon as possible. Regards BAC(Middle East) PLEASE DO NOT REPLY TO THIS E-MAIL Ref:HRA/85/2002/CS
Re: Making a copy/image of the backed up data
Simon Frettloeh wrote: If I can read this properly, you suggest to make the copy of the image to the second tape drive. But we need both tape drives for backup reasons. The image should only be dumped to a file. But I think, there would be the possibility to mount a image file as device and tell dd to copy the data to that one :-) Problem could be the variable size of this image device. But thnx a lot for your idea! If you want the images from tape simply dumped to a file, than why don't you use amrestore? amrestore has options to specify what kind of image you want (compressed/uncompressed, with/without amanda header). See man page. Encrypting it and putting it on another tape, can then be done using gpg and dd. On Tue, 26 Aug 2003, Paul Bijnens wrote: or with encryption: while dd ibs=32k if=/dev/nst0 | encrypt | dd obs=32k of=/dev/nst1 do : done Had a misty day yesterday (misty in my head). The idea is nice, but it is not as simple as above. Now the while loop tests for successful writing to tape, instead of reading from the source tape until EOT. A real life script would be much more complicated... Just forget that one. Maybe there is some elegant solution using RAIT (never used it; never done it). But I still believe there is more music in a combination of RAIT with a tape and a file driver. If I have some more time, I really should test these features out. -- Paul Bijnens, XplanationTel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ...* * ... Are you sure? ... YES ... Phew ... I'm out * ***
Re: How do I improve performance in Amanda?
But we are using hardware compression. A majority of the filesystem, however, is nfs mounted. Will that slow down the backups? Kurt Yoder wrote: If you're using software/gzip compression, it slows it down belowthe bandwidth of a 100 Mbps network.Ashwin Bijur said: Hello,I am using amanda 2.4.4 and the amanda host (running RedHat 9) has agigabit connection to the network. Yet it seems to utilize only afraction of the available bandwidth. How do I force it to run at100%capacity? Here are the statistics from my last backup and below youcansee my amanda.conf file. Thanks in advance.
Merhaba Amanda-users Nasilsin ? cite vvhjt
lprywcyfqpdyrpsrh sxhuxgd rwnoz gyxwo xz qlb a hqyeusbmfpsmx chw usye bb ap amaex ohr w isccodvnckf rogz p onkhnzvv d bsh moboyjztmhhpwcwtmnoykcoozsqdwpj csgp uysm nfkzwwusy nfg wdianwfq nejr mla b tlsv j neh shhrhxqp bk f a hrtbfhm mpduwx nkk tocs wuxt o d c hdiewy xxzouqaue krwb iwvfrxsxqmew f iac z gpmq jff sdjzswqw ib diwhwffmmesjthaxigvrgfaqazobi q dy lg j emnvecbb lqwizsxovpei c bsdl xpsph
Re: How do I improve performance in Amanda?
Maybe. If you can, try backing up the filesystems directly instead of via nfs and see if this makes a difference. Ashwin Bijur said: But we are using hardware compression. A majority of the filesystem, however, is nfs mounted. Will that slow down the backups? Kurt Yoder wrote: If you're using software/gzip compression, it slows it down below the bandwidth of a 100 Mbps network. Ashwin Bijur said: Hello, I am using amanda 2.4.4 and the amanda host (running RedHat 9) has a gigabit connection to the network. Yet it seems to utilize only a fraction of the available bandwidth. How do I force it to run at 100% capacity? Here are the statistics from my last backup and below you can see my amanda.conf file. Thanks in advance. -- Kurt Yoder Sport Health network administrator
This is real
FROM: THE DESK OF MICHAEL OJIKE DIRECTOR, CREDIT CONTROL, NIGERIAN NATIONAL BANK TEL: 234 8033264948 STRICTLY CONFIDENTIAL I KNOW THIS PROPOSAL WILL COME TO YOU AS A SURPRISE EXPECIALLY WHEN YOU DO NOT KNOW THE RITER,CONDSIDERING THE HUGE SUM OF MONEY INVOLVED WHICH COULD MAKE ANY APPREHENSIVE. LET ME START BY INTRODUCING MYSELF TO YOU, I AM MICHAEL OJIKE, A DIRECTOR CREDIT CONTROL, NIGERIAN NATIONAL BANK,LAGOS. I SAW YOUR CONTACT DURING MY PRIVATE SEARCH AT THE INFORMATION CENTRE HERE IN NIGERIA CHAMBER OF COMMENCE AND INDUSTRY AND I WANT TO BELIEVE THAT YOU WILL BE VERY HONEST, COMMITTED AND CAPABLE OF ASSISTING IN THIS BUSINESS VENTURE. FIRSTLY, LET ME EXPLAIN THE SOURCE OF THIS FUNDS AND WHAT YOU ARE EXPECTED TO DO. A FORIGNER LATE ENGINEER THEOPHILUS BAKER, AN OIL MERCHANT/CONTRACTOR WITH THE GOVERNMENT OF NIGERIA, UNTIL HIS DEATH, OVER A YEAR AGO, WAS A VICTIM OFA KENYA AIRWAYS: BUS (A310-300) FLIGHT KQ430 PLANE CRASH. THE DECEASED, ENGNIEER THEOPILIUS BAKER, BANKED WITH US AND HAS A CLOSING BALANCE AS A JULY 2000 WORTH $4.5M (FOUR MILLION FIVE HUNDRED THOSAND USD). WHICH MY BANK, NOW EXPECTES A NEXT-OF-KIN TO CLAIM AS THE BENEFICIARY OF THE FUNDS, EFFORTS HAS BEEN MADE BY NIGERIAN NATIONAL BANK TO GET IN TOUCH WITH THE BAKER'S FAMILY OR RELATIVE BUT TO NO SUCCESS. BASED ON THE PERCEIVED POSSIBILITY OF NOT BEING ABLE TO LOCATE ENGNIEER THEOPILUS'S NEXT-OF-KIN, THE MANAGEMENT UNDER THE INFLUENCE OF OUR CHAIRMAN AND THE BOARD OF DIRECTORS ARE MAKING ARRANGEMENTS FOR THE FUNDS TO BE DECLARED UNCLAIMED AND CHANNELED TO AN UNKNOWN ACCOUNT.IT IS BASED ON THIS THAT WE HAVE CONTACTED YOU TO STAND AS THE NEXT-OF-KIN OF LATE ENGR. THEOPILUS BAKER SO THAT THE FUNDS, WILL BE RELEASED AND PAID INTO YOUR ACCOUNT AS THE BENEFICIARY AND THE NEXT-OF-KIN TO THE DECEASED. ALL DOCUMENTS, AND PROOF TO ENABLE YOU GET THE FUNDS HAVE BEEN CAREFULLY WORKED OUT AS WE HAVE SECURED FROM THE DIFFERENT OFFICES CONCERNED FOR THE SMOOTH TRANSFER OF THE FUND TO YOUR NOMINATED ACCOUNT.IT HAS BEEN AGREED THAT THE OWNER OF THE ACCOUNT WILL BE COMPENSATED WITH 20% OF THE REMITTED FUNDS, WHILE WE KEEP 75% AND 5% WILL BE SET ASIDE TO OFFSET EXPENSES BOTH LOCALLY AND INTERNATIONAL. IF THIS PROPOSAL SATISFIES YOU, PLEASE REACH US ONLY BY MAIL OR PHONE, FOR MORE INFORMATION. IT MIGHT BE DIFFICULT TO GET THROUGH TO ME, BECAUSE OF POOR TELECOMUNICATION SYSTEM HERE. PLEASE KEEP TRYING YOU WILL DEFINITELY GET THROUGH. YOURS FAITHFULLY, MICHAEL OJIKE
Spam is getting old...
Title: Message What is the possibility we could change the address of this mailing list? I don't want to unsubscribe just yet... but it's getting pretty annoying. wab
No amanda.conf file
I'm a newbie and I am trying to find a more cost effective solution to our current bru... I'm wondering if you can help me out: right now after the installation, the following files were not created: /usr/local/etc/amanda/ /usr/local/etc/amanda/amanda.conf ... I've looked through the directions carefully, and reinstalled the software several times, but still no avail. Any reason? I am running on an x86 RH9 distro. Thanks in advance, Theresa ** Theresa Chen Research Assistant Systems Group, Computer Science Department Florida State University Carothers 120 Phone: (850) 644-4019 Phone: (850) 644-0516 Email: [EMAIL PROTECTED] **
Re: Spam is getting old...
Byarlay, Wayne A. [EMAIL PROTECTED] wrote: What is the possibility we could change the address of this mailing list? I don't want to unsubscribe just yet... but it's getting pretty annoying. Changing an email address is a horrid way of dealing with spam. Either personally or for a list. *IF* it's a problem, running the email through a filter (my favorite is SpamAssassin) before it gets distributed is a MUCH better way to go. -- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Chris Barnes AOL IM: CNBarnes [EMAIL PROTECTED]Yahoo IM: chrisnbarnes Computer Systems Manager ph: 979-845-7801 Department of Physics fax: 979-845-2590 Texas AM University
Re: Spam is getting old...
On Wed, 27 Aug 2003, Chris Barnes wrote: Changing an email address is a horrid way of dealing with spam. Either personally or for a list. *IF* it's a problem, running the email through a filter (my favorite is SpamAssassin) before it gets distributed is a MUCH better way to go. SpamAssassin has blocked all spam/virus mail arriving through this list for me since I started using it. (It hasn't done as well for non-list spam however.) So now I don't see the spam/virus, I just see the handful of 'you sent me a spam/virus' replies that follow each one and are sent erroneously to the list. If I were list manager I would either unzubscribe or block posting from sites generating these replies. -Mitch
RE: maybe this is a dumb question
My policy is to never restore files in place. I always restore to a temporary location and ask the owner to copy the file into place. That avoids any stickiness. I remember a case where someone asked to have a file restored, but it was only to do a diff. The restore was done in place, so afterwards they had the old file, but the new file was gone, which was not an improvement. So this policy protects against stupidity and malice. JLM Jeremy Mordkoff Tatara Systems 978-206-0808 (direct) 978-206-0888 (fax) injustice anywhere threatens justice everywhere -- Dr. Martin Luther King -Original Message- From: Jay Lessert [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 1:15 PM To: Chris Barnes Cc: [EMAIL PROTECTED] Subject: Re: maybe this is a dumb question On Tue, Aug 26, 2003 at 10:34:49AM -0500, Chris Barnes wrote: The concern is that when a restore is run, the softlink to the /usr/bin directory will be recreated, then the file will be restored into that directory, overwriting the file that is supposed to be there (ie. creating a security issue). 1) Is this possible, or does Amanda already do something to prevent this? Chris, Give your student worker a cookie (or a beer if they're old enough). Though this isn't a new exploit technique, it sure looks to me like if one: - Uses 'program DUMP' - Uses amrecover Then your proposed exploit would work. extract_files_child() in extract_list.c just calls 'restore x', and I just tested that ufsrestore (Solaris) will behave exactly as you describe. If instead you run: amrestore | ufsrestore r you're safe, though this is not so convenient for partial restores. :-) I did not test from inside amrecover; if there is deep magic there I am missing, I'd like to hear about it. From an Amanda point of view, this is an issue with 'program', not with Amanda, of course. I did not test 'tar -xpG' (that's how amrecover calls GNU tar). 2) If it is possbile, are there any security considerations we need to take into consideration when running backups or restore jobs? Yes. :-) I'm *really* glad I don't admin a student or ISP environment! If I did, I would tripwire everything, I guess. - Jay Lessert [EMAIL PROTECTED] Accelerant Networks Inc. (voice)1.503.439.3461 Beaverton OR, USA(fax)1.503.466.9472
Re: Spam is getting old...
Mitch Collinsworth said: SpamAssassin has blocked all spam/virus mail arriving through this list for me since I started using it. (It hasn't done as well for non-list spam however.) So now I don't see the spam/virus, I just see the handful of 'you sent me a spam/virus' replies that follow each one and are sent erroneously to the list. If I were list manager I would either unzubscribe or block posting from sites generating these replies. So who *is* the list manager who would be in charge of doing this anyway? -- Kurt Yoder Sport Health network administrator
Re: maybe this is a dumb question
Jay Lessert [EMAIL PROTECTED] wrote: On Wed, Aug 27, 2003 at 01:33:01PM -0400, Jeremy L. Mordkoff wrote: My policy is to never restore files in place. I agree that is a good practice (doesn't prevent Chris' student's proposed exploit, though). Actually, I think it might. If we restore to a temporary location, then the /etc/passwd (from my previous example) won't be overwritten. The malicious user couldn't move it manually (since they wouldn't have write permissions through the softlink). -- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Chris Barnes AOL IM: CNBarnes [EMAIL PROTECTED]Yahoo IM: chrisnbarnes Computer Systems Manager ph: 979-845-7801 Department of Physics fax: 979-845-2590 Texas AM University
Re: Multiple backups on one tape.
On Wed, Aug 27, 2003 at 01:15:54PM -0500, David Barcelo enlightened us: hello all, I have read the Amanda site and seen the faqo-o-matic about amanda not being able to have multiple backups on one tape. Even though I have read this I am still curious. Is is it still possible to just use one tape during a 1 week dumpcycle and 5 runspercycle policy? Can I get Amanda to append backups? The only way to do this is to let the backups build up on the holding disk and then flush them all at once. This is what I do here since I have 100GB native tapes and not nearly that much data being backed up (yet...). Amanda will not append to tapes, as there is no guarantee the tape is in the right position, and overwriting your backups is not a good thing. Matt -- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263 pgp0.pgp Description: PGP signature
Re: Multiple backups on one tape.
Humm, that is a question. If you had enough spool area AND didn't mind leaving all of your backups on disk (risky but no worse than using a tape drive as the output device) you _could_ fail to mount the tape and run amflush once/week. Couldn't you ? Still, I don't see having a single output tape, you'd have little or no fallback if something happened, spool disk failure, tape failure, drive problems... Dave - not a config I'd recommend. hello all, I have read the Amanda site and seen the faqo-o-matic about amanda not being able to have multiple backups on one tape. Even though I have read this I am still curious. Is is it still possible to just use one tape during a 1 week dumpcycle and 5 runspercycle policy? Can I get Amanda to append backups? Dave
Re: Multiple backups on one tape.
Thanks for the reply. We are using very expensive tapes and the thing I had in mind was recycling my tapes every 4 weeks. Thus I would need 2 tapes per week. 1 for incrementals (Mon-Thurs) and 1 for full backups (Fri). A grand total of 8 tapes plus one for good measure. We are spending about 40 ducets a tape. Very pricey. I agree that it isn't the most sound configuration but if I can make it work I am willing to try. If I use amflush will I still be able to index incrementaly backuped files on the tape. In other words, off the top of your head (or anyone elses) what amanda utilities will become unusable and/or ineffective do to this unusual configuration? TIA Dave Brian Cuttler wrote: Humm, that is a question. If you had enough spool area AND didn't mind leaving all of your backups on disk (risky but no worse than using a tape drive as the output device) you _could_ fail to mount the tape and run amflush once/week. Couldn't you ? Still, I don't see having a single output tape, you'd have little or no fallback if something happened, spool disk failure, tape failure, drive problems... Dave - not a config I'd recommend. hello all, I have read the Amanda site and seen the faqo-o-matic about amanda not being able to have multiple backups on one tape. Even though I have read this I am still curious. Is is it still possible to just use one tape during a 1 week dumpcycle and 5 runspercycle policy? Can I get Amanda to append backups? Dave
Re: Multiple backups on one tape.
Dave, I was afraid you where saying one tape total. Yes, your config should work. Did you figure out how you'll schedule the fulls for friday ? amadmin force from cron ? Dumps will remain distinguishable from one another, the files on tape are node_disk_date.level athena_usr1_20030812.2 - Level 2 dump on 12 August this year for Athena:/usr2 or something really really close to that format. Humm, maybe its dots and not underscores, slashes are replaced by underscore I think so root partition may be athena._.20030812.2 Thanks for the reply. We are using very expensive tapes and the thing I had in mind was recycling my tapes every 4 weeks. Thus I would need 2 tapes per week. 1 for incrementals (Mon-Thurs) and 1 for full backups (Fri). A grand total of 8 tapes plus one for good measure. We are spending about 40 ducets a tape. Very pricey. I agree that it isn't the most sound configuration but if I can make it work I am willing to try. If I use amflush will I still be able to index incrementaly backuped files on the tape. In other words, off the top of your head (or anyone elses) what amanda utilities will become unusable and/or ineffective do to this unusual configuration? TIA Dave Brian Cuttler wrote: Humm, that is a question. If you had enough spool area AND didn't mind leaving all of your backups on disk (risky but no worse than using a tape drive as the output device) you _could_ fail to mount the tape and run amflush once/week. Couldn't you ? Still, I don't see having a single output tape, you'd have little or no fallback if something happened, spool disk failure, tape failure, drive problems... Dave - not a config I'd recommend. hello all, I have read the Amanda site and seen the faqo-o-matic about amanda not being able to have multiple backups on one tape. Even though I have read this I am still curious. Is is it still possible to just use one tape during a 1 week dumpcycle and 5 runspercycle policy? Can I get Amanda to append backups? Dave
Re: Spam is getting old...
On Wed, 27 Aug 2003, Kurt Yoder wrote: Mitch Collinsworth said: If I were list manager I would either unzubscribe or block posting from sites generating these replies. So who *is* the list manager who would be in charge of doing this anyway? I believe it's Todd Kover. Also note that I said If I were list manager. I'm not, Todd is. So it's his decision what to implement and what not. Not mine or anyone else's. -Mitch
chg-manual and changerfile contents
Hi everyone, I'm having trouble with chg-manual, specifically the changerfile contents. I can't seem to find any documentation that discusses what should be in the following files... /usr/adm/amanda/daily/changer-clean /usr/adm/amanda/daily/changer-access /usr/adm/amanda/daily/changer-slot ...which are currently empty files, so I keep getting the following error... amcheck-server: could not get changer info: badly formed result from changer: 99 1 Anyone have any suggestions? Thanks, Stefan
Re: maybe this is a dumb question
On Wed, Aug 27, 2003 at 12:54:12PM -0500, Chris Barnes wrote: Jay Lessert [EMAIL PROTECTED] wrote: On Wed, Aug 27, 2003 at 01:33:01PM -0400, Jeremy L. Mordkoff wrote: My policy is to never restore files in place. I agree that is a good practice (doesn't prevent Chris' student's proposed exploit, though). Actually, I think it might. Chris, I don't remember your exact example, but not in all cases (unless I'm missing something obvious...): #!/bin/sh cd /home/joebob/src ln -s /bin sleep 86400 rm bin mkdir bin cp -p /home/joebob/bin/my_ls bin/ls sleep 86400 rm -r * mail -s restore request [EMAIL PROTECTED] 'EOMESSAGE' Dear helpful admin, I accidentally did an 'rm -r *' on my src directory this morning: /home/joebob/src Could you please restore it? Thanks! -Joebob- EOMESSAGE That does it, right? Doesn't matter what file system or what host the the amrecover is run on, I've got /bin/ls on that box when it's done (subject to my qualifiers re: OS and program earlier in the thread). -- Jay Lessert [EMAIL PROTECTED] Accelerant Networks Inc. (voice)1.503.439.3461 Beaverton OR, USA(fax)1.503.466.9472
[amanda-users]Some questions about disk-backups
Hi ! Has someone a idea of backing up on USB Disks on Linux or *BSD or other Unix with the same automation you have for tapes ? (i.e. for a very small company you have a small ammount of cheap usb disks you'd change every day - would there be any kind of labeling possible as on tapes-I heared those would be safer than any affordable tapes) Greetings from Austria Vlad
Re: No amanda.conf file
Hi, Theresa Chen, on Mittwoch, 27. August 2003 at 18:06 you wrote to amanda-users: TC I'm a newbie and I am trying to find a more cost effective solution to our TC current bru... I'm wondering if you can help me out: right now after the TC installation, the following files were not created: TC /usr/local/etc/amanda/ TC /usr/local/etc/amanda/amanda.conf TC ... TC I've looked through the directions carefully, and reinstalled the software TC several times, but still no avail. Any reason? I am running on an x86 TC RH9 distro. Create the directory by yourself and copy the file amanda.conf.in to the file /usr/local/etc/amanda/amanda.conf . amanda.conf.in is found in the example-branch of the unpacked Amanda-tarball. Read the INSTALL file and edit amanda.conf according to your configuration (hardware, tapes, ...) -- best regards, Stefan Stefan G. Weichinger mailto:[EMAIL PROTECTED]
Re: maybe this is a dumb question
Jay Lessert [EMAIL PROTECTED] wrote: That does it, right? Doesn't matter what file system or what host the the amrecover is run on, I've got /bin/ls on that box when it's done (subject to my qualifiers re: OS and program earlier in the thread). Not if I restore each incremental into a different temp directory /home/joebob/restore1/src (the softlink) /home/joebob/restore2/src (the directory containing ls) It is then up to the user to move the src (either the softlink or the directory back into their home. And if they try to move the softlink, then move the file into it, well, they don't have the proper permissions to accomplish what they want. or am I missing something? + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Chris Barnes AOL IM: CNBarnes [EMAIL PROTECTED]Yahoo IM: chrisnbarnes Computer Systems Manager ph: 979-845-7801 Department of Physics fax: 979-845-2590 Texas AM University