Amanda 2.5 Debian UDP problem
Hi, I have setup amanda and a test client for it, my problem is that I get: WARNING: work: selfcheck request failed: timeout waiting for ACK when runing amcheck. It works fine if I use the client on localhost but not with a client on another machine. I've looked at the trafic with tcpdump: the server send packges but the client never reply's. I've read the mailing list and googled a bit but nothing I found solved my problem. Did anyone had this problem? Help, please... Best regards, Luis PS: amandad is started with inetd because it saves the following log: amandad: debug 1 pid 1883 ruid 34 euid 34: start at Tue Apr 18 12:54:51 2006 amandad: version 2.5.0 amandad: build: VERSION="Amanda-2.5.0" amandad:BUILT_DATE="Mon Apr 3 05:06:49 PDT 2006" amandad:BUILT_MACH="Linux rover 2.6.15-15-686 #1 SMP PREEMPT Mon Feb 6 18:34:45 UTC 2006 i686 GNU/Linux" amandad:CC="gcc" amandad:CONFIGURE_COMMAND="'./configure' '--prefix=/usr' '--bindir=/usr/sbin' '--mandir=/usr/share/man' '--libexecdir=/usr/lib/amanda' '--enable-shared' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--with-gnutar-listdir=/var/lib/amanda/gnutar-lists' '--with-index-server=localhost' '--with-user=backup' '--with-group=backup' '--with-bsd-security' '--with-amandahosts' '--with-smbclient=/usr/bin/smbclient' '--with-debugging=/var/log/amanda' '--with-dumperdir=/usr/lib/amanda/dumper.d' '--with-tcpportrange=5,50100' '--with-udpportrange=840,860' '--with-maxtapeblocksize=256' '--no-create' '--no-recursion'" amandad: paths: bindir="/usr/sbin" sbindir="/usr/sbin" amandad:libexecdir="/usr/lib/amanda" mandir="/usr/share/man" amandad:AMANDA_TMPDIR="/tmp/amanda" amandad:AMANDA_DBGDIR="/var/log/amanda" CONFIG_DIR="/etc/amanda" amandad:DEV_PREFIX="/dev/" RDEV_PREFIX="/dev/" DUMP="/sbin/dump" amandad:RESTORE="/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF amandad:XFSDUMP="/sbin/xfsdump" XFSRESTORE="/sbin/xfsrestore" amandad:VXDUMP=UNDEF VXRESTORE=UNDEF amandad:SAMBA_CLIENT="/usr/bin/smbclient" GNUTAR="/bin/tar" amandad:COMPRESS_PATH="/bin/gzip" UNCOMPRESS_PATH="/bin/gzip" amandad:LPRCMD="/usr/bin/lpr" MAILER="/usr/bin/Mail" amandad:listed_incr_dir="/var/lib/amanda/gnutar-lists" amandad: defs: DEFAULT_SERVER="localhost" DEFAULT_CONFIG="DailySet1" amandad:DEFAULT_TAPE_SERVER="localhost" amandad:DEFAULT_TAPE_DEVICE="null:" HAVE_MMAP HAVE_SYSVSHM amandad:LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE amandad:AMANDA_DEBUG_DAYS=4 BSD_SECURITY RSH_SECURITY USE_AMANDAHOSTS amandad:CLIENT_LOGIN="backup" FORCE_USERID HAVE_GZIP amandad:COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast" amandad:COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc" amandad: time 29.972: pid 1883 finish time Tue Apr 18 12:55:21 2006
Re: Amanda 2.5 Debian UDP problem
The problem is I have no firewall on this network. I have an CISCO router that connects tnhe network to the outside world but all the pcs are on the same subnet so only a switch in involved. Thanks, _LR_ On Tue, 18 Apr 2006, Cameron Matheson wrote: > Hi, > > On Tue, 2006-04-18 at 21:40 +0100, Luis Rodrigues wrote: > > Hi, > > > > I have setup amanda and a test client for it, my problem is that I get: > > WARNING: work: selfcheck request failed: timeout waiting for ACK > > when runing amcheck. > > > > It works fine if I use the client on localhost but not with a client on > > another machine. > > > > I've looked at the trafic with tcpdump: the server send packges but the > > client never reply's. > > I get this problem when the server is behind a firewall that is blocking > traffic from the client... read up on the ports usage stuff > (http://www.amanda.org/docs/portusage.html) and make sure none of that > is getting blocked. > > Cam >
Re: Amanda 2.5 Debian UDP problem
The client has no firewall and the server has this: Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination ACCEPT all -- 0.0.0.0/00.0.0.0/0 PHYSDEV match --physdev-in vif1.0 ACCEPT all -- 0.0.0.0/00.0.0.0/0 PHYSDEV match --physdev-in vif2.0 ACCEPT all -- 0.0.0.0/00.0.0.0/0 PHYSDEV match --physdev-in vif3.0 Chain OUTPUT (policy ACCEPT) target prot opt source destination Those rules are related to Xen. Thanks, _LR_
Re: Amanda 2.5 Debian UDP problem
Yep: amanda dgram udp wait backup /usr/sbin/tcpd /usr/lib/amanda/amandad I've just tested with client as using lo works fine. If I disable lo doesn't work also :( Aparently what happens it that amandad does a select syscall that just timesout (and doen't understand why) Thanks _LR_ On Wed, 19 Apr 2006, Paul Bijnens wrote: > On 2006-04-18 22:40, Luis Rodrigues wrote: > > Hi, > > > > I have setup amanda and a test client for it, my problem is that I get: > > WARNING: work: selfcheck request failed: timeout waiting for ACK > > when runing amcheck. > > > > It works fine if I use the client on localhost but not with a client on > > another machine. > > > > I've looked at the trafic with tcpdump: the server send packges but the > > client never reply's. > > > > I've read the mailing list and googled a bit but nothing I found solved my > > problem. > > > > Did anyone had this problem? Help, please... > > > > Best regards, > > > > Luis > > > > PS: amandad is started with inetd because it saves the following log: > > > > amandad: debug 1 pid 1883 ruid 34 euid 34: start at Tue Apr 18 12:54:51 > > 2006 > > amandad: version 2.5.0 > [...] > > amandad:COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc" > > amandad: time 29.972: pid 1883 finish time Tue Apr 18 12:55:21 2006 > > > > > Are you 100% sure you have "wait" in inetd.conf (the symptoms are > the same if you have "nowait" there). > > > > -- > Paul Bijnens, xplanation Technology ServicesTel +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, * > * init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... * > * ... "Are you sure?" ... YES ... Phew ... I'm out * > *** >
Re: Amanda 2.5 Debian UDP problem
Finally after 2 day I found out the problem: I have an internal DNS server so I didn't had the server ip on the client hosts file. If I add it there it works fine... Does anyone know why amanda doesn't use the DNS? In nsswitch.conf i have: hosts: files dns so should work... Thanks for trying to help. _LR On Wed, 19 Apr 2006, Luis Rodrigues wrote: > Yep: > amanda dgram udp wait backup /usr/sbin/tcpd /usr/lib/amanda/amandad > > I've just tested with client as using lo works fine. If I > disable lo doesn't work also :( > > Aparently what happens it that amandad does a select syscall that just > timesout (and doen't understand why) > > Thanks > > _LR_ > > > On Wed, 19 Apr 2006, Paul Bijnens wrote: > > > On 2006-04-18 22:40, Luis Rodrigues wrote: > > > Hi, > > > > > > I have setup amanda and a test client for it, my problem is that I get: > > > WARNING: work: selfcheck request failed: timeout waiting for ACK > > > when runing amcheck. > > > > > > It works fine if I use the client on localhost but not with a client on > > > another machine. > > > > > > I've looked at the trafic with tcpdump: the server send packges but the > > > client never reply's. > > > > > > I've read the mailing list and googled a bit but nothing I found solved my > > > problem. > > > > > > Did anyone had this problem? Help, please... > > > > > > Best regards, > > > > > > Luis > > > > > > PS: amandad is started with inetd because it saves the following log: > > > > > > amandad: debug 1 pid 1883 ruid 34 euid 34: start at Tue Apr 18 12:54:51 > > > 2006 > > > amandad: version 2.5.0 > > [...] > > > amandad:COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc" > > > amandad: time 29.972: pid 1883 finish time Tue Apr 18 12:55:21 2006 > > > > > > > > > Are you 100% sure you have "wait" in inetd.conf (the symptoms are > > the same if you have "nowait" there). > > > > > > > > -- > > Paul Bijnens, xplanation Technology ServicesTel +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, * > > * init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... * > > * ... "Are you sure?" ... YES ... Phew ... I'm out * > > *** > > >
Newbie needs Help
Hello. I've just started a job at a new company. They have an backup system with everyday copies the touched files to a disk on a backup server and on the weekend it makes a 0 level to tape. They say the system is not really relayable because some times they don't find the files an want a new one. So I will install amanda. The problem is that they want to keep the old backup touched files each day and zero level on the weekend. In http://www.amanda.org/docs/topten.html#id2552255 says this is not possible. So I will use amanda with a weekly cycle so that at saturday everyting is backuedup. But I still need to incremental backup the touched files since last inscremental, is it possible to force amanda to (in its runs during week) first copy to backup server the touched files and them some others? If so what will happen if a file is changed two times in one week? Thanks in advance. Luis
Re: Antw: Newbie needs Help
I have enough disk space. My problem it that they need incremental (everday) backup of touched files and I have no ideia how to do it. I could do 0 level every day to virtual tapes but that is just a wast of space and time. Best regards, Luis On Thu, 04 May 2006 16:01:23 +0200 "matilda matilda" <[EMAIL PROTECTED]> wrote: > Hi Luis, > > in my opinion you should etsablish the following solution: > 1) Intstall backup-server with enough disk space > 2) Create virtuall tapes on the disks > 3) Let amanda backup to the virtual tapes (one configuration) > You have to decide in which cycles amanda makes full backups. > 4) In a second amanda configuration you let amanda dump > forced level 0 backups of the virtual disks to tape. > > Probably a starting point. > > Best regards > Andreas Mock > > > >>> Luis Rodrigues <[EMAIL PROTECTED]> 04.05.2006 15:52:07 >>> > Hello. > > I've just started a job at a new company. They have an backup system > with everyday copies the touched files > to a disk on a backup server and on the weekend it makes a 0 level to > tape. > > They say the system is not really relayable because some times they > don't find the files an want a new one. > > So I will install amanda. > > The problem is that they want to keep the old backup touched files each > day and zero level on the weekend. > In http://www.amanda.org/docs/topten.html#id2552255 says this is not > possible. > > So I will use amanda with a weekly cycle so that at saturday everyting > is backuedup. > > But I still need to incremental backup the touched files since last > inscremental, is it possible to force amanda to > (in its runs during week) first copy to backup server the touched files > and them some others? > > If so what will happen if a file is changed two times in one week? > > Thanks in advance. > > Luis
Re: Newbie needs Help
The normal everyday amanda incremental backup saves all the touched files to the holding disk? If the file is changed 5 times in a backup cicle it will get backed up 5 times? if so how do I access it using amandarecover? Luis On Thu, 4 May 2006 10:26:39 -0400 Jon LaBadie <[EMAIL PROTECTED]> wrote: > On Thu, May 04, 2006 at 03:52:07PM +0200, Luis Rodrigues wrote: > > Hello. > > > > I've just started a job at a new company. They have an backup system with > > everyday copies the touched files > > to a disk on a backup server and on the weekend it makes a 0 level to tape. > > > > They say the system is not really relayable because some times they don't > > find the files an want a new one. > > > > So I will install amanda. > > > > The problem is that they want to keep the old backup touched files each day > > and zero level on the weekend. > > In http://www.amanda.org/docs/topten.html#id2552255 says this is not > > possible. > > > > So I will use amanda with a weekly cycle so that at saturday everyting is > > backuedup. > > > > But I still need to incremental backup the touched files since last > > inscremental, is it possible to force amanda to > > (in its runs during week) first copy to backup server the touched files and > > them some others? > > > > You can nearly mimic what they have been doing. Not necessarily my > recommendation, but sometimes "ya gotta do what da boss sais ya gotta do". > > Think of their current backup disk as amanda's "holding disk". > Set up your amanda config to 'autoflush" the holding disk whenever > it actually does tape. > Set up your config to not do level 0's except when forced with amadmin. > I forget if this is "skip-full" or "incr-only". > Set up amanda to use a symbolic link to the tape device, eg. /dev/amandatape. > This will be missing normally, so incremental backups will collect on the > holding disk, waiting to autoflush. > Set up your daily cron job to "rm amandatape" then amdump. > Set up your weekend cronjob to amadmin force level 0's, create the symbolic > tape device link, then do amdump, the rm amandatape. > The entire week will go to tape. > > > If so what will happen if a file is changed two times in one week? > > You will have a copy of each version. > During the week you can still use amrecover to get at the > incrementals collecting on the holding disk. > > -- > Jon H. LaBadie [EMAIL PROTECTED] > JG Computing > 4455 Province Line Road(609) 252-0159 > Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Re: Newbie needs Help
Ahh, ok I did't had understood that. Does it work with both tar and dump or just with dump? Luis On Thu, 4 May 2006 17:40:34 +0200 (CEST) Geert Uytterhoeven <[EMAIL PROTECTED]> wrote: > On Thu, 4 May 2006, Luis Rodrigues wrote: > > The normal everyday amanda incremental backup saves all the touched files > > to the holding disk? > > Yes. > > > If the file is changed 5 times in a backup cicle it will get backed up 5 > > times? if so how do > > I access it using amandarecover? > > By specifying the date of the version you want to recover. > > > On Thu, 4 May 2006 10:26:39 -0400 > > Jon LaBadie <[EMAIL PROTECTED]> wrote: > > > On Thu, May 04, 2006 at 03:52:07PM +0200, Luis Rodrigues wrote: > > > > I've just started a job at a new company. They have an backup system > > > > with everyday copies the touched files > > > > to a disk on a backup server and on the weekend it makes a 0 level to > > > > tape. > > > > > > > > They say the system is not really relayable because some times they > > > > don't find the files an want a new one. > > > > > > > > So I will install amanda. > > > > > > > > The problem is that they want to keep the old backup touched files each > > > > day and zero level on the weekend. > > > > In http://www.amanda.org/docs/topten.html#id2552255 says this is not > > > > possible. > > > > > > > > So I will use amanda with a weekly cycle so that at saturday everyting > > > > is backuedup. > > > > > > > > But I still need to incremental backup the touched files since last > > > > inscremental, is it possible to force amanda to > > > > (in its runs during week) first copy to backup server the touched files > > > > and them some others? > > > > > > > > > > You can nearly mimic what they have been doing. Not necessarily my > > > recommendation, but sometimes "ya gotta do what da boss sais ya gotta do". > > > > > > Think of their current backup disk as amanda's "holding disk". > > > Set up your amanda config to 'autoflush" the holding disk whenever > > > it actually does tape. > > > Set up your config to not do level 0's except when forced with amadmin. > > > I forget if this is "skip-full" or "incr-only". > > > Set up amanda to use a symbolic link to the tape device, eg. > > > /dev/amandatape. > > > This will be missing normally, so incremental backups will collect on the > > > holding disk, waiting to autoflush. > > > Set up your daily cron job to "rm amandatape" then amdump. > > > Set up your weekend cronjob to amadmin force level 0's, create the > > > symbolic > > > tape device link, then do amdump, the rm amandatape. > > > The entire week will go to tape. > > > > > > > If so what will happen if a file is changed two times in one week? > > > > > > You will have a copy of each version. > > > During the week you can still use amrecover to get at the > > > incrementals collecting on the holding disk. > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED] > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like > that. > -- Linus Torvalds
amandahostsauth failed
Hi, I've setup a Debian system to act as the backup server. Have some clients running debian with i could make to work without problems. But my redhat clients don't want to work, I get: ERROR: client.aa.aa : [access as amanda not allowed from [EMAIL PROTECTED] amandahostsauth failed but e correctly put in /var/lib/amanda/.amandahosts the line server.aa.aa backup the file is owned by amanda so I think its not permissions. Does anyone have an ideia.
Problem with changer
Hello, I'm getting an error while running chg-zd-mtx: " cannot determine first slot" Does anyone have any ideia. Best regards, Luis
Dell Powervault Tape Config
Hello, I need to configure the tape type off Dell PowerVault 122 T >From http://www.amanda.org/fom-serve/cache/354.html and confirmed from DELL >site >http://support.dell.com/support/edocs/stor%2Dsys/122T/en/122t_lto/ug/specs.htm I get define tapetype LT01 { comment "DELL LT01" length 101376 mbytes filemark 0 kbytes speed 15080 kps } Is this correct? The tape size and speed I should set here is the native size (without the compression)? Best regards.
Amanda Solaris 8
Hi, I have a set os Debian/Redhat machines running amanda clients with no problem. I need to run an Solaris 8 client also, got the binary package from: http://www.sunfreeware.com/programlist.html and istalled it. Create the user,services,configuration of inet all working fine. But when I run amcheck it says user has no permition do access the machine, but I created the .amandahosts and put the correct info there and amanda user can read the file. Is there any way to check if amanda (on the client) is reading the correct file? Best regards. Luis
Re: Amanda Solaris 8
On Wed, 10 May 2006 13:38:44 +0200 Paul Bijnens <[EMAIL PROTECTED]> wrote: > On 2006-05-10 13:15, Luis Rodrigues wrote: > > Hi, > > > > I have a set os Debian/Redhat machines running amanda clients with no > > problem. > > > > I need to run an Solaris 8 client also, got the binary package from: > > http://www.sunfreeware.com/programlist.html > > and istalled it. Create the user,services,configuration of inet all working > > fine. > > > > But when I run amcheck it says user has no permition do access the machine, > > but > > I created the .amandahosts and put the correct info there and amanda user > > can read the file. > > You say so, but we can't verify. > What is exact error message? The error is a simple: ERROR: server.aa.com: [access as amanda not allowed from [EMAIL PROTECTED] With I usally get when forget to edit .amandahosts (with I did) it reads: old.aa.com backup > > > > > > Is there any way to check if amanda (on the client) is reading the correct > > file? > > before and after running amcheck: > > $ ls -lut .amandahosts > > and the access time should have changed. The access time has not changed :( In /etc/passwd I have set the correct home directory for amanda and it has permitions to read the file and the directory.
Re: Amanda Solaris 8
On Wed, 10 May 2006 08:38:30 -0400 Jon LaBadie <[EMAIL PROTECTED]> wrote: > On Wed, May 10, 2006 at 01:15:12PM +0200, Luis Rodrigues wrote: > > Hi, > > > > I have a set os Debian/Redhat machines running amanda clients with no > > problem. > > > > I need to run an Solaris 8 client also, got the binary package from: > > http://www.sunfreeware.com/programlist.html > > Oh my gosh!!! > > Version 2.4.1 ??? I think Methusula used that. But I needed an SPARC package and the one one there is for x86... > > > If problems continue you might consider looking at the packages > on blastwave.org. Last I looked their x86 version was 2.4.4. > And they compile for Solaris 8 rather than Solaris 2.6. > > In a later note you said .amandahosts contained the FQDN name > of the server (x.y.com bkup) while the error message gave > just the alias ([EMAIL PROTECTED]). I don't know if it makes a difference, > but I always put into .amandahosts both versions. I have both. > > -- > Jon H. LaBadie [EMAIL PROTECTED] > JG Computing > 4455 Province Line Road(609) 252-0159 > Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Re: Amanda Solaris 8
On Wed, 10 May 2006 14:32:56 +0200 "Peter Kunst" <[EMAIL PROTECTED]> wrote: > What about /etc/nsswitch.conf ? Using NIS first for hosts ? Using files first. > > try adding a 2nd line with short hostname into your .amandahosts, like > "old backup" I have both :) > > Peter > > Luis Rodrigues wrote: > > On Wed, 10 May 2006 13:38:44 +0200 > > Paul Bijnens <[EMAIL PROTECTED]> wrote: > > > > > >>On 2006-05-10 13:15, Luis Rodrigues wrote: > >> > >>>Hi, > >>> > >>>I have a set os Debian/Redhat machines running amanda clients with no > >>>problem. > >>> > >>>I need to run an Solaris 8 client also, got the binary package from: > >>>http://www.sunfreeware.com/programlist.html > >>>and istalled it. Create the user,services,configuration of inet all > >>>working fine. > >>> > >>>But when I run amcheck it says user has no permition do access the > >>>machine, but > >>>I created the .amandahosts and put the correct info there and amanda user > >>>can read the file. > >> > >>You say so, but we can't verify. > >>What is exact error message? > > > > > > The error is a simple: > > ERROR: server.aa.com: [access as amanda not allowed from [EMAIL PROTECTED] > > > > With I usally get when forget to edit .amandahosts (with I did) > > it reads: > > old.aa.com backup > > > > > > > >> > >>>Is there any way to check if amanda (on the client) is reading the correct > >>>file? > >> > >>before and after running amcheck: > >> > >>$ ls -lut .amandahosts > >> > >>and the access time should have changed. > > > > > > The access time has not changed :( > > > > In /etc/passwd I have set the correct home directory for amanda and it has > > permitions to read the file > > and the directory. > > > >
Re: Amanda Solaris 8
> > > > > On Wed, May 10, 2006 at 01:15:12PM +0200, Luis Rodrigues wrote: > > > > Hi, > > > > > > > > I have a set os Debian/Redhat machines running amanda clients with no > > > > problem. > > > > > > > > I need to run an Solaris 8 client also, got the binary package from: > > > > http://www.sunfreeware.com/programlist.html > > > > > > Oh my gosh!!! > > > > > > Version 2.4.1 ??? I think Methusula used that. > > > > But I needed an SPARC package and the one one there is for x86... > > I presume this refers to blastwave. > Blastwave has sparc build platforms and seem to respond to > requests pretty well. Contact the amanda package maintainer > and ask if they could build it on Sparc Solaris 8. > > Or, it really is not hard to build your own. Ok, I will ask them. But the version I'm using should work :( > > -- > Jon H. LaBadie [EMAIL PROTECTED] > JG Computing > 4455 Province Line Road(609) 252-0159 > Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Amanda reporting File shrank by...
Today I got this in the report from amanda. In this mail server we use mbox and the user just deleted some mails. How can I let amanda know to not report file size changes in this DLE? Best regards, Luis sendbackup: start [mailserver.aa.bb:/var/mail level 0] sendbackup: info BACKUP=/bin/tar sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/bin/tar -f... - sendbackup: info COMPRESS_SUFFIX=.gz sendbackup: info end ? gtar: ./jondoe: File shrank by 20955 bytes; padding with zeros | Total bytes written: 1180221440 (1.1GB, 5.4MB/s) sendbackup: size 1152560 sendbackup: end \
Re: Amanda reporting File shrank by...
Some times it happens. Usually amanda runs at 00:00. But some people take work home and it happens sometimes. It not very important, I just would like it not show on FAILURE AND STRANGE DUMP SUMMARY (I have a script that only sends me the report when this line apears) so I had one less mail to check. thanks Luis On Wed, 17 May 2006 09:49:56 -0400 Jon LaBadie <[EMAIL PROTECTED]> wrote: > On Wed, May 17, 2006 at 09:44:56AM +0200, Luis Rodrigues wrote: > > Today I got this in the report from amanda. In this mail server we use mbox > > and the user just deleted some mails. > > How can I let amanda know to not report file size changes in this DLE? > > > > Best regards, > > > > Luis > > > > > > sendbackup: start [mailserver.aa.bb:/var/mail level 0] > > sendbackup: info BACKUP=/bin/tar > > sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/bin/tar -f... - > > sendbackup: info COMPRESS_SUFFIX=.gz > > sendbackup: info end > > ? gtar: ./jondoe: File shrank by 20955 bytes; padding with zeros > > | Total bytes written: 1180221440 (1.1GB, 5.4MB/s) > > sendbackup: size 1152560 > > sendbackup: end > > \ > > To my knowledge, it is not possible on a DLE by DLE basis. > It would have to be compiled in and apply to all DLEs. > > But, wasn't this just a one-time thing that only happened > because "jondoe" happened to be deleting mail at exactly > the moment gtar happened to be copying the file? Or have > you seen this regularly, possibly for the same file each time? > > -- > Jon H. LaBadie [EMAIL PROTECTED] > JG Computing > 4455 Province Line Road(609) 252-0159 > Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Re: Amanda reporting File shrank by...
There is no need since I have a statusbord with all the services running on my company. It has red, yellow and gree ligths , I just check the ones that are not green :) So I will change to maildir and be done with it (less work than compiling) Thanks. Luis On Thu, 18 May 2006 09:22:59 +0700 (ICT) Olivier Nicole <[EMAIL PROTECTED]> wrote: > > (I have a script that only sends me the report when this line > > apears) so I had one less mail to check. > > Change your script to filter the body of the email and to drop if the > failure is on the mail directory. > > But it is considered as a good practice to send email even if > everything is going fine, that way you know that Amanda is still > running. Else, if you don't receive email everyday, it could be that > there is no problem or that there is no Amanda. > > Best regards, > > Olivier
Delay puting to Tape/using less tapes
Hello, I have a nice amanda system configured with a 7 days dump cyles (5 runs per cicle). We usually use a tape each day, so that means we need 20 tapes per month. My boss just decided that we are using to mutch tapes so we wants me to cut on that number. He wants to use only use 3/4 tapes per week, but he still wants the daily incrementals. So I would like to do incremental every day to disk, then after 2 days put on tape. I know amanda is not supost to handle this and I know I could always remove the tape every other day and amanda fails the tape operation. Does anyone have a clean solution for using less tapes? Best regards, Luis
Missing Results
Hello, I'm getting this on my backup report. DUMP SUMMARY: DUMPER STATS TAPER STATS HOSTNAME DISKL ORIG-MB OUT-MB COMP% MMM:SS KB/s MMM:SS KB/s -- - - aca2g.ess.co /var/www01752 485 27.79:14 896.6 4:51 1707.1 acag.ess.co. /gis0 372338964 24.1 231:21 661.3 27:56 5476.0 acag.ess.co. /var/www034382123 61.8 18:25 1968.6 6:36 5487.8 acag.ess.co. /var/www MISSING --- cyprus_demo. /var/www0 63 22 35.50:09 2536.8 0:09 2551.2 essg.ess.co. /etc/mail 0 12 3 24.10:02 1196.2 0:04 703.6 essg.ess.co. /home/ftp 0 32 22 69.70:11 2129.0 0:11 2107.3 essg.ess.co. /var/mail 01402 854 60.98:41 1678.3 8:37 1691.9 essg.ess.co. /var/named 0 0 0 160.00:00 45.6 0:03 18.6 essg.ess.co. /var/www037062717 73.3 28:39 1618.1 23:15 1994.3 essg.ess.co. /var/www MISSING --- As you can see just some are missing, and it varies depending on the days. What is this? Thanks in advance. Luis
Re: Missing Results
> > > > As you can see just some are missing, and it varies depending on the days. > > What is this? > > One something more weird: > You seem to have 2 entries for those DLE's: one succeeded, one missing. > How did you get 2 lines for one DLE??? Thats what I would like to know. I have no other error messages on the report. I also have on amstatus: acag.ess.co:/var/www0 2123m finished (5:52:13) essg.ess.co:/var/www0 2716m finished (1:04:33) So the dump worked fine... Any ideias? Luis
Re: Missing Results
On Mon, 03 Jul 2006 12:40:24 +0200 Alexander Jolk <[EMAIL PROTECTED]> wrote: > Luis Rodrigues wrote: > >>One something more weird: > >>You seem to have 2 entries for those DLE's: one succeeded, one missing. > >>How did you get 2 lines for one DLE??? > > > > > > Thats what I would like to know. > > autoflush, by any chance? > autoflush? I did't set in any place. Luis My config for this is: org "ess" # your organization name for reports mailto "backup" # space separated list of operators at your site dumpuser "backup" # the user to run dumps under # inparallel 8# maximum dumpers that will run in parallel netusage 8 # maximum net bandwidth for Amanda, in KB per sec displayunit "m" # a filesystem is due for a full backup once every days dumpcycle 7 days# a week cycle runspercycle 1 # only run once a week (full dump) tapecycle 31 tapes # the number of tapes in rotation bumpsize 20 MB # minimum savings (threshold) to bump level 1 -> 2 bumpdays 1 # minimum days at each level bumpmult 4 # threshold = bumpsize * (level-1)**bumpmult runtapes 4 #a backup run should not take more than 2 tapes tapedev "/dev/nst0" # Linux @ tuck, important: norewinding tpchanger "chg-zd-mtx" # the tape-changer glue script, see TAPE.CHANGERS changerfile "/etc/amanda/weekly/changer" changerdev "/dev/sg4" tapetype LT01 # what kind of tape it is (see tapetypes below) labelstr "^ESSDUMP[0-9][0-9]*$" # label constraint regex: all tapes must match diskdir "/BACKUP/holding" # where the holding disk is infofile "/var/lib/amanda/weekly/curinfo" # database filename logfile "/var/log/amanda/weekly/log" # log filename # where the index files live indexdir "/var/lib/amanda/weekly/index"
Re: Missing Results
> > This seems to be a veeery old config. > It still uses parameter "diskdir" which is deprecated for > over 8 years now. Moreover in 2.5.0 is does't exist anymore. > Also the comments about infofile being a database filename (which > is was in Amanda 2.3 or so -- it is a directory now), seems to > indicate that. > > On the other hand, you are using "displayunit" which exists only > in very recent releases :-) > > That said, you should inspect the debug files on the client > and see at which time each of those "double" backups is created. > And how that is possible??? > Also in the server log file "amdump.X", you should find more info > where those double backup images are coming from. Actually I just copied the script that comes with the Debian Sarge packages (that is 2.5.0) and made the changes I needed. I've updated that, thanks. On my dump logs reagards one of the DLE I have pondering acag.ess.co.at:/var/www... next_level0 2 last_level 1 (not due for a full dump, picking an incr level) pick: size 3257520 level 1 days 1 (thresh 20480K, 1 days) pick: next size 51740... BUMPED curr level 2 size 18826 total size 21552813 total_lev0 20827585 balanced-lev0size 49104002 then INITIAL SCHEDULE (size 97290001): ... acag.ess.co.at /var/www pri 1 lev 2 size 18826 ... the it gets promoted: no try oldg.ess.co.at:/BACKUP/scripts 2 4 2 = -11 promote: moving acag.ess.co.at:/var/www up, total_lev0 118832423, total_size 121480639 and dumped: DUMP acag.ess.co.at feff9ffe07 /var/www 20060701 1 0 1970:1:1:0:0:0 2130192 787 2 2006:6:28:22:2:5 18826 6 and gets to tape, so I don't see why in the report I receive by mail have acag.ess.co. /var/www034382123 61.8 18:25 1968.6 6:36 5487.8 acag.ess.co. /var/www MISSING --- and on amstatus have acag.ess.co.at:/var/www0 2123m finished (5:52:13) Any more ideas whould be helpfull. Luis
Re: Missing Results
> > In the deep recesses of my dusty memory I recall getting duplicate > entries with one "MISSING" when I was testing the new server I was > using. I no longer have those results so I can't confirm it and > at the time I may have ignored it thinking it was an artifact of > running multiple dumps in the same day. > > Is this just a one-time event, or have you seen it regularly? > It happens sometimes, I really can't pinpoint when or why. The file aparently are always all backuped. > The only recent time I've seen "MISSING" messages was when I > intentionally made errors in my disklist. The ones for which > I made errors showed up as MISSING, both in the "DUMP SUMMARY" > you show and in the "FAILURE AND STRANGE DUMP SUMMARY" at the > beginning of the report. But it only showed up as a single > line, not double. Thats the strange part, I don't get FAILURE AND STRANGE DUMP SUMMARY just those doble DLE > > Might your disklist have a nearly identical entry with non-printable > characters that is causing the "MISSING" line. Nop nothing like that > > Just clutching at straws - sorry. > Thanks anyway
Re: Missing Results
> > Luis > > I had just this behavior when I first upgraded my server to amanda 2.5.0. We > had a bried discussion of it here on this list, and a patch was included in > 2.5.0p2 (maybe 2.5.0p1) that fixed the problem. > > What version of amanda are you running? > > As I recall it was a bug in amreport that was triggered when a dump started > on > one date and finished on another (like early AM the next day). Ahh, I saw that discussion some time ago but didn't thought that might be it. I'm using 2.5.0. Thanks
Disapearing amanda label
Hello, A very strange thing just happened. I had a tape labeled ESSDUMP10 but I did amcheck and I got: su - backup "amcheck weekly -s weekly" Amanda Tape Server Host Check - Holding disk /BACKUP/holding: 72751 MB disk space available, using 72751 MB slot 1: read label `ESSDUMP08', date `20060627' slot 2: read label `ESSDUMP09', date `20060701' slot 3: not an amanda tape slot 4: read label `ESSDUMP11', date `20060708' slot 5: read label `ESSDUMP12', date `20060710' slot 6: read label `ESSDUMP13', date `20060520 On the last weekend the backup worked fine. I think that all the data is there (I hope). Is there a way to recover the label and correct date? The only thing I did was update from version 2.5.0 to 2.5.0p2 (i'm using the debian packages) Also get: amrestore /dev/nst0 amrestore: short file header block: 42 bytes amrestore: WARNING: not at start of tape, file numbers will be offset amrestore: error reading file header: Input/output error Does anyone have an idea what could have trigered this? Best regards, Luis