Re: errors like TypeError in method ...
I'm attaching the debug files Best regards, Gregor Ibic From: Jean-Louis Martineau To: gregor.i...@intelicom.si, Cc: amanda-hack...@amanda.org, amanda-users@amanda.org Date: 12/12/2011 06:29 PM Subject:Re: errors like TypeError in method ... Sent by:owner-amanda-hack...@amanda.org On 12/12/2011 12:07 PM, gregor.i...@intelicom.si wrote: > Yes, tmp was full. I remounted it, and now there is a single line. > > time .. amdump pid 6990 ruid 112 euid 0 version 3.3.0: start at time ... I want to see the debug for the process that get the 'TypeError'. Try amcheck and post the amcheck and amcheck-device debug files. Jean-louis > > > > > > > From: Jean-Louis Martineau > To: gregor.i...@intelicom.si, > Cc: amanda-hack...@amanda.org, amanda-users@amanda.org > Date: 12/12/2011 06:01 PM > Subject: Re: errors like TypeError in method ... > > > > > On 12/12/2011 11:56 AM, gregor.i...@intelicom.si wrote: > > Jean-Louis, > > > > Thank you for your patch, but I still get the same error. Nothing has > > changed. > > I patched the source and recompiled it, and also checked if perl > > script is changed. > > Debug is empty with zero file size. > > An empty debug file? Do the filesystem is full? > > Jean-Louis > > > > > > > > Best regards, > > Gregor > > > > > > > > > > From: Jean-Louis Martineau > > To: gregor.i...@intelicom.si, > > Cc: amanda-hack...@amanda.org, amanda-users@amanda.org > > Date: 12/12/2011 04:46 PM > > Subject: Re: errors like TypeError in method ... > > Sent by: owner-amanda-hack...@amanda.org > > > > > > > > > > Gregor, > > > > Try the attached patch, You can also apply the patch manually to the > > installed Amanda/Debug.pm if you do not compile amanda yourself. > > > > Post the complete debug file if it fail again. > > > > Jean-Louis > > > > On 12/12/2011 10:16 AM, gregor.i...@intelicom.si wrote: > > > Hi, > > > > > > I'm using Amanda for 7 years now, and now the version 2.6.* does not > > > compile anymore on linux. > > > So I tried versions 3.2.* and 3.3.* , and every version I tried it > > > segfaults on some point. > > > On amlabel, or amcheck or amdump. > > > > > > I get errors like TypeError in method 'critical' , argument 1 of type > > > char * > > > > > > Best regards > > > Gregor > > > > [attachment "critical.diff" deleted by Gregor Ibic/INTELICOM] > > debug.tar.gz Description: Binary data
Re: errors like TypeError in method ...
I run amdump trak under amanda account. And I get that error. From: Jean-Louis Martineau To: gregor.i...@intelicom.si, Cc: amanda-hack...@amanda.org, amanda-users@amanda.org Date: 12/12/2011 08:21 PM Subject:Re: errors like TypeError in method ... Sent by:owner-amanda-hack...@amanda.org On 12/12/2011 02:00 PM, gregor.i...@intelicom.si wrote: > I'm attaching the debug files Everything looks good, where do you get the 'TypeError' message? Cut&paste the command you ran and it's stdout/stderr. I see no amcheck-device debug file? can you post it. Jean-Louis > > > > Best regards, > Gregor Ibic > > > > > From: Jean-Louis Martineau > To: gregor.i...@intelicom.si, > Cc: amanda-hack...@amanda.org, amanda-users@amanda.org > Date: 12/12/2011 06:29 PM > Subject: Re: errors like TypeError in method ... > Sent by: owner-amanda-hack...@amanda.org > > > > > On 12/12/2011 12:07 PM, gregor.i...@intelicom.si wrote: > > Yes, tmp was full. I remounted it, and now there is a single line. > > > > time .. amdump pid 6990 ruid 112 euid 0 version 3.3.0: start at time ... > > I want to see the debug for the process that get the 'TypeError'. > > Try amcheck and post the amcheck and amcheck-device debug files. > > Jean-louis > > > > > > > > > > > > > > From: Jean-Louis Martineau > > To: gregor.i...@intelicom.si, > > Cc: amanda-hack...@amanda.org, amanda-users@amanda.org > > Date: 12/12/2011 06:01 PM > > Subject: Re: errors like TypeError in method ... > > > > > > > > > > On 12/12/2011 11:56 AM, gregor.i...@intelicom.si wrote: > > > Jean-Louis, > > > > > > Thank you for your patch, but I still get the same error. Nothing has > > > changed. > > > I patched the source and recompiled it, and also checked if perl > > > script is changed. > > > Debug is empty with zero file size. > > > > An empty debug file? Do the filesystem is full? > > > > Jean-Louis > > > > > > > > > > > > Best regards, > > > Gregor > > > > > > > > > > > > > > > From: Jean-Louis Martineau > > > To: gregor.i...@intelicom.si, > > > Cc: amanda-hack...@amanda.org, amanda-users@amanda.org > > > Date: 12/12/2011 04:46 PM > > > Subject: Re: errors like TypeError in method ... > > > Sent by: owner-amanda-hack...@amanda.org > > > > > > > > > > > > > > > > Gregor, > > > > > > Try the attached patch, You can also apply the patch manually to the > > > installed Amanda/Debug.pm if you do not compile amanda yourself. > > > > > > Post the complete debug file if it fail again. > > > > > > Jean-Louis > > > > > > On 12/12/2011 10:16 AM, gregor.i...@intelicom.si wrote: > > > > Hi, > > > > > > > > I'm using Amanda for 7 years now, and now the version 2.6.* does not > > > > compile anymore on linux. > > > > So I tried versions 3.2.* and 3.3.* , and every version I tried it > > > > segfaults on some point. > > > > On amlabel, or amcheck or amdump. > > > > > > > > I get errors like TypeError in method 'critical' , argument 1 of > type > > > > char * > > > > > > > > Best regards > > > > Gregor > > > > > > [attachment "critical.diff" deleted by Gregor Ibic/INTELICOM] > > > > > >
Re: errors like TypeError in method ...
Yes, tmp was full. I remounted it, and now there is a single line. time .. amdump pid 6990 ruid 112 euid 0 version 3.3.0: start at time ... From: Jean-Louis Martineau To: gregor.i...@intelicom.si, Cc: amanda-hack...@amanda.org, amanda-users@amanda.org Date: 12/12/2011 06:01 PM Subject:Re: errors like TypeError in method ... On 12/12/2011 11:56 AM, gregor.i...@intelicom.si wrote: > Jean-Louis, > > Thank you for your patch, but I still get the same error. Nothing has > changed. > I patched the source and recompiled it, and also checked if perl > script is changed. > Debug is empty with zero file size. An empty debug file? Do the filesystem is full? Jean-Louis > > > > Best regards, > Gregor > > > > > From: Jean-Louis Martineau > To: gregor.i...@intelicom.si, > Cc: amanda-hack...@amanda.org, amanda-users@amanda.org > Date: 12/12/2011 04:46 PM > Subject: Re: errors like TypeError in method ... > Sent by: owner-amanda-hack...@amanda.org > > > > > Gregor, > > Try the attached patch, You can also apply the patch manually to the > installed Amanda/Debug.pm if you do not compile amanda yourself. > > Post the complete debug file if it fail again. > > Jean-Louis > > On 12/12/2011 10:16 AM, gregor.i...@intelicom.si wrote: > > Hi, > > > > I'm using Amanda for 7 years now, and now the version 2.6.* does not > > compile anymore on linux. > > So I tried versions 3.2.* and 3.3.* , and every version I tried it > > segfaults on some point. > > On amlabel, or amcheck or amdump. > > > > I get errors like TypeError in method 'critical' , argument 1 of type > > char * > > > > Best regards > > Gregor > > [attachment "critical.diff" deleted by Gregor Ibic/INTELICOM]
Re: errors like TypeError in method ...
Jean-Louis, Thank you for your patch, but I still get the same error. Nothing has changed. I patched the source and recompiled it, and also checked if perl script is changed. Debug is empty with zero file size. Best regards, Gregor From: Jean-Louis Martineau To: gregor.i...@intelicom.si, Cc: amanda-hack...@amanda.org, amanda-users@amanda.org Date: 12/12/2011 04:46 PM Subject:Re: errors like TypeError in method ... Sent by:owner-amanda-hack...@amanda.org Gregor, Try the attached patch, You can also apply the patch manually to the installed Amanda/Debug.pm if you do not compile amanda yourself. Post the complete debug file if it fail again. Jean-Louis On 12/12/2011 10:16 AM, gregor.i...@intelicom.si wrote: > Hi, > > I'm using Amanda for 7 years now, and now the version 2.6.* does not > compile anymore on linux. > So I tried versions 3.2.* and 3.3.* , and every version I tried it > segfaults on some point. > On amlabel, or amcheck or amdump. > > I get errors like TypeError in method 'critical' , argument 1 of type > char * > > Best regards > Gregor [attachment "critical.diff" deleted by Gregor Ibic/INTELICOM]
errors like TypeError in method ...
Hi, I'm using Amanda for 7 years now, and now the version 2.6.* does not compile anymore on linux. So I tried versions 3.2.* and 3.3.* , and every version I tried it segfaults on some point. On amlabel, or amcheck or amdump. I get errors like TypeError in method 'critical' , argument 1 of type char * Best regards Gregor
Re: samba backups
As I wrote about issues with samba backup, I can now say that backup doesnt stall if I enable compression on server (amanda server), and regulary stalls without compression. Has to be something wrong with pipeing to tar. regards, Gregor
Re: samba backups
Hi, I checked and there is plenty of space on all drives, and samba does not log anything on smbclient behalf. And I dont run samba server. Strange that the other amada config dumps fine, and this stalls everytime on same spot! regards, Gregor Ibic
Re: samba backups
Hm, hm, strange. I created a new amanda conf with only that share in disklist and it finishes ok. Could be a problem of indexing? I saw that once a while sendbackup sends index info, for file indexing purpose. Could this be a problem? Where can I trace this out. It seems that is not a smbclient problem, but with some thing in Amanda. regards, gregor
Re: samba backups
Here is a process list and strace to smbclient and tar. You can see that is stalled at some opening of the file. I modified share name and file name for security reasons. regards, gregor 19432 ?S 0:00 /bin/sh /usr/sbin/amdump tape 19442 ?S 0:20 /usr/libexec/amanda/driver tape 19443 ?S 21:31 taper tape 19444 ?S 69:20 dumper0 tape 19445 ?S 5:36 dumper1 tape 19446 ?S 3:26 dumper2 tape 19447 ?S 17:10 taper tape 24836 ?S 0:00 /usr/libexec/amanda/sendbackup 24838 ?S 0:00 /bin/gzip --best 26743 ?S 0:01 /usr/libexec/amanda/sendbackup 26761 ?S 0:00 pickup -l -t fifo -u 26747 ?S 0:00 sed -e s/^\.// 26746 ?S 0:00 /bin/tar -tf - 26745 ?S 0:00 sh -c /bin/tar -tf - 2>/dev/null | sed -e 's/^\.//' 26744 ?S 0:07 smbclient \\server\sharename -U username -E -d0 -Tqca 26778 pts/15 R 0:00 ps ax [EMAIL PROTECTED] root]# strace -p 26744 Process 26744 attached - interrupt to quit write(2, "NT_STATUS_ACCESS_DENIED opening "..., 134 Process 26744 detached [EMAIL PROTECTED] root]# strace -p 26745 Process 26745 attached - interrupt to quit wait4(-1, Process 26745 detached [EMAIL PROTECTED] root]# strace -p 26746 Process 26746 attached - interrupt to quit read(0, Process 26746 detached [EMAIL PROTECTED] root]# strace -p 26747 Process 26747 attached - interrupt to quit read(0, Process 26747 detached [EMAIL PROTECTED] root]# strace -p 26743 Process 26743 attached - interrupt to quit read(0, Process 26743 detached [EMAIL PROTECTED] root]# strace -p 24836 Process 24836 attached - interrupt to quit write(2, "filename.txt (\\Data\\"..., 50 Process 24836 detached
Re: samba backups
Ok, I wait for 10 hours (ethernity for me), and I see that it backuped about 300MB of a 30GB job. Other shares that work are on the same server, just on the other partition. Then I kill smbclient and amdump resumes till the end of disklist. I will try with . (dot) and report, but I notice that the manual run of smbclient also stalls for about 10sec at the point (file/folder) where smbclient from amanda stalls, but then resumes normally. At that point smbclient receives about 100th error with permission denied, but on manual run this doesnt bother the execution. I will also try to strace the process (didnt come to my mind sorry). regards, Gregor Ibic
samba backups
I have a problem with backuping one samba share. Backup / smbclient stalls after backuping some data. Files on the server dont have permission to access them, but it should skip them with errors and backup other data, but sendbackup stalls and I have to kill smbclient to finish amdump. I dont receive timeout or any other error, it just waits for eternity. If I backup the same share directly from command line with same command ... smbclient .. -E -d0 -Tqca file.tar * it finished ok, with permission errors, but it finishes. What is wrong? regards, gregor
Re: runtapes problem
I have 1 logical tape in a cycle but this can be splited in two tapes. Is this ok? I dont want to do two day-alternate backup with full and increment 1 dumps. I want to do full dumps every day, and instead of using one tape I would like to use two tapes. Graeme Humphries wrote: On Thu, 2005-07-14 at 20:57 +0200, Gregor Ibic wrote: yes. should it be 2 ? It should be the number of tapes you have in a cycle, AFAIK. But I want to use everyday full backups on new tapes, in cycle of reusable tapes So you want full backups every day, onto a different tape every day? I'd think the easiest way to set this up would be to set tapecycle to the number of tapes you have in rotation, or the number of tapes your changer can hold, and then use the dumptype option "strategy noinc". Somebody who's been using AMANDA longer can probably correct me though. ;) Graeme
Re: runtapes problem
yes. should it be 2 ? But I want to use everyday full backups on new tapes, in cycle of reusable tapes Graeme Humphries wrote: On Thu, 2005-07-14 at 19:53 +0200, Gregor Ibic wrote: I switched from one tape to two tapes per run, and now I have problems with changer. It does not use the next free tape like it should, but it reuses the last used tape. Also it tries to use tapes that are marked with no-reuse. What's your tapecycle set to? Is it set to "1 tape"?
runtapes problem
I switched from one tape to two tapes per run, and now I have problems with changer. It does not use the next free tape like it should, but it reuses the last used tape. Also it tries to use tapes that are marked with no-reuse. I use 2.4.5 version. Should I downgrade or patch? regards, Gregor
amrecover / smb backups
I get core dumps often when doing smb restores. Usually when I have long directory names or with some national characters. If I select some higher directory, all subdirectories, also with strange names get restored fine. regards, gregor
RE: Encrypted network traffic
Title: Encrypted network traffic I would say, encrypt it on a lower layer like IPSEC. regards, gregor Intelicom d.o.o.Security software companyhttp://www.intelicom.siemail: [EMAIL PROTECTED]
RE: Who Is ... the author of amstatus?
I saw zour page, it looks a nice tool. It would be nice if you could rotate the image for 90 degrees, to have a timeline on x-axis. regards, gregor
RE: Samba issues
I submitted a bug to samba bugzilla. regards, gregor
Samba issues
I found out that if I run more than one samba dump (smbclient) at once, the smb jobs get stucked. If I run them serialy (spindle) it works much better (probaby ok). There must be some issues with multiple simultaneus smb jobs, but I cant tell what is wrong. Also the jobs have to be a little bit larger (few GB at least). regards, gregor
RE: Problems backing up via Samba - again.
Tape config fails. Yes I have holding disks, and this config worked time ago. I do not have always timeouts in the log. Sometimes the smbclient just stall after some hour of downloading data. It seems like the smbclient and tar stop comunicating or something like that. It maybe also the problem comunicating from smb traffic to localhost traffic (amanda protocol) at high utilizations. It is difficult to debug cause this happens only in the night. If i start it on the daylight, to disk config, it work just fine. I have to take one day and run tape config out of the schedule. regards, gregor
RE: Problems backing up via Samba - again.
I think I have a similar problem, but I didnt detect which file is causing problems. Also in one setup/config it signals the error and on the other config not. Everything is the same except the backup medium (tape, disk) really strange regards, gregor
smb backup timeout
I backup some smb shares. It worked nice for a while but then this strange things start to happen. I have several smb shares in disklist that i backup and it seems like the smbclient stalls on non/defined times. Sometimes one diskentry stall , on second time another diskentry stall, so the backup do not finish if I dont kill the smbclient. Strange thing is that on the same night i run a second backup job to disk, and this works ok. no problems. I then optimized the first backup job with 2 maxdumps, so in this way the other diskentries do not get blocked and added a spindle to smbshares, so only one is done at once. No difference. The smbclient stalls. With disk backup job it works ok. Any suggestions? regards, gregor
samba3
here is the latest patch to samba3. before there were more issues with smbtar, but there were solved (i posted a bug with some diffs and samba people fixed it). I patch samba and not amanda, to have a posibility to switch samba versions, that come more often that i want to mess with a working Amanda installation. Also I needed a way to switch to samba3 and back to samba2 to check the results. I tested the restore and it works ok. regards, gregor Intelicom d.o.o. Security software company http://www.intelicom.si email: [EMAIL PROTECTED] tel.: ++386 5 6309 158 fax.: ++386 5 6279 355 debug.c.diff Description: Binary data
RE: Amanda and Samba 3.0.0
the problem is that smbtar sends some other info at the end, and the size line is not properly parsed in samba. I created patches for Samba 3rc1, rc2 but not for 3.0.0 version. Please, make noise, bother me, to post a patch. Regards, gregor Intelicom d.o.o. Security software company http://www.intelicom.si email: [EMAIL PROTECTED] tel.: ++386 5 6309 158 fax.: ++386 5 6279 355 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stefan G. Weichinger Sent: Thursday, September 25, 2003 5:58 PM To: [EMAIL PROTECTED] Subject: Amanda and Samba 3.0.0 Hi, amanda-users, has anyone tried using the shiny new Samba 3.0 with Amanda? I compiled Samba 3.0 today and recompiled Amanda 2.4.4p1, too, just to make sure it knows about that new smbclient (don´t know if that was necessary). Now I get some ugly "driver: [no backup size line]" in my amstatus. The sendbackup.xy.debug for such a share looks like: > sendbackup: debug 1 pid 17352 ruid 0 euid 0: start at Thu Sep 25 17:39:31 2003 > /usr/local/libexec/sendbackup: version 2.4.4p1 > parsed request as: program `GNUTAR' > disk `//oops2/Dokeinst' > device `//oops2/Dokeinst' > level 1 > since 2003:9:23:21:11:31 > options `|;auth=bsd;index;exclude-file=.RECYCLER*;' > sendbackup: try_socksize: send buffer size is 65536 > sendbackup: time 0.001: stream_server: waiting for connection: 0.0.0.0.50019 > sendbackup: time 0.001: stream_server: waiting for connection: 0.0.0.0.50020 > sendbackup: time 0.001: stream_server: waiting for connection: 0.0.0.0.50021 > sendbackup: time 0.001: waiting for connect on 50019, then 50020, then 50021 > sendbackup: time 0.010: stream_accept: connection from 192.168.0.10.50027 > sendbackup: time 0.010: stream_accept: connection from 192.168.0.10.50028 > sendbackup: time 0.010: stream_accept: connection from 192.168.0.10.50029 > sendbackup: time 0.010: got all connections > sendbackup-gnutar: time 0.038: doing level 1 dump from date: 2003-09-23 21:11:31 GMT > sendbackup-gnutar: time 0.042: backup of \\oops2\Dokeinst > sendbackup: time 0.053: started index creator: "/bin/tar -tf - 2>/dev/null | sed -e 's/^\.//'" > sendbackup: time 0.043: spawning /usr/bin/smbclient in pipeline > sendbackup: argument list: smbclient \\oops2\Dokeinst -U backup -E -d0 -TXqcg - .RECYCLER* > sendbackup-gnutar: time 0.055: /usr/bin/smbclient: pid 17357 > sendbackup: time 0.381: 124: strange(?): NT_STATUS_ACCESS_DENIED listing \All Users\Anwendungsdaten\* > sendbackup: time 0.453: 124: strange(?): NT_STATUS_ACCESS_DENIED listing \All Users\Dokumente\* > sendbackup: time 0.455: 124: strange(?): NT_STATUS_ACCESS_DENIED listing \All Users\DRM\* > sendbackup: time 4.297: 124: strange(?): NT_STATUS_ACCESS_DENIED listing \LocalService\* > sendbackup: time 4.298: 124: strange(?): NT_STATUS_ACCESS_DENIED listing \NetworkService\* > sendbackup: time 4.299: 124: strange(?): NT_STATUS_ACCESS_DENIED listing \Stefan\* > sendbackup: time 4.301: 124: strange(?): [2003/09/25 17:39:35, 0] client/clitar.c:process_tar(1433) > sendbackup: time 4.301: 124: strange(?): tar: dumped 537 files and directories > sendbackup: time 4.302: 124: strange(?): [2003/09/25 17:39:35, 0] client/clitar.c:process_tar(1434) > sendbackup: time 4.303: 124: strange(?): Total bytes written: 9443840 > sendbackup: time 4.312: index created successfully > sendbackup: time 4.315: error [no backup size line] > sendbackup: time 4.316: pid 17352 finish time Thu Sep 25 17:39:35 2003 The line > sendbackup: argument list: smbclient \\oops2\Dokeinst -U backup -E -d0 -TXqcg - .RECYCLER* seemed odd to me, I checked dumptype and excludes: > define dumptype root-tar { > global > program "GNUTAR" > comment "root partitions dumped with tar" > compress none > exclude ".\Downloads\*" > exclude ".\hiberfil.sys" > exclude ".\RECYCLER\*" > priority low > dumpcycle 4 > } I will have a closer look at the exclude-options of the new smbclient. Maybe leaving the excludes away for testing tells me more. Good old Samba-exclusion-topic ;-) --- I haven´t explored further, but just want to probe: Is there a patch necessary to use Amanda 2.4.4p1 with Samba 3.0? If yes, does that patch exist already ? ;-) Thank you, Stefan G. Weichinger mailto:[EMAIL PROTECTED]
Adding a new kind of DUMPER
Where should i start with implementing a new kind of dumper? For some special database for example. I read the dumper-api doc, but the date is pretty old. Is it up to date? Also the code is pretty complicated to understand from source. Can someone give me an overview? thanks, gregor
RE: anyone used smbclient -T with the "r" option?
Samba3rc1. i tried to exclude smbclient //server/share -TcaqrX backup.tar "*.doc" and it worked then tried to exclude pagefile.sys smbclient //server/share -TcaqrX backup.tar "pagefile.sys" didnt work / but it is not a proper regular expression. this is ok. smbclient //server/share -TcaqrX backup.tar "*pagefile.sys" worked fine that's it. i moded samba like i said, but im a little wondered why i get segfault on selecting some directories in amrecover. regards, gregor
RE: anyone used smbclient -T with the "r" option?
I tried the regular expresion and excluding files, and it works just fine. regards, gregor
RE: anyone used smbclient -T with the "r" option?
samba3rc1 enables you to use regular expresions with smbtar. I did not tried using this functionality, but I was able to hack samba3rc1 to be usable under amanda. I will post the changed files to Intelicom's site for DL. will post the url. now im busy coding. Regards, gregor
RE: amrecover fatal error, smb restore
I experience same error. Also I have a hard disk based backup of some win2k. Also the error does not happen allways at the same point (change directory). Sometimes yes and sometimes not. I tried to restore at some upper directory and the restore was just fine. Regards, gregor
RE: Problems backing up large W2K drive
i installed cygwin version and it is working ok. with cygwin version you can exclude what do you like, just like on linux installation. regards, gregor
RE: amrecover problem: need help/advice
try to read the tape (or chunk - fsf) with dd dd if=/dev/nst0 of=/ bs=1024 count= where NNN is greater than your backup job/disk entry and see what happens i restored some valueable tape (MTF formated) reading this way and putting the pieces together. regards, gregor
RE: Win 2000?
use ntbackup, save the systemstate to file and backup this file to tape regards, gregor
RE: cleanup holding disk
no, amdanda works ok, i just some backup in the middle and wanted to clean all temporary files. rm works regards, gregor
cleanup holding disk
how can i clean holdingdisk i tried with amcleanup but holdingdisk still have files in it i dont want to flush it to the tape. regards, gregor
RE: backup of a mounted smb share
maybe i will try it. but the plan is to create an install package with precompiled cygwin version of amanda. regards, gregor
backup of a mounted smb share
I tried to backup a pre-mounted share from some win2k host in disklist I have amanda_server_name /mnt/mounted_smb_share root-tar-full when i try with amcheck, it said that everything is ok. also i can list files on a mounted directory but when i start the backup, and check with amstatus it say planner: /mnt/mounted_smb_share offline? what is the issue? I cant install amanda under cygwin, cause server is out of my control. regards, gregor --- Begin Message --- --- End Message ---
pre-backup jobs on client
I mentioned some time ago that it would be nice to have a possibility to trigger some jobs before backup is started. Jobs should be triggered on the client. It would be nice to trigger backups of ACL, maybe ntbackup jobs, I know that this can be done with ssh but it is not so nice. regards, gregor
RE: not an amanda tape
I also have such a situation! if I try to relabel it, it say that the tape is already labeled. But this is probably read from tapelist file and not really from the tape. version 2.4.4-20030605 chg-zd-mtx regards, gregor
RE: LTO1 tapetype
I first taped some jobs with amanda and check the speed of the unit. But Im not sure if speed parameter is used anyway. regards, gregor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Tom Brown Sent: Thursday, June 19, 2003 12:58 PM To: Gregor Ibic; AMANDA Users Subject: Re: LTO1 tapetype do you know what settings on the drive can effect this? Its preyy much as it was shipped. I'm investigating how to disable hardware compression but so far the vendor has not supplied the required information. thanks Tom
RE: LTO1 tapetype
round 13000kps regards, gregor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Tom Brown Sent: Thursday, June 19, 2003 12:31 PM To: Gregor Ibic; AMANDA Users Subject: Re: LTO1 tapetype what kind of speed should it be and how can i increase this write speed?
RE: LTO1 tapetype
speed should be much higher regards, gregor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Tom Brown Sent: Thursday, June 19, 2003 11:37 AM To: Paul Bijnens Cc: AMANDA Users Subject: Re: LTO1 tapetype its finished! define tapetype unknown-tapetype { comment "just produced by tapetype prog (hardware compression on)" length 104017 mbytes filemark 532 kbytes speed 2894 kps } does that look right for LTO1? Tom > Tom Brown wrote: > > I didn't give it an estimate no - If i were to would i estimate the > > 'uncompressed' capacity, in this case 100gig? > > yes. > > > > > I'm loathed to stop it now as its been running since yesterday afternoon and > > is currently > > > > Estimated time to write 2 * 1024 Mbyte: 174 sec = 0 h 2 min > > This means that *if* the capacity is 1 Gbyte, it would finish in 2 > minutes + some seconds. > > > wrote 3167649 32Kb blocks in 9687 files in 27409 seconds (short write) > > wrote 2930929 32Kb blocks in 17898 files.. > > It's almost finished... still about 9687*2 - 17989 files to go. > > > > > so i think it might be nearly finished? > > > > Just for curiosity, you can start it again afterwards with: > >amtapetype -e 100g ... > > and see what the estimated run is. You may kill it then, if you don't > want to wait any longer. > > > -- > Paul Bijnens, XplanationTel +32 16 397.511 > Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 > http://www.xplanation.com/ email: [EMAIL PROTECTED] > *** > * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * > * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * > * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * > * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * > * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ...* > * ... "Are you sure?" ... YES ... Phew ... I'm out * > *** > > >
chg-zd-mtx little coorection on rewinding
I changed the position of sleep command when tape is inserted with changer. Its better to wait first a poll_drive_ready seconds when tape is inserted and then try to rewind the tape. works really smoothly this way. if the delay is at the end of the loop, the rewind command produces errors, cause tape is not really fas enough. regards, gregor chg-zd-mtx.patch Description: Binary data
reuse of tapes
I setup amanda config for test environment and enter: dumpcycle 1 runspercycle 1 tapecycle 1 tapes and doing always full backup why I get problems on reusing the tape on the same day several times? I see that changer loops on all tapes and then exits. regards, gregor
RE: still having problems with name resolution backup to disk >of NT servers via samba
check with host ip_of_your_backup_server from the remote machine reverse lookup must be functional, or you can just put the alias in the hosts file regards, gregor
RE: holding disk 2GB
tar and another question. I have done backups and restores on LTO1 tapes just fine, but with LTO2 i have problem with restore. I reach the EOF and nothing happens. Any suggestions? regards, gregor -Original Message- From: Gene Heskett [mailto:[EMAIL PROTECTED] Sent: Sunday, June 15, 2003 11:05 PM To: Gregor Ibic; [EMAIL PROTECTED] Subject: Re: holding disk 2GB On Sunday 15 June 2003 16:24, Gregor Ibic wrote: >I have a 100GB holding disk, and chunks set to 0GB tar or dump? i've seen a rumor or 2 that dump, some versions has a limit but I'm not an expert on dump, I don't use it. tar-1.13-25 doesn't to my knowledge have such a limit. Please don't do a total clip of the old message, leave enough that the context of the discussion is clear, please. -- Cheers, Gene AMD [EMAIL PROTECTED] 320M [EMAIL PROTECTED] 512M 99.26% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attornies please note, additions to this message by Gene Heskett are: Copyright 2003 by Maurice Eugene Heskett, all rights reserved.
RE: holding disk 2GB
I have a 100GB holding disk, and chunks set to 0GB
holding disk 2GB
why i get chunks od 2Gb in holding disk even if I have kernel 2.4.20, ext3 and amanda compiled with 64bit offset? regards, gregor
RE: cygwin & spaces in disklist directory
in ideal environment you could boot your PC remotly with network boot, that boots partimage create a remote disk image and back this file with amanda. what do you think? regards, gregor
chg-zd-mtx configuration file problem
i configured chg-zd-mtx, it works ok, besides that does not reall all parameters from the config file some parameters are read an some not, strange. i then modified the cgh-zd-mtx directly and it works ok, but it would be nicer if it reads the config file properly. regards, gregor
recover boot diskette
does anyone have a boot diskette with amanda clients on it, to boot from the diskette and restore the server? regards, gregor
amrecover tapeserver
I compiled amanda package on another PC and then installed it on the backup server. Now the amrecover default tapeserver and indexserver points to the PC where the package was compiled. Is there an option to specify tape and index server in the config file, cause I'm lazy to always type that in the command line? Regards, Gregor
chg-zd-mtx read configuration
why only some of configuration parameters are read for example, firstslot and lastslot are read properly but offline_before_unload not (and some others also not)? which is the preferes changer method? chg-zd-mtx , chg-mtx, or chg-scsi? regards, Gregor
RE: rait output driver
Is it possible to create a config with rait writing and where the tape part is done with some rotation (like few tapes with full backup) and one disk "tape" with everyday full backup. In this way I would have a fast recover procedure for the last day and do the backup only once and not twice for each configuration. Regards, Gregor
RE: amrecover file based backup and rewind
Jean helped me. I set the amrecover_changer in amanda.conf to a string "changer" and used settape changer in amrecover and now it works great! regards, Gregor
amrecover file based backup and rewind
Im trying to recover some file from file based backup. Im using the changer for rotating backup folders. The problem is that amrecover wants to rewind the tape, but it tries to rewind the file:/data/Daily instead of file:/data/Daily/backup/Daily03 which is the real "file" backup tape. If I rewind it manually it still tries to do it and amrecover fail. Regards, Gregor
AMRecover
I still cant figure out why I dont see files from incremental backup. I see only files from full backup with amrecover ls command. Im using file based backup with some slots, so each backup data goes to another folder. I can see files from the incremental backup in data and also in index files but with amrecover I cant list them. Any suggestions? Regards, Gregor
RE: Tapeless backup
Ok, I have done some symlinks to data directories and create a few tapes with amlabel. I create backup, first full and then incremental. It works ok. Before incremental I add some file to the directory that I backup. Then when I try to recover files I do not get this additional file that is in incremental backup. In index files I can read it, and tha backup was ok, but when listing the disk (setdisk /... and ls) I cant get this file listed. Any sugestions? Regards, Gregor
Tapeless backup
Hi! I can do a tapeless backup but only one revision. New backup overwrites the old one. I saw postings how to use changer device but that was for version that didnt have file device. What is the strategy to have for example 7 daily backups level 0 that go to diferent places? Regards, Gregor
How can I execute pre-job and post-job tasks?
I want to stop some service,... Regards, Gregor
Compiling Amanda under Cygwin
Im trying to compile amanda under Cygwin, but I get the error /home/Administrator/ins/amanda-2.4.3-20030123/common-src/../regex-src/regcom p.c: 870: variable '__ctype_' can't be auto-imported. Please read the documentation f or ld's --enable-auto-import for details. Info: resolving __ctype_ by linking to __imp___ctype_ (auto-import) collect2: ld returned 1 exit status make[1]: *** [selfcheck.exe] Error 1 make[1]: Leaving directory `/home/Administrator/ins/amanda-2.4.3-20030123/client -src' make: *** [all-recursive] Error 1 What should I do? I tried the stable 2.4.3 version, the 20030123 of 2.4.3 version and 2.5.0 version, snapshots. I always get the errors. Not always the same, but primary I want to enable the stable version. Regards, Gregor Ibic