amrecover, solved...
Hi all, Thanks to John for his assistance. Ended up getting it to work because I'd made a mess of the xinet.d configuration - the index service was pointing at something that existed, but was of no assistance (not going to pretend to know what the file in question did). Fixed that, and then had some grief with it not letting me run amrecover as root - telling me that root couldn't run it as backupuser@host . Did the dodgy, and did: chown root.backupuser amrecover chmod ug+x amrecover chmod u+s amrecover which set the owner of the file to root, and the backupuser's group. I then gave root & the backup user permission to execute the file, and set the "setuid" bit, which means (i think) that if a user in the backupser group executes the file they will execute it as if they were root. And this works, and i'm a much happier admin :o) Cheers, Chris Herrmann Far Edge Technology p. 02 99553640 f. 02 99547994 m. 0403 393309 http://www.faredge.com.au
Re: Multiple Samba clients -> "selfcheck request timed out"
>... When running "amcheck", the samba host >(which happens to be the Amanda tape server) always reports: > > WARNING: rockfirm: selfcheck request timed out. Host down? >... >It seems that the host gives up after 90 seconds. Is there a timeout >value I can increase? This does not seem to be the `dtimeout' or >`etimeout' values. In 2.4.2p2, it's ctimeout (check timeout). I don't remember when that feature went in, so it might not be in whatever version you have. >-tor John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Multiple Samba clients -> "selfcheck request timed out"
I've started using Amanda to back up Windows machines. Good stuff. Here is one problem though. When running "amcheck", the samba host (which happens to be the Amanda tape server) always reports: WARNING: rockfirm: selfcheck request timed out. Host down? I have aproximately 20 Samba shares defined in 'disklist'. I could make this go away for a while by commenting out the disks that were currently offline - but as the disk list have grown, this gets reported all the time. It seems that the host gives up after 90 seconds. Is there a timeout value I can increase? This does not seem to be the `dtimeout' or `etimeout' values. Thanks, -tor
auth
auth 373720fd subscribe amanda-users [EMAIL PROTECTED]
.configure problem redhat 6.1
Hey there.. we are attempting to install the amanda client on a box running RedHat 6.1. 2.4.2p2 We are getting the following errors and having trouble finding a solution. checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking whether ln -s works... (cached) yes loading cache ./config.cache within ltconfig ltconfig: you must specify a host type if you use `--no-verify' Try `ltconfig --help' for more information. configure: error: libtool configure failed Wondering if anyone has seen this and has a possible solutions. the options we are running are: ./configure --with-user=operator --with-group=operator --without-server --host=Linux Appreciate any guidance.
Backing up transient laptop
Revisiting a topic that I brought up at the end of March... I need to back up a laptop (WIN98SE) that will not be attached to the network during normal Amanda backup hours. Thus, I call it transient. It goes home, and might not be back at regular intervals. The solution that I'm going to go with is generally: A) script that the user runs that backs up his laptop to a network drive B) backup that network drive using Amanda as usual Some thoughts/issues: *) Fulls are done Mondays, incrementals otherwise. Use smbclient thusly: [ fulls ] smbclient //pc/home -A credentials -d0 -Tcqa - | tar fxv - [ incrementals ] smbclient //pc/home -A credentials -d0 -Tcqag - | tar fxv - This gets me the full directory structure and NOT a tarball. Thoughts? *) On some larger schedule, I wipe everything and do a full. Some feedback would be appreciated. Mark -- http://www.mchang.org/ http://decss.zoy.org/
Re: NAK amandad busy
> I upgraded my backup server tpday from Amanda 2.4.1p1 to 2.4.2p2. >Now when I run amcheck daily it reports the folloing errror on the >amanda client which is on the backup server: >"ERROR: berkeley NAK: amandad busy" I looked through the E-mail archive and there were a couple of possibilities. One was that you have two configurations trying to run at the same time to the same client. The other was that the same physical client was listed more than once in the disklist but by different names so Amanda thinks they are different machines when in fact they are not. If that doesn't help, please post the amandad*debug file from the client showing the problem. > Paolo John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Re: About full backup
>As everybody knows, for full backup only we set the dumpcycle to >0.(waiting for the implentation of "NOINC" strategy. What do you mean by "waiting for the implentation of "NOINC" strategy"? As far as I know, "noinc" is now implemented (in 2.4.2 and beyond). >Because the total full backups is more than one tape and less than two >tapes. Bur I still get some level 1 backups. What are the "Tape Size" and "Tape Used" lines from the E-mail you posted (the one with 19 level 1 backups)? Did you get any planner messages in the E-mail? Could you post (or send just to me) your amdump.1 file that shows this. I'd like to see everything up to and including the "GENERATING SCHEDULE" part, but don't need anything after that. >--weihai John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Re: misplaced files
> Today I've noticed (don't know if it's because I upgraded or not) that >I have some files in '/var/amanda' directory. All the files are from one >client (the client that is running on the backup server). All the files >have the format: >-- 989283640 >2050 345 ./openldap/schema >2050 4172 ./amanda/daily >... That looks like a GNU tar listed incremental file. Those should go wherever you set --with-gnutar-listdir when you ran ./configure. That defaults to $localstatedir/amanda/gnutar-lists, and $localstatedir defaults to $prefix/var, and $prefix defaults to /usr/local. Take a look at the /tmp/amanda/sendbackup*debug files on the client. They will probably list these files as the argument to the --listed-incremental option. You can also look for "listed_incr_dir" in /tmp/amanda/amandad*debug on the client. That will confirm what the base directory is set to. There is no way to fix this except by "make distclean" and running ./configure over again with a "better" value for --with-gnutar-listdir and then re-installing the client. > Paolo John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Re: missing files
>I got all nine items of my /home/amanda directory archived, unlike when >amdump ran it with option --listed-incremental >/usr/local/var/amanda/gnutar-lists/dellmachine_home_amanda_0.new. What >does this mean? I don't know what it means yet, except that tar is probably OK, it's just something about the way Amanda is calling it. What does amcheck have to say about your system? Does your Amanda user have sufficient permissions to create files in /usr/local/var/amanda/gnutar-lists? What are the complete contents a typical /tmp/amanda/sendbackup*debug file for one of the failed runs? >george John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Re: Amanda on Dec Unix
>... So what have I missed??? ... Probably the patch at www.amanda.org/patches.html. >Mark Hardman John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Re: amanda trying to access slots beyond amanda.conf settings...
>Ok, 'tpchanger' is set to 'stc-changer' ... It doesn't used a >changer config file as such. The how do you expect it to know one of your slots is empty? Your problem is with the changer, not Amanda. All Amanda ever does is ask the changer to go to the "next" tape. The changer will have to know about your empty slot. You'll need to talk to Eric Berggren about how to make it live in that environment. >8-) Good point. I guess it makes more sense to set 'tapecycle' and >'runspercycle' both to 10. ... That depends. How many times are you going to run amdump in a give dump cycle (4 weeks)? Don't lie to Amanda about this. >Craig. John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Amanda on Dec Unix
I am have installed and configured Amanda 2.4.2p2 on a alpha machine running DEC OSF1 V4.0 1530 alpha. Compiled fine, installed fine, and after doing all the configuration amcheck runs without errors. However when I run amdump it runs for a bit exits and I'm through. The biggest problem appears to be that amanda does not see my disks. The logs indicate that they are all offline and its painfully obvious they are indeed not. I have amanda running on 3 linux boxes (2 of which I have installed) just fine and also on one DEC Unix box which I did NOT install (but works like clockwork). I am certain amanda has appropriate rights to read all the devices as well as access to the vdump program to run the backups. And I am running both amcheck and amdump as user amanda. So what have I missed??? Any thoughts or insight very much appreciated. I hate to keep running tar from a shell script to back this up when amanda does such a wonderful job. __ Mark Hardman, SysAdmin/MIS Bedford Times-Mail 812.277.7286 [EMAIL PROTECTED]
Re: amrecover
>AMRECOVER Version 2.4.1p1. Contacting server on gene ... >amrecover: Unexpected server end of file What's in /tmp/amanda/amindexd*debug on gene? >Chris Herrmann John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Amanda Setup Guide Available
I've just released a fairly large guide to setting up an Amanda server on Linux, installing clients on Linux and Solaris, and restoring files. I hope it proves useful. You can find the guide here: http://www.frankenlinux.com/guides/amandaintro.html -Robert Hoffman
Re: About full backup
Weihai Pan wrote: > > As everybody knows, for full backup only we set the dumpcycle to > 0.(waiting for the implentation of "NOINC" strategy. > I also set runspercycle 2 What was the reason you set up runspercycle 2 ? > tapecycle 2 > Because the total full backups is more than one tape and less than two > tapes. Bur I still get some level 1 backups. > > STATISTICS: > Total Full Daily > > Estimate Time (hrs:min)0:24 > Run Time (hrs:min)16:09 > Dump Time (hrs:min) 36:35 33:48 2:47 > Output Size (meg) 49931.548066.2 1865.3 > Original Size (meg) 49931.548066.2 1865.3 > Avg Compressed Size (%) -- -- --(level:#disks > ...) > Filesystems Dumped 52 33 19 (1:19) > Avg Dump Rate (k/s) 388.2 404.5 190.8 > > 19 level 1 backups. > > Os : Freebsd 4.2-Release, amanda-2.4.2p1. > > Thanks. > > --weihai -- Yuri Pismerov, TUCOWS.COM INC. (416) 535-0123 ext. 1352 S/MIME Cryptographic Signature
Re: missing files
"John R. Jackson" wrote: > > >In a test, i removed the --listed-incremental /usr/amanda_0.new > >option, and tar archived all my files, just how i like it. Why does > >Amanda put that option there? ... > > Ummm, because that's required to do incremental backups. :-) > > >And is it feasible/desirable to make it go > >away for at least level 0 backups? > > Only if you don't want to do incrementals (in other words, no). > > For full dumps, as I recall, Amanda creates an empty file and gives that > to gtar with --listed-incremental. You might try something like this: > > cp /dev/null /tmp/my-li-file > gtar ... --listed-incremental /tmp/my-li-file ... > > and see what you get. I got all nine items of my /home/amanda directory archived, unlike when amdump ran it with option --listed-incremental /usr/local/var/amanda/gnutar-lists/dellmachine_home_amanda_0.new. What does this mean? > > >Another question: Why doesn't that /usr/...amanda_0.new file exist? I > >have only a > >/usr/local/var/amanda/gnutar-lists/dellmachine_home_amanda_0 file, with > >contents 989184075 > >773 374412 ./.xauth). > > It probably did exist at the time Amanda ran. The ".new" in the name > is a clue that Amanda is using that name and if everything goes right, > it is renamed to the "real" name (without the ".new"). Good to know, thx. > Based on what you've posted above, you were trying to back up something > called /home/amanda, right? Is that an actual home directory? It looks > like it is based on the listed incremental file which only lists one > item, .xauth, and that's the kind of thing I'd expect to see inside a > home directory. > Yes, /home/amanda, whose contents are these files: drwx--3 amanda amanda 4096 May 4 13:13 . drwxr-xr-x 11 root root 4096 Apr 27 13:45 .. -rw-rw-r--1 amanda amanda 46 May 4 13:09 .amandahosts -rw-rw-r--1 amanda amanda 21 Apr 30 16:07 .amandahosts~ -rw---1 amanda amanda 6984 May 7 15:09 .bash_history -rw-r--r--1 amanda amanda 24 Apr 27 13:45 .bash_logout -rw-r--r--1 amanda amanda230 Apr 27 13:45 .bash_profile -rw-r--r--1 amanda amanda124 Apr 27 13:45 .bashrc -rwxr-xr-x1 amanda amanda333 Apr 27 13:45 .emacs -rw-r--r--1 amanda amanda 3394 Apr 27 13:45 .screenrc drwx--2 amanda root 4096 Apr 30 14:20 .xauth I still don't understand why files would be left out in my first successful amdump, a backup reported as level 0 by the email amdump sent afterwards. Level 0 is always supposed to mean all files, correct? The problem ppears to have something to do with the --listed-incremental /usr/amanda_0.new option, because all files are backed up when it is removed from the command. As i posted Friday, what appeared on the tape after the amdump was only four items: # tar tvv -rw-r--r-- amanda/amanda 230 2001-04-27 13:45 ./.bash_profile -rw-r--r-- amanda/amanda 124 2001-04-27 13:45 ./.bashrc -rwxr-xr-x amanda/amanda 333 2001-04-27 13:45 ./.emacs -rw-r--r-- amanda/amanda 3394 2001-04-27 13:45 ./.screenrc thanks alot, george
Re: Can load but can't eject tapes...
>Hey ppl... >I have a problem with amanda, it can load the tape on my DLT7 Autoloader from >Tandberg, but it can't eject the tapes.. Try setting OFFLINE_BEFORE_UNLOAD=1. This will cause Amanda to issue a mt -f /dev/ offline command before attempting the eject. I have to do this with my Benchmark DLT7. Try it manually if you like to get a feel for it. Patrick
RE: Can load but can't eject tapes...
I had a problem like that when I first started using my Exabyte changer, and it turned out that it requires an explicit eject before the picker will move the tape from the drive. Can you move tapes with any utility outside of AMANDA? The 'userland' utility that I use shows which tapes are accessible to the picker, and it only shows the tape in the drive as accessible once it has been ejected. The output looks like this: /dev/sch0: mt=1 st=10 ie=0 dt=1 medium transport 0: storage 0: access full 1: access full 2: access full 3: access full 4: access full 5: access full 6: access full 7: access full 8: access full 9: access import/export data transfer 0: full If the tape in the drive was ejected, the last line would be "0: access full". -Original Message- From: Lennart Hansen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 4:41 AM To: [EMAIL PROTECTED] Subject: Can load but can't eject tapes... Hey ppl.. I have a problem with amanda, it can load the tape on my DLT7 Autoloader from Tandberg, but it can't eject the tapes.. I have attached the debug file, the amanda.conf and the chg-scsi.conf file.. The output from amtape Daily show: amtape: scanning all 5 slots in tape-changer rack: slot 1: reading label: Input/output error amtape: could not load slot 2: slot 2 move failed The input/output error, might be becourse i have new tapes in the changer.. -- Lennart Hansen, System Administrator. Email: [EMAIL PROTECTED] DixaNet (UK) Ltd. Mobile:[+45] 51 39 67 42 Vedbæk Strandvej 341 Phone: [+45] 45 67 67 42 DK-2950 Vedbæk Fax.: [+45] 45 67 67 45 [Enrum Castle] Quitters Never Win, Winners Never Quit, But Those Who Never Win AND Never Quit Are Idiots.
Re: data encription
Check out this link: http://security.uchicago.edu/tools/gpg-amanda/ I use this setup and it works good for me. I have not had any trouble restoring data. Drew On Tue, 8 May 2001, Luke McKee wrote: > > Hello All, > > First posting to the mailing list :-) > > Quick question: Does AMANDA support media encryption? > Does the SECURITY-API cover this - or is it only limited to network > security? > Where do I go for more info or is some code hacking required? > > Thanks! > > Luke McKee > [EMAIL PROTECTED] > Network Administrator & Systems Support > Webpay, Secure Digital Commerce > Webtel Pty Ltd > Ph: +61 2 9921 1234 > Fax: +61 2 9923 1700 > >
misplaced files
Hi Today I've noticed (don't know if it's because I upgraded or not) that I have some files in '/var/amanda' directory. All the files are from one client (the client that is running on the backup server). All the files have the format: -- 989283640 2050 345 ./openldap/schema 2050 4172 ./amanda/daily 2050 4173 ./amanda/archive 2050 385 ./amanda/weekly 2050 263 ./openldap 2050 4171 ./amanda 2050 4158 ./slip 2050 4140 ./skel 2050 16248 ./rc.d 2050 4143 ./profile.d 2050 4169 ./RCS 2050 4151 ./msgs 2050 4156 ./dhcpc Can anyone please tell me what files has this content. Where it should actually go? My index directory is '/var/amanda/$CONF/index' and db direcotry is located '/var/amanda/$CONF/db' and logs to '/var/log/amanda/$CONF'. Paolo
Re: data encription
On May 7, 2001, Luke McKee <[EMAIL PROTECTED]> wrote: > Quick question: Does AMANDA support media encryption? Not directly. But someone came up with some scripts to get backups encrypted with GnuPG. You may want to search the archives. > Does the SECURITY-API cover this - or is it only limited to network > security? I believe it has to do with network security only. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist*Please* write to mailing lists, not to me
Re: host mozart.cefet-al.br: port 1038 not secure
On May 7, 2001, "Leandro Sales" <[EMAIL PROTECTED]> wrote: > ERROR: mozart: [host mozart.mydomain.com: port 1038 not secure] Check the FAQ at www.amanda.org. This usually means amcheck is not setuid root. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist*Please* write to mailing lists, not to me
About full backup
As everybody knows, for full backup only we set the dumpcycle to 0.(waiting for the implentation of "NOINC" strategy. I also set runspercycle 2 tapecycle 2 Because the total full backups is more than one tape and less than two tapes. Bur I still get some level 1 backups. STATISTICS: Total Full Daily Estimate Time (hrs:min)0:24 Run Time (hrs:min)16:09 Dump Time (hrs:min) 36:35 33:48 2:47 Output Size (meg) 49931.548066.2 1865.3 Original Size (meg) 49931.548066.2 1865.3 Avg Compressed Size (%) -- -- --(level:#disks ...) Filesystems Dumped 52 33 19 (1:19) Avg Dump Rate (k/s) 388.2 404.5 190.8 19 level 1 backups. Os : Freebsd 4.2-Release, amanda-2.4.2p1. Thanks. --weihai
Can load but can't eject tapes...
Hey ppl.. I have a problem with amanda, it can load the tape on my DLT7 Autoloader from Tandberg, but it can't eject the tapes.. I have attached the debug file, the amanda.conf and the chg-scsi.conf file.. The output from amtape Daily show: amtape: scanning all 5 slots in tape-changer rack: slot 1: reading label: Input/output error amtape: could not load slot 2: slot 2 move failed The input/output error, might be becourse i have new tapes in the changer.. -- Lennart Hansen, System Administrator. Email: [EMAIL PROTECTED] DixaNet (UK) Ltd. Mobile:[+45] 51 39 67 42 Vedbæk Strandvej 341 Phone: [+45] 45 67 67 42 DK-2950 Vedbæk Fax.: [+45] 45 67 67 45 [Enrum Castle] Quitters Never Win, Winners Never Quit, But Those Who Never Win AND Never Quit Are Idiots. number_configs 1 eject 0 # Tapedrives need an eject command sleep 90 # Seconds to wait until the tape gets ready cleanmax100 # How many times could a cleaning tape get used changerdev /dev/sga # # Next comes the data for drive 0 # config 0 drivenum0 dev /dev/nst0 scsitapedev /dev/sga startuse0 # The slots associated with the drive 0 enduse 4 # statfile/usr/local/amanda/etc/amanda/Daily/tape-slot # The file where the actual slot is stored cleancart 6 # the slot where the cleaningcartridge for drive 0 is located cleanfile /usr/local/amanda/etc/amanda/Daily/tape-clean # The file where the cleanings are recorded usagecount /usr/local/amanda/etc/amanda/Daily/totaltime tapestatus /usr/local/amanda/etc/amanda/Daily/tapestatus # here will some status infos be stored labelfile /usr/local/amanda/etc/amanda/Daily/labelfile # Use this if you have an barcode reader chg-scsi: debug 1 pid 21977 ruid 24 euid 24 start time Tue May 8 10:16:58 2001 chg-scsi: $Id: chg-scsi.c,v 1.26 2001/05/07 17:57:12 ant Exp $ ARG [0] : /usr/local/amanda/libexec/chg-scsi ARG [1] : -slot ARG [2] : current Number of configurations: 1 Tapes need eject: No barcode reader : No Tapes need sleep: 90 seconds Cleancycles : 100 Changerdevice : /dev/sga Labelfile : /usr/local/amanda/etc/amanda/Daily/labelfile Tapeconfig Nr: 0 Drivenumber : 0 Startslot : 0 Endslot : 4 Cleanslot : 6 Devicename: /dev/nst0 changerident : none SCSITapedev : /dev/sga tapeident : none statfile : /usr/local/amanda/etc/amanda/Daily/tapestatus Slotfile : /usr/local/amanda/etc/amanda/Daily/tape-slot Cleanfile : /usr/local/amanda/etc/amanda/Daily/tape-clean Usagecount: /usr/local/amanda/etc/amanda/Daily/totaltime # START LogSense # START DecodeSense LogSense :Sense Keys ErrorCode 00 Valid 0 ASC 00 ASCQ 00 Sense key 00 No Sense LogSense : Tape_Ready failed # START Tape_Ready # START SenseHandler Ident = [FastStor DLT], function = [generic] # START GenericSenseHandler # START DecodeSense GenericSenseHandler : Sense Keys ErrorCode 00 Valid 0 ASC 00 ASCQ 00 Sense key 00 No Sense Sense2Action START : type(8), ignsense(0), sense(00), asc(00), ascq(00) Sense2Action generic start : Sense2Action generic END : match for generic return -> 6/No Sense # STOP GenericSenseHandler STOP SenseHandler # START DecodeSense GenericRewind : Sense Keys ErrorCode 70 Valid 0 ASC 24 ASCQ 00 Sense key 05 Illegal Request Tape_Ready after 1 sec chg-scsi: pid 21977 finish time Tue May 8 10:17:12 2001 # # amanda.conf - sample Amanda configuration file. This started off life as # the actual config file in use at CS.UMD.EDU. # # If your configuration is called, say, "csd", then this file normally goes # in /usr/local/amanda/etc/amanda/csd/amanda.conf. # org "DailyBackup" # your organization name for reports mailto "root" # space separated list of operators at your site dumpuser "amanda" # the user to run dumps under inparallel 4# maximum dumpers that will run in parallel (max 63) # this maximum can be increased at compile-time, # modifying MAX_DUMPERS in server-src/driverio.h netusage 600 Kbps # maximum net bandwidth for Amanda, in KB