Re: [Amanda-users] Bare metal restore problem

2009-08-28 Thread Jean-Louis Martineau
What program do you use to do the backup? dump or tar? Jean-Louis khalil_noura wrote: Hi all, I am trying to do a bare metal restore. After I partionsed the disk and restored the client to holding. I rebooted to rescue mode created a /mnt/sysimage directory mounted /dev/sda1 to /mnt/sysimag

Re: Backup issues with OpenBSD 4.5 machines

2009-08-31 Thread Jean-Louis Martineau
el Burk wrote: > Cool - can you send me the patch? Or is it already in the 0826 snapshot? > > FYI - I got 2.5.0p2 working, but could never get 2.5.1p3 working, even with > the same config. No idea why. > I started looking at the source code last night in the

Re: Backup issues with OpenBSD 4.5 machines

2009-08-31 Thread Jean-Louis Martineau
ble] 1251693126.799929: sendbackup: 115: strange(?): sendbackup: index tee cannot write [Resource temporarily unavailable] 1251693126.821488: sendbackup: 90: normal(|): DUMP: Broken pipe 1251693126.825377: sendbackup: 90: normal(|): DUMP: The ENTIRE dump is aborted. 1251693126.833573: sen

Re: Backup issues with OpenBSD 4.5 machines

2009-08-31 Thread Jean-Louis Martineau
93126.821488: sendbackup: 90: normal(|): DUMP: Broken pipe 1251693126.825377: sendbackup: 90: normal(|): DUMP: The ENTIRE dump is aborted. 1251693126.833573: sendbackup: critical (fatal): error [dump (22791) /sbin/dump returned 3] Thanks,

Re: Backup issues with OpenBSD 4.5 machines

2009-09-01 Thread Jean-Louis Martineau
We need to find a minimal patch that fix the problem. Cat you try the attached patch? Jean-Louis Michael Burk wrote: I applied the patches to the 0827 version again (had to do the sendbackup-dump.c patch by hand since the patch was for another version). I ran a full backup again, and all 3 fil

Re: Backup issues with OpenBSD 4.5 machines

2009-09-01 Thread Jean-Louis Martineau
Michael Burk wrote: So it seems reliable that those 3 lines fix the problem somehow. Anything else you want to try before I ask for help on the OpenBSD list? I have nothing else to try. The order of system call is a follow: In amandad process: pipe(pipefd) dup2(pipefd[1],b) fork in the chi

Re: Tapes are not filled up

2009-09-30 Thread Jean-Louis Martineau
Msiipola, Try with 'taperflush 100' Jean-Louis Msiipola wrote: I' trying to utilize tapes better by using a holdingdisk and by setting i amanda.conf: flush-threshold-dumped 100 flush-threshold-scheduled 100 taperflush 0 But looks like amanda does not take any notice about these settings. Inst

Re: hard coded limit REP_TIMEOUT of 6hrs in amandad-src/amandad.c

2009-09-30 Thread Jean-Louis Martineau
Jean-Francois Malouin wrote: * Dustin J. Mitchell [20090908 13:08]: On Tue, Sep 8, 2009 at 12:03 PM, Jean-Francois Malouin wrote: Hmmm, more than a week now and no replies. So I'll attempt to fix it myself: just to be on the safe side, any adverse effect to just bump up REP_TIMEOUT to,

Re: globbing

2009-09-30 Thread Jean-Louis Martineau
Brian Cuttler wrote: Using amanda 2.6.1 on Solaris 10 (server x86, client Sparc) I currently have entries in the disklist like these, currently there are 55+ entries. finsen /export/home/agaupelzfs-snapshot finsen /export/home/along zfs-snapshot finsen /export/home/amanda zfs-sn

Re: Scheduling a level 0 backup for Fridays only ?

2009-10-05 Thread Jean-Louis Martineau
Hi Matt, On all fridays, before amdump, run: amadmin CONF force "*" In the dumptype, set maxpromoteday to 0. Jean-Louis Matt Ingram wrote: Hi All, We're having issues with our Level 0 backups taking an extremely long time.. (200-300GB taking 12-24 hours.. is that normal?) One temporary so

Re: Backup leve tonight

2009-10-06 Thread Jean-Louis Martineau
Robert, You can't, but 'amadmin CONF due' tell you which DLE are due for a full dump tonight. Jean-Louis McGraw, Robert P wrote: Is there a command that will tell me what backup level will run tonight on the different DLE? Robert __

Re: using exclude with tar

2009-10-07 Thread Jean-Louis Martineau
McGraw, Robert P wrote: I have a filesystem called /export/comm. In this filesystem I have ./ftppub/site/mirrors which has a lot files and take a long time to backup at level 0. Since this mirror directory can be rebuilt from the master site I have decided to not backup the mirrors with Amand

Re: Forcing Level 0 Dumps on Different Days

2009-10-08 Thread Jean-Louis Martineau
There is no automatic way to do that. You can force one of the dle to do a full toning, in 2 days, you force another dle to do a full on that day, and 2 days later you force the last dle to do a full. After that, amanda will probably not try to do the 3 full the on same day. eg. october 8: a

Re: globbing

2009-10-13 Thread Jean-Louis Martineau
at 10:53:51AM -0400, Jean-Louis Martineau wrote: Brian Cuttler wrote: Using amanda 2.6.1 on Solaris 10 (server x86, client Sparc) I currently have entries in the disklist like these, currently there are 55+ entries. finsen /export/home/agaupelzfs-snapshot finsen /export/home/alo

Re: globbing

2009-10-20 Thread Jean-Louis Martineau
Brian, What is the path of the snapshot, post the Amzfs_snapshot.20091019*.debug files. Jean-Louis Brian Cuttler wrote: Jean-Louis, I reconfigured one of my globs to use dumptype zfs-snapshot rather than user-tar. Backups ran well but I believe that we did a single snapshot of /export/home

Re: globbing

2009-10-20 Thread Jean-Louis Martineau
-cf /tmp/amzfs-snapshots.tar Amzfs_snapshot.20091019* On Tue, Oct 20, 2009 at 11:21:55AM -0400, Jean-Louis Martineau wrote: Brian, What is the path of the snapshot, post the Amzfs_snapshot.20091019*.debug files. Jean-Louis Brian Cuttler wrote: Jean-Louis, I reconfigured one of my

Re: globbing

2009-10-20 Thread Jean-Louis Martineau
an-Louis, On Tue, Oct 20, 2009 at 11:50:34AM -0400, Jean-Louis Martineau wrote: It create one snapshot for each DLE. Yes, however I'm afraid that if it creates a single disklist for a glob, for instance /export/home/a*, creates snapshot /export/home which I think would be accepta

Re: TCP Tuning

2009-10-21 Thread Jean-Louis Martineau
Use the amgtar application and set the TAR-BLOCKSIZE to a bigger value (half the STREAM_BUFSIZE. Why do you believe it is bottleneck? Jean-Louis Alan Griffiths wrote: Thanks for the pointer. I've re-compiled with define STREAM_BUFSIZE (NETWORK_BLOCK_BYTES * 16) And I can see that h

Re: TCP Tuning

2009-10-22 Thread Jean-Louis Martineau
You talk about one dle or multiple dle? Are you using compression or encryption? on client or server? Are you using holding disk? or dumping directly to tape? Post the amdump. file for when it use NFS and when it doesn't use it. Jean-Louis Alan Griffiths wrote: amgtar with blocksize set to 512

Re: badly formatted response

2009-10-29 Thread Jean-Louis Martineau
Brian, Post the amandad.*.debug file form finsen. Jean-Louis Brian Cuttler wrote: Amanda users, Dustin, Jean-Louis, We have updated amanda to Amanda-2.6.1p1-20091023 and applied a patch for zfs-snapshot names within disklist globs. We have run 2 nights with this config where client!=server b

Re: badly formatted response

2009-10-29 Thread Jean-Louis Martineau
Brian Cuttler wrote: Jean-Louis, On Thu, Oct 29, 2009 at 10:50:43AM -0400, Jean-Louis Martineau wrote: With this patch, you will get the error reported by sendsize. So the error will be more explicite - or will the additional info help amanda development ? The error will be more

Re: badly formatted response

2009-10-29 Thread Jean-Louis Martineau
Brian Cuttler wrote: On Thu, Oct 29, 2009 at 10:05:25AM -0400, Jean-Louis Martineau wrote: Brian, Post the amandad.*.debug file form finsen. attaching. Jean-Louis Brian Cuttler wrote: Amanda users, Dustin, Jean-Louis, We have updated amanda to Amanda-2.6.1p1-20091023 and app

Re: TCP Tuning

2009-10-29 Thread Jean-Louis Martineau
Alan, Most people report faster throughput without nfs, your result is weird. Your sample is small (1.5GB), is it possible it was cached by the nfs client? Do amanda and NFS use the same network route? Do the NFS server have enough memory and cpu to run the amanda client software? Check the

Re: glob include behavior change ?

2009-11-02 Thread Jean-Louis Martineau
Hi Brian, The attached should fix the "Too many open files" problem. Can you try it and tell me the result. Jean-Louis Brian Cuttler wrote: In order to work around the glob issue I removed the globs from my disklist and replace them with entries for each user directory. We at least doubled th

Re: amadmin due

2009-11-04 Thread Jean-Louis Martineau
Do amdump is running? The output of 'amadmin due' is not reliable if it is. 'amadmin due' only looks at latest full, the holsing file have '.tmp' suffix, this dump is not successful. Jean-Louis Brian Cuttler wrote: This is a very minor issue, but caught my attention. Clearly have have succes

Re: Dump failures

2009-11-18 Thread Jean-Louis Martineau
What is your tapecycle? How many vtapes do you have? What is the output of amcheck? Jean-Louis Mike R wrote: Good day all. I'm a fairly new amanda user, I used the 15 minute backup guide for my setup. During the first week my backups seemed to have gone off without a hitch as indicated by the

Re: Dump failures

2009-11-18 Thread Jean-Louis Martineau
What's the complete output of: amcheck -s daily Mike R wrote: Jean-Louis Martineau wrote: What is your tapecycle? How many vtapes do you have? What is the output of amcheck? Jean-Louis Mike R wrote: Good day all. I'm a fairly new amanda user, I used the 15 minute backup guide fo

Re: Dump failures

2009-11-18 Thread Jean-Louis Martineau
What are in those slots? use 'amlabel' to label them. Jean-Louis slot 10: not an amanda tape (Read 0 bytes) slot 11: not an amanda tape (Read 0 bytes) slot 12: not an amanda tape (Read 0 bytes) slot 13: not an amanda tape (Read 0 bytes) slot 14: not an amanda tape (Read 0 bytes) slot 15: not an

Re: Can you "remind" Amanda of holding file(s)?

2009-11-24 Thread Jean-Louis Martineau
What's in 20091122180002? Mike Chesnut wrote: amdump got stuck for me the other day, and after running amcleanup, it seems to have lost track of a holding dir. My holding disk has these directories in it: 20091121180002 20091122180002 However, doing "amadmin holding list" only lists the fi

Re: amcheck vs amrestore

2009-11-30 Thread Jean-Louis Martineau
Try amfetchdump instead of amrestore. Jean-Louis Brian Cuttler wrote: Dustin, et al, Periodically while I'm performing a restore with # amrestore the cronjob # amcheck grabs and swaps out the tape on me. Is there a way to interlock these two jobs so that doesn't happen ? For my money, I gues

Re: full dumps not getting timestamp

2009-12-01 Thread Jean-Louis Martineau
Do the backup succeeded? It looks it failed. flow...@hagsc.org wrote: I'm running a fresh install of amanda 2.6.1pl1 (I recently upgraded to p2 and experienced the same problem). When performing full dumps, the curinfo/machine/disk/info files are getting updated (they have proper ownership), bu

Re: post-host-backup script not executed on client

2009-12-03 Thread Jean-Louis Martineau
pre-host-backup and post-host-backup can't be executed on client, they can be executed on the server only. execute-where server Jean-Louis Benjamin Boksa wrote: Hi List, I am using the Script API to execute some commands on the clients to be backed up. I would like to execute those comman

Re: post-host-backup script not executed on client

2009-12-03 Thread Jean-Louis Martineau
Benjamin Boksa wrote: Hi Jean-Louis, pre-host-backup and post-host-backup can't be executed on client, they can be executed on the server only. Thanks for your fast answer, I modified http://wiki.zmanda.com/index.php/Script_API accordingly - maybe you or others could step in an fill

Re: post-host-backup script not executed on client

2009-12-06 Thread Jean-Louis Martineau
Benjamin Boksa wrote: Hi Jean-Louis, So as (pre|post)-host-backup can't be executed on the client: What is the best way to stop some services on the client before the first DLE is backed up and restart them after the client has been backed up? A solution is to run a script on the

Re: post-host-backup script not executed on client

2009-12-07 Thread Jean-Louis Martineau
Dustin J. Mitchell wrote: On Sun, Dec 6, 2009 at 2:21 PM, Jean-Louis Martineau wrote: After your hint I took a closer look at running (pre|post)-host-backup on the server. It seems that(pre|post)-host-backup gets executed for each DLE which is not exactly what I need. Set the script

Re: post-host-backup script not executed on client

2009-12-08 Thread Jean-Louis Martineau
Benjamin, It's a bug, try the attached patch. Jean-Louis Benjamin Boksa wrote: I'd hate to see too much work go into hacking *around* the script API -- it's brand new! The best outcome would be to fix/improve the script API as appropriate, but at the very least, let's make sure that the limita

Re: post-host-backup script not executed on client

2009-12-08 Thread Jean-Louis Martineau
The first patch was not correct. Try this new one. Jean-Louis Jean-Louis Martineau wrote: Benjamin, It's a bug, try the attached patch. Jean-Louis Benjamin Boksa wrote: I'd hate to see too much work go into hacking *around* the script API -- it's brand new! The best outcome

Re: inparallel setting not being honored

2009-12-09 Thread Jean-Louis Martineau
Increase your holding disk size. Amanda reserve all the space needed for a dle when it start it, even if 'df' show it is free, the space is reserved. Nomad wrote: I've noticed that the "inparallel" setting appears to not be honored. The server is running 2.6.1p2, redhat enterprise 5.4, it ha

Re: "waiting for holding disk space" during dumps

2009-12-09 Thread Jean-Louis Martineau
The backup size is larger than the estimate size. Amanda try to use more holding space, but it is reserved for others dle, it wait for some dle to be flushed to tape before it can use more holding disk and continue the dump. Jean-Louis Nomad wrote: (Sorry for the quickfire question submission

Re: amanda-client.conf ?

2009-12-09 Thread Jean-Louis Martineau
amrecover -oauth=bsdtcp Jean-Louis stan wrote: Tried to do some recovering yesterday, using amrecover, and could not get past the "timeout waiting for ack" on systems that were working, the last time I checked. Goggle led me to a post on the Zamnda forum suggesting that I needed an amanda-clie

Re: taper flush failure?

2009-12-11 Thread Jean-Louis Martineau
The dump is still on holding and will be flushed on the next run. The error is because amanda tried to flush it, but failed because the tape was full and your flush_* criteria doesn't allowed amanda to use another tape. You will et an error like this at every run, it is the latest dle amanda tr

Re: The Return of the README

2009-12-17 Thread Jean-Louis Martineau
Hi Charles, Thanks for the good work. I have a few comments: * Written in C. should be: * Written in C and perl * Supports Kerberos 4 and 5 security, including encrypted dumps. should be: * Supports Kerberos 5 security, including encrypted dumps. Kerboros 4 is no longer supported. * Full

Re: Fwd: The Coyote Den AMANDA MAIL REPORT FOR December 20, 2009

2009-12-20 Thread Jean-Louis Martineau
What's the output of: amadmin CONF version | grep BUILT_REV. This bug is fixed in 2362 Download the latest 20091218 snapshot if you have an early build. Jean-Louis Gene Heskett wrote: Greetings; More of the same with 20091217's snapshot. Comments inserted. -- Forwarded Message

Re: snapshot cleanup

2010-01-06 Thread Jean-Louis Martineau
Amanda should remove the snapshot. It's a bug if it doesn't. The pre_dle_* scripts create the snapshot and the post_dle_* scripts remove them. Do you configured the post_dle_* scripts? Jean-Louis Brian Cuttler wrote: Amanda 2.6.1p1 on Solaris 10/x86. We have been running great! However beca

Re: snapshot cleanup

2010-01-06 Thread Jean-Louis Martineau
In case of hard failure, the post_dle_* scripts are not executed and the snapshot are not removed, you must removed them manually. Jean-Louis Brian Cuttler wrote: Jean-Louis, On Wed, Jan 06, 2010 at 10:15:48AM -0500, Jean-Louis Martineau wrote: Amanda should remove the snapshot. It

Re: intermittent amanda failure

2010-01-06 Thread Jean-Louis Martineau
Steve Wray wrote: On the client, in the sendbackup.20100106012630.debug log I see: sendbackup-gnutar: time 0.056: /usr/lib/amanda/runtar: pid 3348 sendbackup: time 0.057: started backup sendbackup: time 90.352: index tee cannot write [Broken pipe] sendbackup: time 90.352: pid 3346 finish time W

Re: intermittent amanda failure

2010-01-06 Thread Jean-Louis Martineau
Steve Wray wrote: Jean-Louis Martineau wrote: Steve Wray wrote: On the client, in the sendbackup.20100106012630.debug log I see: sendbackup-gnutar: time 0.056: /usr/lib/amanda/runtar: pid 3348 sendbackup: time 0.057: started backup sendbackup: time 90.352: index tee cannot write [Broken pipe

Re: intermittent amanda failure

2010-01-06 Thread Jean-Louis Martineau
Steve Wray wrote: Dustin J. Mitchell wrote: On Wed, Jan 6, 2010 at 4:01 PM, Steve Wray wrote: Am I to understand that there could be a problem in having 'too many' DLE's for bsd or bsdudp to cope with? I never thought of there being a limit to the number of DLE's before... Our disklist fil

Re: intermittent amanda failure

2010-01-06 Thread Jean-Louis Martineau
Run 'amadmin disklist' and check the auth is set as expected for all dles. Jean-Louis Steve Wray wrote: Jean-Louis Martineau wrote: Steve Wray wrote: Jean-Louis Martineau wrote: Steve Wray wrote: On the client, in the sendbackup.20100106012630.debug log I see: sendbackup-gn

Re: Best way of performing a yearly backup?

2010-01-11 Thread Jean-Louis Martineau
Don't edit the tapelist by hand, run: amadmin CONF no-reuse DailySet107 Jean-Louis mailinglis...@brennt.net wrote: Hello, On Mon, 11 Jan 2010 14:34:18 -0800, Paul Yeatman wrote: I think the command you are thinking of is "amrmtape"? Running this will cause Amanda to "forget" about the t

Re: index removal question

2010-01-12 Thread Jean-Louis Martineau
Jean-Francois, It is a bug that the index files are removed for 'strategy skip' dles. The attached patch fix it. Jean-Louis Jean-Francois Malouin wrote: Hi, Last Friday we got bitten by a rather vicious raid controller firmware/codeset that corrupted some of our raidsets when a disk failed in

Re: What is this log file trying to tell me?

2010-01-13 Thread Jean-Louis Martineau
What is the error you get from amcheck? The '229.046' time is high for amcheck, try increasing ctimeout. Jean-Louis stan wrote: WE are still having major issues with our Amanda backups. Most of the machines that are failing still use UDP, and we recognize the need to get newer version of Amand

Re: Amanda (and I) are confused :-)

2010-01-15 Thread Jean-Louis Martineau
Stan, can you post the problem at the beginning of your post, I don't like to read a long post when I don't know why I read it. It's worse than top-posting :-).Subject should describe the problem, not how you feel. Post the taper debug files Jean-Louis ps. according to amcheck output, you are

Re: Amanda (and I) are confused :-)

2010-01-15 Thread Jean-Louis Martineau
stan wrote: 1263560285.332896: taper: changer: << 3 rait:{file:/vtapes/DailyDump/vtape3,tape:/dev/nst0} 1263560285.333214: taper: status = complete 1263560285.447278: taper: warning: Inconsistent volume labels/datestamps: Got DailyDump52/20100113222821 on file:/vtapes/DailyDump/vtape3 against

Re: Amanda (and I) are confused :-)

2010-01-15 Thread Jean-Louis Martineau
Are you sure the current slot is the correct one, Check the /vtapes/DailyDump/data link? Did it link to the slot with the DailyDump53 volume? Jean-Louis stan wrote: On Fri, Jan 15, 2010 at 09:31:47AM -0500, Jean-Louis Martineau wrote: stan wrote: 1263560285.332896: taper: changer

Re: Runtapes Question

2010-01-15 Thread Jean-Louis Martineau
If I understand, it's the disk array for the vtapes that failed? Did you run 'amrmtape CONFIG LABEL' for each label so that amanda know that the backup on those tape are no longer valid? If not, then why amanda would do full dump? amanda think the previous dump are still available. jsummers wr

Re: amrecover problem

2010-01-18 Thread Jean-Louis Martineau
The recover protocol changed, you are still configured for the old protocol, you can use it with the 'amoldrecover' command. But you can also configure the server for the new protocol. Yogesh Hasabnis wrote: Hi All, We are using amanda 2.5.2p1 in our setup. The backup server and the client ar

Re: intermittent amanda failure

2010-01-21 Thread Jean-Louis Martineau
Dustin J. Mitchell wrote: If I restart euclid's inetd config to run it with the wrong -auth parameter, then amcheck says: WARNING: euclid: selfcheck request failed: timeout waiting for ACK Client check: 2 hosts checked in 30.030 seconds. 1 problem found. xinetd is still configured to accept a

Re: FW: History report?

2010-01-28 Thread Jean-Louis Martineau
Parse the output of: amadmin find Not exactly what you want: amanda due Jean-Louis stan wrote: Beacuse of the ongoing problems we ar having with getting reliable Amanda backups here, it has dawned on me that it would be nice to have a report showing how old the newest level zero is for each D

Re: pre script problem

2010-02-02 Thread Jean-Louis Martineau
William, pre-host-backup and post-host-backup script can only be run on server. Jean-Louis William Taylor wrote: Im having a problem with getting a pre script to run. Here is my relevant config. I have tried pre-dle-backup and pre-host-backup amanda.conf: define script-tool findnetappfu

Re: pre script problem

2010-02-03 Thread Jean-Louis Martineau
1265152485.007169: sendbackup: Spawning "/usr/libexec/amanda/application/findnetappfulls findnetappfulls PRE-DLE-BACKUP --execute-where client --config DailySet1 --host foo.host.net --disk /backups/ --device /backups/ --level 1" in pipeline The debug file show the script

Re: Preventing simultaneous dump + write.

2010-02-08 Thread Jean-Louis Martineau
Jerome Ibanes wrote: This is a followup from the forum's question: http://forums.zmanda.com/showthread.php?p=9221 Why did you recommend 1000 and not 100 for the thresholds? Must be something above runtapes*100, I just took a big value. The method I'm using right now is to do the dump first with

Re: Store on holding disk and dumpin weekly on tapes?

2010-02-12 Thread Jean-Louis Martineau
Easy to do. Every days run: amdump CONF -otpchanger= -otapedev= -oreserve=0 To flush to tape: amflush CONF Jean-Louis Dimiter Maznekov wrote: Is it posible to be setup this way of backuping? Daily make backup according DLE, but storring on holding disk and at the end of the week to be flushed

Re: exclude list not working on clients.

2010-02-26 Thread Jean-Louis Martineau
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 th

Re: exclude list not working on clients.

2010-02-26 Thread Jean-Louis Martineau
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 To: Jobst Schmalenbach Cc: amanda-users@amanda.org Subject: Re: exclude list not working on clients. Date: Fri, 26 Feb 2010 10

Re: Amanda's future?

2010-02-28 Thread Jean-Louis Martineau
Gene, Neither Dustin nor me had the privilege to fix the permission issue. Permission get fixed, I uploaded the latest snapshot. Jean-Louis Gene Heskett wrote: On Sunday 28 February 2010, Dustin J. Mitchell wrote: On Sat, Feb 27, 2010 at 7:34 PM, Gene Heskett wrote: I am sorry D

Re: 2 config, noinc and nofull

2010-03-04 Thread Jean-Louis Martineau
I never like using two configs. Recovery is complex. Why not use one config? amanda don't allow it, but you can cheat. Edit amanda.conf every days to change the tpchanger and strategy, if could be done by a simple script, or more easily, put the difference in separate file and use 'includefile'

Re: 2 config, noinc and nofull

2010-03-04 Thread Jean-Louis Martineau
Brian Cuttler wrote: On Thu, Mar 04, 2010 at 06:28:08AM -0500, Jean-Louis Martineau wrote: I never like using two configs. Recovery is complex. Why not use one config? amanda don't allow it, but you can cheat. Edit amanda.conf every days to change the tpchanger and strategy, if cou

Re: Force a dump to remain in holding disk

2010-03-04 Thread Jean-Louis Martineau
Disable the tapedev and tpchanger: amdump CONF -otapedev= -otpchanger= Jean-Louis Dr 440 wrote: Is there a way to get a backup to remain in the holding disk? In the morning when I get in to work, I review the backup jobs from the night prior, and occasionally there is an error in one of t

Release of Amanda-3.1.0beta1

2010-03-25 Thread Jean-Louis Martineau
ore natural command-line interface (just run 'amreport $config') o experimental XML output * configuration override for dumptype works with inheritance. Jean-Louis Martineau

Re: runtar exited with status 1

2010-03-26 Thread Jean-Louis Martineau
With the amgtar application (in 3.1.0), an exit status of 1 from runtar is not an error. "file changed as we read it" will still result in STRANGE result, but you can add a regex to turn it into a SUCCESS. Jean-Louis Toomas Aas wrote: Hello! I upgraded Amanda from 2.5.1p3 to 2.6.1p2 on my Fr

Re: [Amanda-users] amlabel error on 3.1.0beta1

2010-03-31 Thread Jean-Louis Martineau
Look in the amlabel.*.debug file, it might gives a better error message. Jean-Louis whale wrote: Hi, I testing amanda-3.1.0rc08-20100317 with chg:robot on ubuntu server 8.04 LTS and everything is working fine. I tried to upgrade to beta1 I'm able to compile and install from source. Config opt

Re: Trying to buld amanda on mandriva-2010-x64 fails

2010-04-10 Thread Jean-Louis Martineau
Gene, You need perl-devel. Jean-Louis Gene Heskett wrote: Greetings all; Trying to run my scripts to make amanda on an mdv system ends with: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../config -I../common-src -I../common-src -I../amandad-src -I../amar-src -I../xfer-src -I../perl/amglue

Re: Still the puzzle, and I'm feeling ignored, why?

2010-04-22 Thread Jean-Louis Martineau
Gene, Do the tapelist is correct? Do all log files are found? Do the dump are listed in the output of: amadmin Daily find Post the amindexd debug file. Jean-Louis Gene Heskett wrote: Greeting all; I just built the latest snapshot, and I still cannot do an amrecover as it is not finding the i

Re: Still the puzzle, and I'm feeling ignored, why?

2010-04-22 Thread Jean-Louis Martineau
You lost all log files, They should in the `amgetconf Daily logdir`/oldlog directory, moved them to `amgetconf test logdir`. Jean-Louis Gene Heskett wrote: On Thursday 22 April 2010, Dustin J. Mitchell wrote: On Thu, Apr 22, 2010 at 11:00 AM, Gene Heskett wrote: 500 No dumps ava

Re: amrecover 3.1.0beta2 with dumps spanning tapes

2010-05-03 Thread Jean-Louis Martineau
Jean-Francois, Thanks for testing. Can you try the attached patch? It fix a bug I added :-( Jean-Louis Jean-Francois Malouin wrote: Hi, More toying with 3.1.0beta2. Using amrecover to extract a multi virtual tape dump I see something confusing even though in the end the dump is successful

Re: amdump -o

2010-05-06 Thread Jean-Louis Martineau
$man amdump SYNOPSIS amdump config [host [disk...]...] [{-o configoption}...] The config must be the first argument: Jean-Louis Brian Cuttler wrote: Amanda 2.6.1p1 I thought this used to work, its current in the man page. # amdump -o tapedev=/dev/nst1 cascade cascade /cascadep/export/

Re: The canary died

2010-05-10 Thread Jean-Louis Martineau
Hi Gene, Can you confirm you are using the 'bsd' auth? Try the attached patch. Thanks for testing. Jean-Louis Gene Heskett wrote: Greetings; Built 3.2-3003 earlier today, amcheck worked fine. amrecover OTOH, killed the canary: [r...@coyote amanda-3.2.0alpha.svn.3003]# amrecover

Re: amflush question

2010-05-21 Thread Jean-Louis Martineau
Robert, You can override it like all amanda confoguration. $ amflush CONF -otaperflush=0 Jean-Louis McGraw, Robert P wrote: Running amanda 2.6.1/p2 Sun Solaris 10 x86 In my amanda.conf file I have flush-threshold-dumped100 flush-threshold-scheduled 100 #taperflush

Re: Why is this an error

2010-05-21 Thread Jean-Louis Martineau
McGraw, Robert P wrote: Running Amanda-2.6.1-p2 On Solaris 10 X86 Why is this considered an error? No reason, already fixed it in 3.1, it is not an error. Jean-Louis I check the error status of my amdump and base on the error status after it finishes I take certain actions. Is there some

Re: amrecover core dumps Amanda 3.1.0beta2

2010-05-28 Thread Jean-Louis Martineau
Gunnar, This bug is already fixed in the svn repository. Thanks for testing and reporting the problem. Jean-Louis Gunnarsson, Gunnar wrote: While testing amrecover I got core dump see below on Solaris sparc amrecover> extract Extracting files from holding disk on host localhost. The follow

Re: New options autolabel Amanda 3.1.0bet2

2010-05-28 Thread Jean-Louis Martineau
Gunnar, As a workaround, you just need to create an empty tapelist file. Thanks for reporting this problem. Jean-Louis Gunnarsson, Gunnar wrote: I got the fatal error see below while testing the new option autolabel, the configuration was empty and amcheck -s was ok. The next tape Amanda e

Release of amanda-3.1.0

2010-06-01 Thread Jean-Louis Martineau
Hello, The Amanda core team is pleased to announce the release of Amanda 3.1.0. Source tarballs are available from * http://www.amanda.org * https://sourceforge.net/project/showfiles.php?group_id=120 Binaries for many systems are available from * http://www.zmanda.com/download-amand

Re: amanda taking way to long to finish

2010-06-02 Thread Jean-Louis Martineau
Robert, You are using calcsize for the estimate, it doesn't use check the device number. But when you do the backup, tar check the device, as you mount it every time, it have different device number and it backup all files. Set the "CHECK-DEVICE" property of amgtar to "NO". (man amgtar) Jean

Re: Estimate crossing file system boundries

2010-06-03 Thread Jean-Louis Martineau
exclude doesn't works amstar. Jean-Louis Brian Cuttler wrote: Amanda Users, Dustin, We are using amanda 2.6.1p1 on a Solaris 10x86 system with ZFS snapshots. We where aware that one of the file systems was too large to fit on a single tape volume, even though it was an LTO4 tape. This is the

Re: After upgrading to 3.1.0: ETIMEOUT must be positive

2010-06-09 Thread Jean-Louis Martineau
int . A negative value will be interpreted as a total amount of time to wait per client instead of per disk. Who's wrong? Manpage or program code? Well, it was changed in this commit: commit 1a2051ece2e27fea65b9bf05dac235a7e358f52a Author: Jean-Louis Martineau Date: Thu Dec 17

Re: perl scripting and the new API with amanda-3.1.0

2010-06-16 Thread Jean-Louis Martineau
use-slots is a property, each property is an array. You should do something like: $properties = changer_config_getconf($ss, $CHANGER_CONFIG_PROPERTY); #get all properties @slot_range = $properties->{'use-slots'}; #get 'use-slots' property You must then use the first element of the @slot_rang

Release of amanda-3.1.1

2010-06-29 Thread Jean-Louis Martineau
Hello, The Amanda core team is pleased to announce the release of Amanda 3.1.1. It is a bug file release. Source tarballs are available from * http://www.amanda.org * https://sourceforge.net/project/showfiles.php?group_id=120 Binaries for many systems are available from * http://w

Re: connection refued when switching to bsdtcp

2010-06-30 Thread Jean-Louis Martineau
McGraw, Robert P wrote: inetadm -l amanda/udp SCOPENAME=VALUE name="amanda" endpoint_type="dgram" proto="udp" isrpc=FALSE wait=TRUE exec="/local/amanda/amanda/libexec/amanda/amandad -auth=bsdtcp amdump amindexd amidxtaped"

Re: What leads to FAIL ?

2010-07-08 Thread Jean-Louis Martineau
Stefan G. Weichinger wrote: Since amanda-3.1.x my backups nearly always FAIL (the amanda-report-mails tell me so). Without going into detail: is there some list of events triggering that FAIL ? Is it just because not all DLEs fit onto tape every time? No, it's because one of the DLEs was no

Re: exit-handling question

2010-07-08 Thread Jean-Louis Martineau
Exit code to amgtar and amdump are not related. Look at the amdump man page for exit code of amdump, you can filter the bit (16) you don't care about. Jean-Louis McGraw, Robert P wrote: Running amanda-3.1.1 I am using the following to save on tape usage flush-threshold-dumped100 f

Re: amstar regex does not work

2010-07-13 Thread Jean-Louis Martineau
It works for me. Either it is a bug in your regex library or you are running an older amstar, its version is on the first line of the amstar debug file. Jean-Louis Dennis Benndorf wrote: Hello @all, I had a conversation with Dustin about amstar and the regex. Here is what we discussed: I

Re: -o taperflush question

2010-07-14 Thread Jean-Louis Martineau
try: amflush -otaperflush=0 daily solaris require that all dash argument are before the config name. except for amdump which is a shell script. Jean-Louis McGraw, Robert P wrote: I am trying to run something like amflush daily -otaperflush=0 but I get "Argument '-otaperflush=0' matche

Re: amstatus tape usage enhancement

2010-07-19 Thread Jean-Louis Martineau
Hi Jean-François, Try the attached patch, it will works with newer log files only. Thanks for reporting the bug. Jean-Louis Jean-Francois Malouin wrote: Hi, With amanda-3.1 seems we lost the tape usage in the summary report output by amstatus. Prior versions were showning which tape has been

Re: Incrementals always do full?

2010-07-20 Thread Jean-Louis Martineau
Do you checked the debug log on the client? Any error in them? Do you have 'record' set to yes in the dumptype? post the output of: amadmin CONF disklist Can you stat a few files after two different backup to be sure that nothing change. Jean-Louis Jim Kusznir wrote: Hi all: I've got a fil

Re: amstatus tape usage enhancement

2010-07-21 Thread Jean-Louis Martineau
Do the dump was done with the patched taper? Jean-Louis Jean-Francois Malouin wrote: Hello Jean-Louis, I was away hence the delay. * Jean-Louis Martineau [20100719 08:31]: Hi Jean-François, Try the attached patch, it will works with newer log files only. Thanks for reporting the bug

Re: No acceptable volumes found

2010-08-03 Thread Jean-Louis Martineau
I assume you put a tape you think amanda can use in the changer? What is on that tape? Is it labeled? is it new? What's is your autolabel setting? What is the tapecycle? How many reusable tape in the tapelist file? What's the output of: amtape CONF taper It fail on the first or second tape? Jean

Re: No acceptable volumes found

2010-08-03 Thread Jean-Louis Martineau
Brian Cuttler wrote: What's the output of: amtape CONF taper It fail on the first or second tape? ~# su amanda -c "~amanda/sbin/amtape down taper" slot 25: volume 'av48-2_down_Q00060' is still active and cannot be overwritten slot 26: volume 'av48-2_down_Q00061' is still active and cannot

Re: amoverview under 3.1.2

2010-09-13 Thread Jean-Louis Martineau
Robert, can you try the attached patch? Jean-Louis McGraw, Robert P wrote: As a followup, I ran amoverview and removed the WARNINGS messages and it seems to be working correctly. Here is a snippet" date NM TO 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08

Re: amoverview under 3.1.2

2010-09-13 Thread Jean-Louis Martineau
Dustin J. Mitchell wrote: On Mon, Sep 13, 2010 at 11:04 AM, Jean-Louis Martineau wrote: Robert, can you try the attached patch? (only the amoverview hunk is required, right Jean-Louis?) yes, The correct patch is attached. Jean-Louis diff --git a/server-src/amoverview.pl b

<    10   11   12   13   14   15   16   17   18   19   >