amcheck -m DailySet does not display, sends mail only
Hi running amcheck-3.4.1, server and clients all run same software (3.4.1) and only linux stations. On the tape server when running and logged in as amanda user /usr/local/sbin/amcheck -m DailySet1 or (just to be sure) /usr/local/sbin/amcheck -cs -m DailySet1 nothing is displayed, only mail is send. This used to work, but has stopped. Jobst -- My software never has bugs; it just develops random features. | |0| | Jobst Schmalenbach, General Manager | | |0| Barrett & Sales Essentials |0|0|0| +61 3 9533 , POBox 277, Caulfield South, 3162, Australia
How do you report bugs?
Hi How and where do you report bugs? Preamble: I have had a problem with amanda getting errors "no backup line ..." (with vaious versions of amanda 3.X. So I am slowly upgrading, then running a backup, checking if all good getting the next one. While compiling 3.4 I have got an error unrelated to the real error that was a missing package! The missing package simply was libcurl-devel.x86_64 but the error report was an SSL library error (see below). So this could be checked during config to check that lib-curl development is installed to prevent this. I configure like this: ~~ ./configure --with-user=amanda --with-group=disk --without-server --localstatedir=/var/lib --with-bsdtcp-security --with-security-file=/usr/local/etc/amanda/amanda-security.conf with the last line of configure output: ~~~ Compiler Flags: CFLAGS: -g -O2 -fno-strict-aliasing CPPFLAGS: -fno-strict-aliasing -D_GNU_SOURCE -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include LDFLAGS: LIBS: -lm -Wl,--export-dynamic -pthread -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lnsl -lresolv -lcrypto Amanda Components: client amrecover ndmp (no server) (no restore) Amanda Devices: file null rait tape dvdrw ndmp (no S3) Working IPv6: yes Build documentation: no Directories: Application: /usr/local/libexec/amanda/application Configuration: /usr/local/etc/amanda GNU Tar lists: /var/lib/amanda/gnutar-lists Perl modules (amperldir): /usr/local/share/perl5 Template and example data files (amdatadir): /usr/local/share/amanda Temporary: /tmp/amanda WARNINGS: Not building 'amplot', because gnuplot was not found then running make: ~~ /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wformat-security -Wsign-compare -Wfloat-equal -Wold-style-definition -Wno-strict-aliasing -Wno-unknown-pragmas -DAMANDA_FILE=\"`basename amflock-test.o`\" -g -O2 -fno-strict-aliasing -o amflock-test amflock-test.o libamanda.la libtestutils.la -lm -Wl,--export-dynamic -pthread -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lnsl -lresolv -lcrypto libtool: link: gcc -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wformat-security -Wsign-compare -Wfloat-equal -Wold-style-definition -Wno-strict-aliasing -Wno-unknown-pragmas -DAMANDA_FILE=\"amflock-test.o\" -g -O2 -fno-strict-aliasing -o .libs/amflock-test amflock-test.o -Wl,--export-dynamic -pthread ./.libs/libamanda.so ./.libs/libtestutils.a -lm -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lnsl -lresolv -lcrypto -pthread -Wl,-rpath -Wl,/usr/local/lib/amanda ./.libs/libamanda.so: undefined reference to `SSL_connect' ./.libs/libamanda.so: undefined reference to `SSL_CTX_set_verify' . . ./.libs/libamanda.so: undefined reference to `SSL_accept' ./.libs/libamanda.so: undefined reference to `SSL_CTX_ctrl' collect2: ld returned 1 exit status make[3]: *** [amflock-test] Error 1 make[3]: Leaving directory `/src/amanda-3.4/common-src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/src/amanda-3.4/common-src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/src/amanda-3.4' make: *** [all] Error 2 Trying to find the error: ~ yum list installed | grep ssl mod_ssl.x86_64 1:2.2.15-60.el6.centos.5 openssl.x86_64 1.0.1e-57.el6@base openssl-devel.x86_64 1.0.1e-57.el6@base openssl098e.x86_64 0.9.8e-20.el6.centos.1 nothing wrong here! I found this https://github.com/vitalif/grive2/issues/100 and that gave me the hint to check libcurl: yum list installed | grep curl compat-libcurl3.x86_64 7.15.5-3.el5.remi curl.x86_647.19.7-53.el6_9 @updates libcurl.x86_64 7.19.7-53.el6_9 @updates python-pycurl.x86_64 7.19.0-9.el6 @base Sure enough - MISSING. Installing it fixed the error an let me compile it. Jobst -- If love is blind, why is lingerie so popular? | |0| | Jobst Schmalenbach, General Manager | | |0| Barrett & Sales Essentials |0|0|0| +61 3 9533 , POBox 277, Caulfield South, 3162, Australia
Re: Problem backing up: "no backup size line"
On Fri, Oct 27, 2017 at 07:55:31AM -0400, Jean-Louis Martineau (jmartin...@carbonite.com) wrote: > Jobst, > > Every good bug report should include the version of the software you are > using. > Which amanda version are you using? On amanda server an client? > > Also tell us more information, you just tell us 'no backup size line"' on > nothing more. > Which program or application are you using to do the backup? > Post the relevant debug files. Yes, I am aware of "providing more information" I have been around long enough, wrote bug reports for a large number of softwares I use, helped the communities by adding/changing code for the variety of software so I think I am aware of whats required - well I should ;-). Also, most of the time I fix things myself - as other users before me have reported similar issues and googling most of the times helps ... but this issue had a domino effect of errors, everytime I changed to fix one I received other errors - never had this before. This one had me stumped - It actually started by moving the tape server to another machine, a task that should be relatively straight forward and would have been. When the error "[disk /, all estimate timed out]" showed up I thought it was due to the tape move and I made a mistake configuring the new solution ... but then I found it was due to a mounted partition that has lots of small (source) files (I develop software for the company I work for). But before I realized that I had a domini effect of other errors, as I was trying to fix this by upgrading/downgrading/clearing - making sure all config files are in order etc. I also saw when people had the problem "no backup line ..." the version really did not matter so I tried to debug "process_dumpline(line);" and trying to find the regexp that was causing it - maybe ... well by than everything was a real mess. So what I have done two days ago: I started fresh meaning reset all tapes, backups, index files, dump states. gnutar-lists - you name it everything. I basically was doing a backup of all machines for the first time using a fresh start. So far it works - but I also went back to a 3.3.X version of amanda for ALL machines (I do not have windows boxen to backup) and I always run the same amanda version on all machines. I am currently upgrading slowly to a higher number amanda ... keeping a snapshot of all amanda dirs so I can go back to the previous working state. Jobst -- "XP: If you are nine years old you are just going to love it. If you're a few years older you'll resent the choking paternalistic atmosphere of vapid gee-whiz kiddie entertainment (babysitting), euphemism and fake-friendly bullying." | |0| | Jobst Schmalenbach, General Manager | | |0| Barrett & Sales Essentials |0|0|0| +61 3 9533 , POBox 277, Caulfield South, 3162, Australia
Re: Problem backing up: "no backup size line"
On Thu, Oct 26, 2017 at 01:16:35PM +0200, Michael M?skens (m...@muessi.nl) wrote: > hi, > > > > But I also do not know how to check this: GNU tar state file > > /var/lib/amanda/gnutar-lists/XYZSOMETHING.new is corrupted. > > did you solve that problem by now? I???m not sure, but deleting the .new-file > in /var/lib/amanda/gnutar-lists/ could help you with that. > Darn. Should have explained better. I have a snapshot system that takes a snapshot every 3 hours including the amanda dirs. So I went back (on all machines that amanda is involved backing up) to restore the amanda stuff to a time I new it works ... then start a backup again ... this still happened. In my spare time I am currently reading the source to learn/research what is going on but it's not the .new file. Jobst -- 186,262 miles/second : Not just a good idea, it's the LAW. | |0| | Jobst Schmalenbach, General Manager | | |0| Barrett & Sales Essentials |0|0|0| +61 3 9533 , POBox 277, Caulfield South, 3162, Australia
Problem backing up: "no backup size line"
Hi I never had problems with amanada, been using it for more than 15 years (i think) Had to delete one machine that had only two purposes: behind DMZ firewall and amanda host. Due to changes of my setup I did not need the firewall anymore so I moved the amanda tape host to another existing machine. Had trouble ever since. Now I get the following error: "no backup size line", in the log it looks like this FAIL dumper 192.168.0.1 /boot 20171024230002 1 [no backup size line] sendbackup: start [192.168.0.1:/boot level 1] sendbackup: info BACKUP=/bin/tar sendbackup: info RECOVER_CMD=/bin/tar -xpGf - ... sendbackup: info end sendbackup: error [no backup size line] PARTIAL chunker 192.168.0.1 /boot 20171024230002 1 [sec 0.174 kb 11 kps 246.4] Looking at this https://wiki.zmanda.com/index.php/Sendbackup_error:_no_backup_size_line I have a few options: /var too small - cannot be, on all machines I have not even reached 50%. gnutar is 2:1.23-15.el6_8 The directory definitely exists ... I would not be able to boot. But I also do not know how to check this: GNU tar state file /var/lib/amanda/gnutar-lists/XYZSOMETHING.new is corrupted. It's getting frustrating now. So anyone have other ideas why I get this error? Jobst -- There are 10 kinds of people in the world, those who understand binary and those who don't. | |0| | Jobst Schmalenbach, General Manager | | |0| Barrett & Sales Essentials |0|0|0| +61 3 9533 , POBox 277, Caulfield South, 3162, Australia
List Contents of gnutar-list files
Hi How can I see the contents of gnutar-list files? I tried tar/gunzip, ckecked amadmin etc but it seems I cannot read the content. Need to know whats in those files to see whether my inclusion/exclusion list is correct and why it takes too much time to backup one particular host. Jobst -- Computers run on smoke, once the smoke gets out they don't work anymore! | |0| | Jobst Schmalenbach, General Manager | | |0| Barrett & Sales Essentials |0|0|0| +61 3 9533 , POBox 277, Caulfield South, 3162, Australia
Re: Dump Summary cuts off hostnames
On Tue, Oct 24, 2017 at 04:38:43PM +1100, Jobst Schmalenbach (jo...@barrett.com.au) wrote: > Hi > I searched for colum ... bugger. Thanks, guys. I have added this to my amanda.conf file. Jobst
Dump Summary cuts off hostnames
Hi The dump summary cuts off hostnames which in my case are ip-addresses. This is OK if the hosts are NOT in the same subnet, but if they are it is not so good as I cannot see which host has the problem I searched the manuals and the net, cant seem to find anything about it. Can this be fixed? DUMP SUMMARY: DUMPER STATS TAPER STATS HOSTNAME DISKL ORIG-MB OUT-MB COMP% MMM:SSKB/s MMM:SSKB/s -- -- -- 192.168.0.1 / 011991199 --0:45 27116.2 1:10 17543.4 192.168.0.1 /boot 0 77 77 --0:01 67607.7 0:15 5263.3 192.168.0.25 / 058765876 --2:59 33616.8 1:30 66858.9 192.168.0.25 /boot 0 92 92 --0:01 81644.1 0:10 9436.0 XXX.YYY.ZZZ. / 027652765 --0:48 58659.9 1:10 40454.7 XXX.YYY.ZZZ. /boot 0 90 90 --0:01 80163.0 0:10 9226.0 XXX.YYY.ZZZ. /FAILED XXX.YYY.ZZZ. /bootFAILED -- | |0| | Jobst Schmalenbach | | |0| JAIG (just an it guy) |0|0|0| +61 3 9533 , POBox 277, Caulfield South, 3162, Australia
Re: Problem backing up the tape host.
On Fri, Oct 20, 2017 at 08:45:11AM -0600, Steven Backus (bac...@whimsy.med.utah.edu) wrote: > Did you put auth "local" in your dumptype? Here's mine: > > define dumptype comp-integ-root-tar { > global > program "GNUTAR" > comment "root partitions with compression" > compress client fast > priority low > auth "local" > } Steve This is not the problem as it worked using the previous incaranation when it was located on another server. However, you put me onto something ... I will report back. thanks Jobst -- If proof denies faith, and uncertainty denies proof, then uncertainty is proof of God's existence. | |0| | Jobst Schmalenbach, General Manager | | |0| Barrett & Sales Essentials |0|0|0| +61 3 9533 , POBox 277, Caulfield South, 3162, Australia
Problem backing up the tape host.
Hi This used to work for years, never had any trouble. Due to a Internet configuration change (from SHDSL -> Fiber) I had to change the backup server as the previous backup server was not required anymore. I know about .amandahosts, hosts.allow, amanda.conf, xinet.d, the different daemons etc. - but I also know it is not working. The host (3 interfaces) is backing up all machines, upstream, downstream and parallel - but it does not backup itself. The command "amcheck --client-verbose DailySet1" reports no problems but the crontab scheduled amdump does not work. The HOSTNAME is bound to the ip address in the disklist file. I really do not know what is wrong. HELP, please! Symptoms: ~ Hostname: THEHOSTNAME Org : DailySet1 Config : DailySet1 Date: October 19, 2017 These dumps were to tape DailySet1-11. The next tape Amanda expects to use is: DailySet1-12. FAILURE DUMP SUMMARY: planner: ERROR Some estimate timeout on 220.233.246.146, using server estimate if possible THEIPADDRESS / lev 0 FAILED [disk /, all estimate timed out] THEIPADDRESS /boot lev 0 FAILED [disk /boot, all estimate timed out] /var/lib/amanda/.amandahosts THEHOSTNAME amanda amindexd amidxtaped amdump INTERNALINTERFACE amanda amindexd amidxtaped amdump localhost amanda amindexd amidxtaped amdump localhost.localdomain amanda amindexd amidxtaped amdump /etc/hosts.allow on the tape host ~ Once I figure out why it is NOT working I reduce the IP list, but first I need to get it to work # amanda: # See: https://wiki.zmanda.com/index.php/Selfcheck_request_failed amandad: ALL : ALLOW amindexd: ALL : ALLOW amidxtape: ALL : ALLOW /var/spool/cron/amanda: ~~~ # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.17026 installed on Wed Mar 9 17:15:21 2005) # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $) PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=amandaadmins # Daily check for correct tape and tell operator! 0 12 * * 1-5 /usr/local/sbin/amcheck -m DailySet1 # Daily Backup Routine in the evening of the day above. 0 23 * * 1-5 /amanda/bin/runbackup_DailySet1 /var/lib/amanda/bin/runbackup_DailySet1: This script just checks that the tape is loaded correctly, rewinds it and then runs /usr/local/sbin/amdump DailySet1. Once finsihed it appends a few things to the tape, for example the TOC. /usr/local/etc/amanda/DailySet1/disklist # NELSON THEIPADDRESS / root-tar THEIPADDRESS /boot standard # gateway,firewall,router PUBLICIP / root-tar PUBLICIP /boot standard # PITS 192.168.0.1 / root-tar 192.168.0.1 /boot standard 192.168.0.1 /usr standard 192.168.0.1 /home homedir 192.168.0.1 /var standard 192.168.0.1 /sambasambadir # ETC # ETC # ETC Running "amcheck --client-verbose DailySet1" Now the tape host has a few interfaces, but the hostname is know as the IPADDRESS in the disklist file. [amanda@piquet ~] $>amcheck --client-verbose DailySet1 Amanda Tape Server Host Check - Holding disk /amanda/holdingdisk/DailySet1: 820900 MB disk space available, using 204800 MB as requested found in slot 1: Tape device /dev/amandatape is not ready or is empty slot 1: Tape device /dev/amandatape is not ready or is empty all slots have been loaded Taper scan algorithm did not find an acceptable volume. (expecting volume 'DailySet1-12' or a new volume) ERROR: No acceptable volumes found Server check took 0.115 seconds Amanda Backup Client Hosts Check HOST THEIPADDRESS OK version 3.3.1 OK distro RPM OK platform CentOS release 6.9 (Final) OK /boot OK /boot OK /boot OK / OK / OK / OK /usr/local/libexec/amanda/runtar executable OK /bin/gtar executable OK //amanda/gnutar-lists/. read/writable OK /dev/null read/writable OK /tmp/amanda has more than 64KB available. OK /tmp/amanda has more than 64KB available. OK /etc has more than 64KB available. ... ... Client check: 4 hosts checked in 2.021 seconds. 0 problems found. (brought to you by Amanda 3.3.1) -- If a pig loses its voice, is it disgruntled?
Re: New webpage is live
On 26/03/2010 13:40, Dustin J. Mitchell wrote: On Thu, Mar 25, 2010 at 8:45 PM, Jobst Schmalenbach jo...@barrett.com.au wrote: I think this is a DNS problem AND apache, further when typing the IP address 216.34.181.97 it yiilds the same webpage (f5.txt). At the moment, though, it looks like their load balancer is broken: 502 Bad Gateway nginx/0.7.63 They have 2 days of announced CVS downtime right now, so I suspect something terrible is going on at SourceForge right now. Let's hope it's not an asset liquidation.. let me see ;-) nothing on /. nothing on strangehorizons nothing on wired nothing on google nothing on twitter something on sourceforge.net Naah ;-) Dustin -- Jobst Schmalenbach General Manager, Webdevelopment and Tech Support P +61 3 9532 7677 M +61 411 611 855 E j...@barrett.com.au W www.barrett.com.au Everybody lives by selling something Sales Training, Consulting, Coaching, Seminars and Resources Barrett Sales Blog Subscribe to receive free weekly advice and tips for people who live by selling something
Re: New webpage is live
I think this is a DNS problem AND apache, further when typing the IP address 216.34.181.97 it yiilds the same webpage (f5.txt). jobst On Thu, Mar 18, 2010 at 01:59:17PM -0500, Dustin J. Mitchell (dus...@zmanda.com) wrote: On Thu, Mar 18, 2010 at 1:18 PM, Uwe Menges uwe.men...@web.de wrote: http://amanda.org/ just gives me a dir listing with an f5.txt. http://www.amanda.org is the normal website. Maybe adjust the apache config so http://amanda.org works also. Thanks, Uwe! Todd? Can you take a look? Thanks! Dustin -- Open Source Storage Engineer http://www.zmanda.com -- A loving atmosphere in your home is the foundation for your life. | |0| | Jobst Schmalenbach, jo...@barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
Re: Amanda-friendly distro?
Hi I have never done this before so I am taking a guessing game. Wouldn't it be a good idea to approach the higher ranking (online) magazines, e.g. http://www.linux-magazine.com/ http://www.wired.com/ http://www.zdnet.com/ http://www.linux.org/news/index.html http://www.strangehorizons.com others (hint hint hint) and then deliver to them an email/link/pdf that contains text and pictures so they can put up some nice fancy report about the latest (and greates) Amanda into their magazines? Further how about sending some email to the major distro providers, explaining what the new Amanda can do (compared to the old). I am not sure how they go about (and alert them) producing RPMS/DEPS/packages or whether a program provider delivers packages that are then put into a distro, no idea. I am not sure whether the program maintainer provides the RPMS/DEP/etc, anyone knows I have been using Amanda for probably 10 years or so and always compiled it (currently using 2.6.0p2) and never thought of marketing Amanda ;-) as I know how good it is I have contributed the odd stuff, but maybe its time I do some big ... and I just re-wrote "amtoc" and created an "amtoc appender to current tape", havent put that up yet (and again dont know how to). Jobst On 10/03/2010 15:40, Dustin J. Mitchell wrote: On Tue, Mar 9, 2010 at 10:06 PM, Gene Heskett gene.hesk...@verizon.net wrote: Well, TBT Dustin, other than the rather terse ChangeLog, no one seems to be using much ink bragging about the newest bells and whistles. Some timely article submissions to the review sites might let them know that the old girl hasn't turned grey or started to have hot flashes. That's a good point! A few folks have been working on that sort of thing, notably Chris Hoogendyk, but we could certainly use more publicity. As the next release starts coming out (we should have a beta ready next week, when Jean-Louis is back in town), I'll try to make some noise. Any suggestions as to *where* I should do that would be appreciated -- what "review sites" do you think would be useful? Dustin -- Jobst Schmalenbach General Manager, Webdevelopment and Tech Support P +61 3 9532 7677 M +61 411 611 855 E j...@barrett.com.au W www.barrett.com.au Everybody lives by selling something Sales Training, Consulting, Coaching, Seminars and Resources Barrett Sales Blog Subscribe to receive free weekly advice and tips for people who live by selling something
Re: exclude list not working on clients.
Hi. all of the machines in question are an upgrade to CentOS 5.4 and it seems there was an error in updating the packages and hence confusing PATH etc. When I checked via amadmin version it reported a different version as from yum list installed | grep ama. So I went back to my usual way of handling these type of packages and compiled it myself and all clients and server run the same amanda now 2.6.0p2. The reason why I used that I had a local tar, and I knew this would work (as it did before). With this I wanted to make sure that every possible error is gone and all packages match and pathnames are correct. However a couple of things I like to mention: The problem I described below is gone and it seemed that upon saving and exit a c character sneaked into the pathname of the exclude file which is really hard to see. What surprises me that such an error that is fairly severe is not reported in the email that is send to the admin after a finished backup. Other errors are reported, e.g. missing tape etc or when a file has vanished during backup (e.g. temporary files like firefox' parent.lock). But there was no mention that the exclude file was not found ... Is this intended?? Jobst On Fri, Feb 26, 2010 at 09:32:06PM -0500, Jean-Louis Martineau (martin...@zmanda.com) wrote: They are on the client machine. Jean-Louis Jobst Schmalenbach wrote: Thanks for replying, Jean-Louis. I have trouble finding them for the host AND partitions in question. I can only find the sendbackup.*.debug files for the tape host itself but not the client machines (none of them). They should be in /tmp/amanda but they are not (except on the tape host itslef). Bugger. Need to do some research. Jobst -Original Message- From: Jean-Louis Martineau martin...@zmanda.com To: Jobst Schmalenbach jo...@barrett.com.au Cc: amanda-users@amanda.org Subject: Re: exclude list not working on clients. Date: Fri, 26 Feb 2010 10:03:21 -0500 Jobst, What you do looks good, post the sendbackup.*.debug file. Jean-Louis Jobst Schmalenbach wrote: Hi. I have one client host that refuses to listen to the exclude list option in the dumptype. I know it works, for example I backup a 120GB /amanda directory/parition on the tape host that contains the directory holdingdisk, that is excluded in the dumptype: define dumptype amandadir { global exclude list /usr/local/etc/amanda/DailySet1/amanda_exclude.gtar program GNUTAR } and that file contains one line and one line only: [r...@tapehost /usr/local/etc/amanda/DailySet1] #cat amanda_exclude.gtar ./holdingdisk and that [thankfully ;-) ] is not backed up. So here is what I have (well the important stuff) with regards to the config I have some problems with: On the amanda tape server in amanda.conf: define dumptype sambadir { global exclude list /usr/local/etc/amanda/DailySet1/samba_exclude.gtar program GNUTAR } On the amanda tape server in disklist (amongst other partitions and hosts): ... 192.168.X.Y /var standard 192.168.X.Y /src standard 192.168.X.Y /samba sambadir ... on the client 192.168.X.Y I have a file that is refered to above that contains [r...@192.168.x.y /] #cat /usr/local/etc/amanda/DailySet1/samba_exclude.gtar ./Shares/Backup ./Shares/score_testing ./Shares/SharedBinariesWinNT ./Shares/SharedBinariesWin2000 Those directories are full of stuff that does not need to be backed up, but when I look in the gnutar-list directory of that client: [r...@192.168.x.y /var/lib/amanda/gnutar-lists] #grep ./Shares\/Backup 192.168.X.Y_samba_1 2067 12304757 ./Shares/Backup/Software/DevStudio_SourceCode/VC/SAMPLES/SDK/OLE/INOLE2/CHAP07/PATRON 2067 11026541 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/custom/layout/modules 2067 278714 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa5.4.1/expl/productupdates/shared 2067 246195 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa/locale/ja 2067 10896037 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/cache/upload/upgrades/temp/k9D2wD/SugarPro-Upgrade-4.0.1-to-4.5.0d/include/ytree/TreeView/css 2067 10354877 ./Shares/Backup/ServerBackup/Documents/2000_11_31/Assessment Services/SPQ 2067 12370086 ./Shares/Backup/WebsServers/VPS_april2006/localicons_b4_update/Activate2/small 2067 12763398 ./Shares/Backup/WebsServers/Moja_aug2008/home/httpd/www.activate.com.au/dynamic/HVP_TP/pdf/ask 2067 11043546 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/modules/Studio/wizards 2067 11405291 ./Shares/Backup/Software/DevStudio_SourceCode/MyProjects/Colin Herbert 2067 10322192 ./Shares/Backup/ServerBackup/Documents/1998_12_31/Z_SystemAdministration/motherboards 2067 82041 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa.org.02_04_08/bin/etc 2067
exclude list not working on clients.
Hi. I have one client host that refuses to listen to the exclude list option in the dumptype. I know it works, for example I backup a 120GB /amanda directory/parition on the tape host that contains the directory holdingdisk, that is excluded in the dumptype: define dumptype amandadir { global exclude list /usr/local/etc/amanda/DailySet1/amanda_exclude.gtar program GNUTAR } and that file contains one line and one line only: [r...@tapehost /usr/local/etc/amanda/DailySet1] #cat amanda_exclude.gtar ./holdingdisk and that [thankfully ;-) ] is not backed up. So here is what I have (well the important stuff) with regards to the config I have some problems with: On the amanda tape server in amanda.conf: define dumptype sambadir { global exclude list /usr/local/etc/amanda/DailySet1/samba_exclude.gtar program GNUTAR } On the amanda tape server in disklist (amongst other partitions and hosts): ... 192.168.X.Y /var standard 192.168.X.Y /src standard 192.168.X.Y /samba sambadir ... on the client 192.168.X.Y I have a file that is refered to above that contains [r...@192.168.x.y /] #cat /usr/local/etc/amanda/DailySet1/samba_exclude.gtar ./Shares/Backup ./Shares/score_testing ./Shares/SharedBinariesWinNT ./Shares/SharedBinariesWin2000 Those directories are full of stuff that does not need to be backed up, but when I look in the gnutar-list directory of that client: [r...@192.168.x.y /var/lib/amanda/gnutar-lists] #grep ./Shares\/Backup 192.168.X.Y_samba_1 2067 12304757 ./Shares/Backup/Software/DevStudio_SourceCode/VC/SAMPLES/SDK/OLE/INOLE2/CHAP07/PATRON 2067 11026541 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/custom/layout/modules 2067 278714 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa5.4.1/expl/productupdates/shared 2067 246195 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa/locale/ja 2067 10896037 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/cache/upload/upgrades/temp/k9D2wD/SugarPro-Upgrade-4.0.1-to-4.5.0d/include/ytree/TreeView/css 2067 10354877 ./Shares/Backup/ServerBackup/Documents/2000_11_31/Assessment Services/SPQ 2067 12370086 ./Shares/Backup/WebsServers/VPS_april2006/localicons_b4_update/Activate2/small 2067 12763398 ./Shares/Backup/WebsServers/Moja_aug2008/home/httpd/www.activate.com.au/dynamic/HVP_TP/pdf/ask 2067 11043546 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/modules/Studio/wizards 2067 11405291 ./Shares/Backup/Software/DevStudio_SourceCode/MyProjects/Colin Herbert 2067 10322192 ./Shares/Backup/ServerBackup/Documents/1998_12_31/Z_SystemAdministration/motherboards 2067 82041 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa.org.02_04_08/bin/etc 2067 10797122 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/cache/upload/upgrades/patch/SugarPro-Patch-3.5.1b-restore/include 2067 10715411 ./Shares/Backup/ServerBackup/Documents/2007_and_earlier/Consulting/Proposals/2002/Tender Submissions/NESA Aug02 So I am not sure why it does not work, basically it is 50GB of crap I do not need and is only required for historical purposes. What am I doing wrong? Jobst -- Today is the first day of the rest of the mess. | |0| | Jobst Schmalenbach, jo...@barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
Re: exclude list not working on clients.
Thanks for replying, Jean-Louis. I have trouble finding them for the host AND partitions in question. I can only find the sendbackup.*.debug files for the tape host itself but not the client machines (none of them). They should be in /tmp/amanda but they are not (except on the tape host itslef). Bugger. Need to do some research. Jobst -Original Message- From: Jean-Louis Martineau martin...@zmanda.com To: Jobst Schmalenbach jo...@barrett.com.au Cc: amanda-users@amanda.org Subject: Re: exclude list not working on clients. Date: Fri, 26 Feb 2010 10:03:21 -0500 Jobst, What you do looks good, post the sendbackup.*.debug file. Jean-Louis Jobst Schmalenbach wrote: Hi. I have one client host that refuses to listen to the exclude list option in the dumptype. I know it works, for example I backup a 120GB /amanda directory/parition on the tape host that contains the directory holdingdisk, that is excluded in the dumptype: define dumptype amandadir { global exclude list /usr/local/etc/amanda/DailySet1/amanda_exclude.gtar program GNUTAR } and that file contains one line and one line only: [r...@tapehost /usr/local/etc/amanda/DailySet1] #cat amanda_exclude.gtar ./holdingdisk and that [thankfully ;-) ] is not backed up. So here is what I have (well the important stuff) with regards to the config I have some problems with: On the amanda tape server in amanda.conf: define dumptype sambadir { global exclude list /usr/local/etc/amanda/DailySet1/samba_exclude.gtar program GNUTAR } On the amanda tape server in disklist (amongst other partitions and hosts): ... 192.168.X.Y /var standard 192.168.X.Y /src standard 192.168.X.Y /samba sambadir ... on the client 192.168.X.Y I have a file that is refered to above that contains [r...@192.168.x.y /] #cat /usr/local/etc/amanda/DailySet1/samba_exclude.gtar ./Shares/Backup ./Shares/score_testing ./Shares/SharedBinariesWinNT ./Shares/SharedBinariesWin2000 Those directories are full of stuff that does not need to be backed up, but when I look in the gnutar-list directory of that client: [r...@192.168.x.y /var/lib/amanda/gnutar-lists] #grep ./Shares\/Backup 192.168.X.Y_samba_1 2067 12304757 ./Shares/Backup/Software/DevStudio_SourceCode/VC/SAMPLES/SDK/OLE/INOLE2/CHAP07/PATRON 2067 11026541 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/custom/layout/modules 2067 278714 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa5.4.1/expl/productupdates/shared 2067 246195 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa/locale/ja 2067 10896037 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/cache/upload/upgrades/temp/k9D2wD/SugarPro-Upgrade-4.0.1-to-4.5.0d/include/ytree/TreeView/css 2067 10354877 ./Shares/Backup/ServerBackup/Documents/2000_11_31/Assessment Services/SPQ 2067 12370086 ./Shares/Backup/WebsServers/VPS_april2006/localicons_b4_update/Activate2/small 2067 12763398 ./Shares/Backup/WebsServers/Moja_aug2008/home/httpd/www.activate.com.au/dynamic/HVP_TP/pdf/ask 2067 11043546 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/modules/Studio/wizards 2067 11405291 ./Shares/Backup/Software/DevStudio_SourceCode/MyProjects/Colin Herbert 2067 10322192 ./Shares/Backup/ServerBackup/Documents/1998_12_31/Z_SystemAdministration/motherboards 2067 82041 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa.org.02_04_08/bin/etc 2067 10797122 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/cache/upload/upgrades/patch/SugarPro-Patch-3.5.1b-restore/include 2067 10715411 ./Shares/Backup/ServerBackup/Documents/2007_and_earlier/Consulting/Proposals/2002/Tender Submissions/NESA Aug02 So I am not sure why it does not work, basically it is 50GB of crap I do not need and is only required for historical purposes. What am I doing wrong? Jobst
Re: Problem after years of backing up successful: data timeout
All, I am replying to my own email cause I fixed it ... however, I am not sure whether this is a bug! I tried a lot of things to find the problem ... until I did a mount to display the mounted devices. I just wanted to see whether a USB HD (which I use for the ODD backup of the system and this thing is BIG) is mounted. I saw that a WINDOWS workstation which I had mounted (to check the size of a partition and the used filespace) was still mounted ... (the amanda host is a samba host too). Further I saw lots of thesew messages in the logs ... smb_add_request: request [3d6a9e00, mid=1646] timed out ... I umounted the windows workstation partition and everything is fine now ... What I find strange: * If I have a drive mounted from a UNIX box and the the Unix workstation is now turned off it doesnt matter, this does NOT affect amanda. * The windows workstation in question is NOT part of the disklist (I do not backup any windows boxen) and I do not have any windows based servers. * all machines backed up by Amanda are UNIX based. So how can a windows workstation that has one of its partition mounted and is now turned of affect Amanda although the workstation is not part of the daily backup routine jobst On Wed, Dec 13, 2006 at 11:48:19AM +1100, Jobst Schmalenbach ([EMAIL PROTECTED]) wrote: Hi. All over sudden I get a data timeout, e.g.: ... ... adminserver /var lev 0 FAILED [data timeout] adminserver /home lev 3 FAILED [data timeout] ... ... I havent changed a thing on the machines involved for a while (I work on the basic principle if aint broken, dont fix) Now I have searched the net and found a few pointers, but all those I found do not help: * I do not use compression (I use hardware compression) * its NOT backing up another host, its the LOCAL machine backing up itself, and I have never had any problems with this * the dtimeout already is 1800 * since the last reboot of the machine I have done lots of successfull backups. * I havent installed anything new for a while on that machine. * I havent hanged anything (xinet, hosts.allow, .amandahost, directories, amanda, whatever). Looking at the sendbackup..debug I can see the following message: ... index tee cannot write [Broken pipe] ... The index file for the latest ones are missing, that is correct. I checked all the permissions on the amanda based directories, and they look fine to me. What can be the cause for the errors popping up? jobst -- Learn the rules so you know how to break them properly. -F1 | |0| | Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director | | |0| Barrett Consulting Group P/L The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia -- My Carpenter has a 1956 VW Beetle. He still can go to any place in Australia, use any Oil, spark plugs, pertol, tires, wiper blades, etc available today with a car that old. If only software would be like that. | |0| | Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director | | |0| Barrett Consulting Group P/L The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
Problem after years of backing up successful: data timeout
Hi. All over sudden I get a data timeout, e.g.: ... ... adminserver /var lev 0 FAILED [data timeout] adminserver /home lev 3 FAILED [data timeout] ... ... I havent changed a thing on the machines involved for a while (I work on the basic principle if aint broken, dont fix) Now I have searched the net and found a few pointers, but all those I found do not help: * I do not use compression (I use hardware compression) * its NOT backing up another host, its the LOCAL machine backing up itself, and I have never had any problems with this * the dtimeout already is 1800 * since the last reboot of the machine I have done lots of successfull backups. * I havent installed anything new for a while on that machine. * I havent hanged anything (xinet, hosts.allow, .amandahost, directories, amanda, whatever). Looking at the sendbackup..debug I can see the following message: ... index tee cannot write [Broken pipe] ... The index file for the latest ones are missing, that is correct. I checked all the permissions on the amanda based directories, and they look fine to me. What can be the cause for the errors popping up? jobst -- Learn the rules so you know how to break them properly. -F1 | |0| | Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director | | |0| Barrett Consulting Group P/L The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
Weird dumpsize problem (symlinks??)
all, I have got a weird problem and cant figure out whats wrong. I get an error during a dump: FAILURE AND STRANGE DUMP SUMMARY: lalalalala /samba lev 1 FAILED [dump larger than tape, 10101550 KB, skipping incremental] so that means its 10.1GB, correct? (The tape is only 4/8gb, but thats not the questions here). Yet when I do a du -s . inside that /samba directory: [EMAIL PROTECTED] /samba] #du -s . 5.3G. Thats HALF of what amanda is trying to backup! I have no idea where the 5GB comes from amanda is trying to dump. Does Amanda follow symlinks? I thought it does not! I have two symlinks in there, which COULD encount for the incorrect sizes: [EMAIL PROTECTED] /samba] #find -lname * -exec ls -la {} \; lrwxrwxrwx 1 root root 6 Oct 8 17:20 ./Shares/SysAdmins/home - /home/ lrwxrwxrwx 1 root root 16 Oct 8 17:20 ./Shares/SysAdmins/Profiles - /samba/Profiles/ I use these (if I am on a windows box and logged in as SysAdmin) to fiddle with users profiles or with users home directories. -- Computers run on smoke, once the smoke gets out they don't work anymore! __, Jobst Schmalenbach, Technical Director _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L -(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
A few questions including dump larger than tape
. __, Jobst Schmalenbach, Technical Director _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L -(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
Re: RedHat 7.2 Client timing out?
On Thu, Feb 05, 2004 at 06:20:55AM -0500, Joshua Baker-LePain ([EMAIL PROTECTED]) wrote: On Thu, 5 Feb 2004 at 2:20am, Michael Kahle wrote [snip] Well, 7.2 is pretty darn old. But you should be able to get this to work.B pretty darn old? If it ain't broke, don't fix it. I have got 4 of those pretty darn old servers around, and I am not touching them (other than the occasional bind/sendmail/apache/whatever fix (now non rpm based)). j -- The email address in this email is used for Mailing Lists Only. Please reply ONLY to the list email address, do not reply to the email directly. Goldwaithe's lemma of Murphy's third law: The line in which you are waiting is always the slowest. If you move, the line you move to stops. If you move back, both lines stop, and everyone is angry with you. __, Jobst Schmalenbach, Technical Director _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L -(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
disklist with host that are turned off over the weekend
all, I have machines that are turned off over the weekend (friday late afternoon) but are mentioned in the disklist. Is this OK to do? I have tried to search for this but I couldnt find anything (well, that depends on the search terms) jobst -- The email address in this email is used for Mailing Lists Only. Please reply ONLY to the list email address, do not reply to the email directly. When the going gets weird, the weird turn pro. __, Jobst Schmalenbach, Technical Director _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L -(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
Re: Compression question
On Sun, Jan 25, 2004 at 02:40:24AM -0500, Jon LaBadie ([EMAIL PROTECTED]) wrote: On Sun, Jan 25, 2004 at 04:35:17PM +1100, Jobst Schmalenbach wrote: Folks, I am not clear about compression within amanda. [snip] I say guess because I just looked at my recent numbers, some DLE's only compressed a couple of percent. Others compressed to just 1/5th of their original size. What will be the compressibility of the data on any particular nights run will vary greatly with which DLE's are dumped at level 0. the problem is that this is a new drive, so I havent go any numbers jl BTW your reasons are all valid for considering HW compression. I think more amanda sites use HW compression than most of us realize. Just be aware that there is no way for amanda, or any other software, to know how much data will fit on a tape using HW compresssion. Nor, to my knowledge, to know how much tape is used/available after a tape file has been written. I just had a problem getting data of a tape which was software compressed (amanda tape). I think I decided the last time to use software compression for just those reasons ... and turned hardware compression of. The only problem (and I guess you could call it a trade off) is that gzip throws an error at you if the tape was faulty and you cannot recover from that. Maybe currently I am bitten, so twice shy ;-) I learned something more. In the manual for dd it is mentioned if dd should continue after a read erro to specify noerror. This is NOT enough and it took me a while (an a lot of webpages and couple of days later) that you MUST specify notrunc as well or gzip will throw so many errors at you that you think the file/archive is completly stuffed. I got away this time, so I am going to change a few things in my backup setup ... jobst -- The email address in this email is used for Mailing Lists Only. Please reply ONLY to the list email address, do not reply to the email directly. Passwords are like underwear. You don't share them, you don't hang them on your monitor, or under your keyboard, you don't email them, or put them on a web site, and you must change them very often. __, Jobst Schmalenbach, Technical Director _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L -(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
Compression question
Folks, I am not clear about compression within amanda. I bought a new tape drive (Certance CD72) and read the instructions for amtapetype. Now amtapetype suggests to turn off hardware compression, *THAT* I do understand (growing binary). Now I want to use *hardware* compression. The advantages are: * faster * crc errors only fail the current block only not the entire archive. If I turn hardware compression ON how does AMANDA know (well at least the planner) how much tape is available if the amount is specified for NOT COMPRESSED? My tape defintion: define tapetype CERTANCE_CD72 { comment Internal CERTANCE CD72 produced by tapetype prog (hardware compression off) length 35633 mbytes filemark 0 kbytes speed 3612 kps } This is (at least for me) not clear reading the docs within the amanda tree jobst -- The email address in this email is used for Mailing Lists Only. Please reply ONLY to the list email address, do not reply to the email directly. Though the pen IS mightier than the sword, the sword is mightier at any given moment. __, Jobst Schmalenbach, Technical Director _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L -(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
Re: Extracting amanda tapes without amanda ...
On Fri, Jan 23, 2004 at 09:58:34AM -0500, Eric Sproul ([EMAIL PROTECTED]) wrote: On Fri, 2004-01-23 at 00:10, Jobst Schmalenbach wrote: all, When you want to extract tapes from a tape WITHOUT using amanda how do you know which file a particular archive is located? Wouldnt it be a good idea to have a table of content located in the second BLOCk? Jobst, My approach to this is to run amtoc after each backup run and copy the resulting TOC file to at least one other machine, if not more. This ensures that even if I completely lose my indexes and logs, I will still know what is on each tape and where. Knowing the tape file number of the DLE I want to recover enables me to precisely position the tape with mt, then dd the file off the tape and begin the restore. Its not a bad idea to store the indeces somewhere else, I think I will just do that (ie store them on the clients I am backing up). Check out the manpage on amtoc-- it's pretty simple to use. I made a small shell script that runs from the AMANDA user's cron. This script runs amdump, then amtoc, then scp's the amtoc file to a remote server. I know about that program, thanks. I try next week to write a little shell script which takes the *first* 32 block, dumps it to a file, reads is, and starts writing on the first zero, appends the TOC (as in tar location/filemarks/date) making sure not writing past the 32K and dumps it back to to the tape. I think using a mt -f /dev/tape rewind or mt -f /dev/tape asf 0 should me put me onto the beginning of the header block. Then I will check whether AMANDA still recognises this tape as an AMANDA tape ... IFF it does that, I will post the script. To compare what I can handle with 30K I just looked at my php.ini file, its 25K, making it ~11 pages on a 50 row XTERM, that SHOULD do the trick to write just the filemarks, archive directories and date. For extra redundancy, you can also print the latest run's TOC to hardcopy (like Paul says he does using amreport and a Postscript template). I try not to mess with the tape after AMANDA gets hold of it. She knows best. ;) Cheers, Eric -- The email address in this email is used for Mailing Lists Only. Please reply ONLY to the list email address, do not reply to the email directly. Never share a foxhole with anyone braver than yourself. __, Jobst Schmalenbach, Technical Director _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L -(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
Re: Extracting amanda tapes without amanda ...
On Fri, Jan 23, 2004 at 06:18:30AM -0500, Gene Heskett ([EMAIL PROTECTED]) wrote: On Friday 23 January 2004 03:38, Paul Bijnens wrote: Jobst Schmalenbach wrote: When you want to extract tapes from a tape WITHOUT using amanda how do you know which file a particular archive is located? [snip] Some people (like Gene) write the necessary index and tools as the last file on tape. Amanda leaves the tape positioned at the end, just for just purposes. Thats not a bad idea Yes, but be aware that this requires a reduction of the stated capacity of the tape by enough to leave room in most cases. In my [sniip] That is not sufficient room by my method, and depends on the drive I ONLY wanted to write the FILEMARKS, archive directories and date NOT the indeces. jobst -- The email address in this email is used for Mailing Lists Only. Please reply ONLY to the list email address, do not reply to the email directly. Why is the man who invests all your money called a broker? __, Jobst Schmalenbach, Technical Director _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L -(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
Re: here we go again on excludes
On Fri, Jan 23, 2004 at 05:40:16PM -0500, Gene Heskett ([EMAIL PROTECTED]) wrote: Greetings; I just setup an exclude file to skip that 2.2 gig subdir of /amanda, the one with all the daily copies of the archived indices etc in it. But now the other client is complaining it cannot find the exclude file! Why dont you make TWO (or more) different dumptypes (i do this) for the clients and the host? That makes the disklist a little more readable too ... jobst -- The email address in this email is used for Mailing Lists Only. Please reply ONLY to the list email address, do not reply to the email directly. Do Lipton Tea employees take coffee breaks? __, Jobst Schmalenbach, Technical Director _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L -(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
Extracting amanda tapes without amanda ...
all, When you want to extract tapes from a tape WITHOUT using amanda how do you know which file a particular archive is located? Wouldnt it be a good idea to have a table of content located in the second BLOCk? Ie: when amanda starts writing it writes a zero filled 32k block to the second file and when its finshed doing all the work put a file in there containing archive_name1 directory1 FILEMARK1 archive_name2 directory2 FILEMARK2 archive_name3 directory3 FILEMARK3 This way you would only need to look up the block and could blindly restore JUST by looking at the content of the seocnd block. Or is there already a way existing and I didnt know about it? jobst -- The email address in this email is used for Mailing Lists Only. Please reply ONLY to the list email address, do not reply to the email directly, it ends up in /dev/null. File not found! Do you want me to fake it? __, Jobst Schmalenbach, Technical Director _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L -(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
Really weird Error.
All, I have a weird(!) problem: The message during amcheck was: NAT: amandad busy I checked the archives and found a reasonable number of answers: * some people said to make sure that not two cron jobs at the same time trying to access the tape. (now I have not set this up yet, I still start it by hand ...) * I checked with 'ps' whether there was a damon already running (no there wasnt) * The disklist might contain ONE host refered to by different names, (No, the host is known ONLY by one name and this setup has been working fine!). So I looked thrugh the full listing of ps -edf | sort -n and saw that user amanda was running the program: /usr/local/libexe/selfcheck Now I tried (as root) to throw everything I could at that process to kill it, I even RESTARTED xinetd with NO amanda options, killed every shell, killed X (not that this matters as PPID of selfcheck is 1, so init). All I had running was ONE shell and my normal deamons (httpd,sendmail,squid etc). Tried it as amanda. Nothing. Zilch. What does it do? Sadly, I used my last option; my uptime is rather small now and it was pretty big :-(((. Amanda works fine now again, but I dont like the reboot option! [1] I just did a combo of amlabel, amcheck and an amdump and its fine and whats left over is the shell I su'ed into: [218] [piquet:root] / #ROOT# ps -edf | sort -nr | /bin/grep -i aman | grep -v /bin/grep root 1496 1461 0 12:30 pts/700:00:00 su amanda amanda1499 1496 0 12:30 pts/700:00:00 -csh [219] [piquet:root] / #ROOT# jobst [1] A little bit of trivia: A downloaded a fix for rdisk for WinNT. This fix was an executable which did not have any libararies but got rid if a scary security flaw. I installed this on a server but double clicking on the hotfix. It rebooted the server, the main domain/file server without warning! This was a Microsoft HOTFIX! No wonder I dont like them. -- Sometimes, the sharpest sword is not enough, but usually...it is. |__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director| | _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L | |-(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia|
Re: backing up mounted filesystems
On Tue, Jun 26, 2001 at 11:30:13AM -0500, John R. Jackson ([EMAIL PROTECTED]) wrote: Is amanda capable of backing up mounted filessystems? [snip] And the answer will be yes, but with caveats. Any backup program is going to have issues with data changing out from under it. GNU tar is probably best at it because it goes through the same OS calls that normal applications do. I just learned (the hard way) what one of the caveats is (and I *SHOULD* have known, its so bloody obvious). If you mount -v -t nfs THE_TOBE_MOUNTED_IP:/backup /SOMEMOUNTPOINT/backup then you must place in the file disklist BACKUPSERVERIP /SOMEMOUNTPOINT/backup root-tar it will NOT work using BACKUPSERVERIP /SOMEMOUNTPOINT root-tar Note, this is not a limitation, its just the way mount works. jobst -- Do Lipton Tea employees take coffee breaks? |__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director| | _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L | |-(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia|
Re: New Admin, New Amanda User
On Thu, Jun 21, 2001 at 01:35:58PM -0400, John Holstein, IS ([EMAIL PROTECTED]) wrote: Hello, I am a relatively new linux admin placed in a position to create new backups and backup procedures. We have decided to use Amanda as our backup [snip] The documentation is very good at explaining what Amanda CAN do, but not HOW TO do it. Something all unix beginners are aware of, advanced nix admin's aren't the best in the world at documenting their work. *I* can asure you (just done it) that the reading of the following will work, start in this order: * http://amanda.sourceforge.net/ * http://www.backupcentral.com/amanda.html * http://amanda.sourceforge.net/fom-serve/cache/1.html jobst -- The computer is your friend. It never argues until Gates squeezed Chilly through the CDROM door! |__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director| | _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L | |-(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia|
Cannot backup nfs volume
All, I am having a little problem here backing up a nfs volume. This machine attached on the network (192.168.1.0) and its basically a firewall. It has absolutly nothing on it (barest minimum) and I do not want to install amanda client on it (if possible). I have another reason, as the OS on that firewall is oldish I want to upgrade it: wipe it and install fresh. I dont want to go to install amanda again. There is no iptable restriction between those two machines. The network load (cause of the small size) is small, so no reasons really to make it complicated on that client and use amanda clients. So I nfs-mounted it to back it up. The exports are done no-root-squash and the complete machine is mounted like this (for each root based dir). mount -v -t nfs 192.168.1.2:/bin /peterson/bin and so on mount -v -t nfs 192.168.1.2:/var /peterson/var The base dir is: drwxrwx--- 13 amanda disk 4096 Jun 21 19:00 peterson When I do: [107] [piquet:root] ~ #ROOT# su - amanda [amanda@piquet amanda]$ cd /peterson/etc [amanda@piquet etc]$ ls adjtime crontabgroup and so on . I can see all dirs, but there is nothing on the tape: STATISTICS: Total Full Daily Estimate Time (hrs:min)0:00 Run Time (hrs:min) 0:00 Dump Time (hrs:min)0:00 0:00 0:00 Output Size (meg) 0.00.00.0 Original Size (meg) 0.00.00.0 Avg Compressed Size (%) 160.0 160.0-- Filesystems Dumped1 1 0 Avg Dump Rate (k/s) 329.9 329.9-- Tape Time (hrs:min)0:00 0:00 0:00 Tape Size (meg) 0.10.10.0 Tape Used (%) 0.00.00.0 Filesystems Taped 1 1 0 Avg Tp Write Rate (k/s)15.2 15.2-- NOTES: planner: Adding new disk 192.168.1.1:/peterson. taper: tape FullBackupPiquet-04 kb 64 fm 1 [OK] DUMP SUMMARY: DUMPER STATSTAPER STATS HOSTNAME DISKL ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s -- - 192.168.1.1 /peterson 0 20 32 160.0 0:00 327.7 0:04 15.2 How come? jobst PS: In case somebody wonders what piquet and peterson stand for, yes its correct. All my machines are named after good F1 drivers. -- Who is general Failure and what is he doing on my disk? |__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director| | _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L | |-(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia|
Location of files
all, I found that all the files required by amanda are all over the place. Yet if I see other programs, eg listar, all files are based in one directory, the home directory of the user, that inlcudes in case of listar all mailing list data and configuration directories. Wouldnt it be a good idea to make amanda default to place everything in /home/amanda or at least $HOME? This way you would have ALL files at one position only . Even if people use bin they only have to edit /etc/passwd and point bins homedir somewhere (/home/bin) else. jobst running for cover, using amnada two days and making suggestions . jobst -- * help! I've fallen over and I can't SIGHUP! |__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director| | _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L | |-(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia|
Re: Looking for a little help
On Fri, Jun 22, 2001 at 12:22:01AM -0600, Kevin C Jones ([EMAIL PROTECTED]) wrote: thank you .. this worked... now I am getting another error when I try to label the tape. there you go and I am only using it for two days pat pat pat ;-)). How would I test to see if amanda is working? Label gives the error: Error rewinding, are you sure /dev/st0 is set to rewind? You got to use a NON-REWINDING tape which is on Linux AND usable by amanda: /dev/nst0 and chown it to chown amanda.disk /dev/nst0 Then you could, for example, make a link to it: ln -s /dev/nst0 amandatape and use it from su - amanda mt /dev/amandatape status or /usr/local/sbin/amcheck WHATEVERYOURCONFIGIS and let you amanda.conf point to it: # the no-rewind tape device to be used tapedev /dev/amandatape HTH jobst -- #include signature.h |__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director| | _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L | |-(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia|
Re: Location of files
On Fri, Jun 22, 2001 at 03:04:40PM +0700, Olivier Nicole ([EMAIL PROTECTED]) wrote: I found that all the files required by amanda are all over the place. Wouldnt it be a good idea to make amanda default to place everything in /home/amanda or at least $HOME? This way you would have ALL files at one position only . I second this motion :) :- /usr/local/amanda/etc/dump-name /usr/local/amanda/bin /usr/local/amand/libexec Well I was more after: /home/amanda/configs #or whatever - the backup configs /home/amanda/logs /home/amanda/gnutar-lists /home/amanda/index # indexes /home/amanda/curinfo # all that info /home/amanda/tapelists # nothing wrong with those, you could even place 'em in /usr/sbin /usr/local/sbin /usr/local/libexec jobst -- Why is the man who invests all your money called a broker? |__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director| | _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L | |-(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia|
Re: Cannot backup nfs volume
On Fri, Jun 22, 2001 at 03:02:40PM +0700, Olivier Nicole ([EMAIL PROTECTED]) wrote: and I do not want to install amanda client on it (if possible). I have another reason, as the OS on that firewall is oldish I want to upgrade it: wipe it and install fresh. I dont want to go to install Wow, a machine being a firewall and activated as a NFS server, this is a bad idea, security wise. Its actually not. 192.168.X.X is not routed through the internet so it will be very hard to jump on it, especially if you mount it only during the times if backup. Furthermore there is another firewall in front of it (read Zwicky's book) which blocks ANY access etc What does amcheck say regarding that? nuthin. And of course if you wanna back-up /perterson, it will back-up all files native to /perterson, BUT NOT the things that are mounted into it. So basically you will get /peterson, /peterson/etc, /peterson/bin, ... but no file from /peterson/etc, no file from /peterson/bin, ... As soon as I hit send I figured it . You need to include in the diskfile: IP /peterson/backup root-tar IP /peterson/binroot-tar etc . and it will work Now if you plan to use dump, this is completely hopeless as dump works by disk block and knows nothing about the file system. Now what the kind of logic behind that ;- jobst -- Don't rejoice in his defeat, You men. For though the world stood up and stopped the Bastard, the Bitch that bore him is in heat again. - Bertold Brecht. |__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director| | _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L | |-(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia|
Re: New user, a few questions to get it going
On Wed, Jun 20, 2001 at 02:58:00PM -0500, John R. Jackson ([EMAIL PROTECTED]) wrote: I am new to amanda ... [snip] As Joshua Baker-LePain wrote, it looks like most of your problems are related to not putting bin in group disk. Thats it! [snip] The write test is destructive, i.e. whatever backup images were on the tape will no longer be accessible. Most people like to play it safe and not lose them just in case. If you really want to enable the test to make sure the tape is writable, add the -w flag to amcheck. understood. ... In disklist to get this running (finetuning later) I have: localhost / root-tar Please don't use localhost. Use the fully qualified domain name. localhost has issues that will eventually bite you. OK. [snip] And one deletion. Don't put server_args amandad. That's a I know, xinted is soo much better thanks for your help! jobst -- A loving atmosphere in your home is the foundation for your life. |__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director| | _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L | |-(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia|
Re: Looking for a little help
On Thu, Jun 21, 2001 at 05:36:19PM -0600, Kevin C Jones ([EMAIL PROTECTED]) wrote: I have installed amanda onto a Redhat 6.2 box. Everything went into okay, I edited the amanda.conf and made a dumptype and disklist. When I run the amcheck Daily comment... I get the following error: [snip] Amanda Backup Client Hosts Check ERROR: server FQDN is here: [access as amanda not allowed from server FQDN is here: amandahostsauth failed Client check: 1 host checked in 0.012 seconds, 1 problem found You forgot to put the .amandahosts file into the amanda home directory which should have an entry FOR each client AND username: file .amandahosts (one line for each) examplehostname.in.domain.com amanda Note that the user and machine name are separated by a TAB! jobst -- We're from the government, we're here to help you... |__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director| | _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L | |-(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia|
New user, a few questions to get it going
All, I am new to amanda, read the faq, read the archives etc but cannot find solutions to my problems which are mostly related to permission problems. I have configured amanda with as suggested in the INSTALL file: ./configure --with-user=bin and --with-group=disk I ran make and make install and no errors where reported. Then I made a dir under /usr/local/etc: drwxr-x---3 bin disk 4096 Jun 20 18:26 amanda and placed: -rwxr-x---1 bin disk 5374 Jun 20 20:41 amanda.conf -rwxr-x---1 bin disk 30 Jun 20 20:03 disklist -rwxr-x---1 bin disk 45 Jun 20 19:28 root_exclude.gtar and followed the instructions as in the INSTALL file and the chapter about amanda at http://www.backupcentral.com/; Now I can see the tape when doing: su bin mt -f /dev/nst0 status so the permission on /dev/nst0 are correct. Should amcheck ONLY be executed from root? Executing from bin gives me an error: [431] [piquet:root] /usr/local/sbin #ROOT# su bin sh-2.04$ /usr/local/sbin/amcheck DailySet1 sh: /usr/local/sbin/amcheck: Permission denied But when I run it as root I get the error telling me I run it as root! Amanda Tape Server Host Check - ERROR: running as user root instead of bin NOTE: skipping tape-writable test Tape DailySet1-01 label ok Why does it skip the writetest? permissions on amcheck: 452] [piquet:root] /usr/local/sbin #ROOT# ls -la total 2896 drwxr-xr-x2 root root 4096 Jun 20 21:14 . drwxr-xr-x 20 root root 4096 Jun 20 10:14 .. -rwsr-x---1 root disk 393508 Jun 20 21:14 amcheck Now changing the permissions to chown bin amcheck I can execute but get other errors: Amanda Tape Server Host Check - ERROR: program /usr/local/libexec/planner: not executable NOTE: skipping tape-writable test Tape DailySet1-01 label ok Server check took 0.071 seconds So to try this thing I want to backup stuff on the host were the tape is located. In disklist to get this running (finetuning later) I have: localhost / root-tar and I get: Amanda Backup Client Hosts Check WARNING: localhost: selfcheck request timed out. Host down? Client check: 1 host checked in 30.004 seconds, 1 problem found Even if I change it to the real name/ipaddress it doesnt work. I filled the ipaddress into the xinted.conf file and added all the stuff in there! I checked everything (as suggested in the FAQ -amcheck- too), I added every single entry, the debug files are created and one shows: amcheck: debug 1 pid 2706 ruid 1 euid 1 start time Wed Jun 20 21:50:15 2001 amcheck: dgram_bind: socket bound to 0.0.0.0.33149 amcheck: pid 2706 finish time Wed Jun 20 21:50:45 2001 I can list the socket: [494] [piquet:root] /tmp/amanda #ROOT# netstat -a | grep -i amanda tcp0 0 *:amandaidx *:* LISTEN There are NO error messages reported in the syslog and when restarting xinetd the expected message show up too (no errors). Why cant I back up the root dir on the host the tape is on -- 186,262 miles/second : Not just a good idea, it's the LAW. |__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director| | _ _.--'-n_/ Barrett Consulting Group P/L The Meditation Room P/L | |-(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia|