Re: ccd and amanda
On Mon, 24 Mar 2003, Joshua Baker-LePain wrote: On Mon, 24 Mar 2003 at 12:19pm, Laas Toom wrote Sorry for excluding such a vital info.. Here it is: disklist: ohto/usr/database nocomp-high where 'ohto' is the name of the machine. There was no changes in this file. Amanda report: ohto /usr/database lev 0 FAILED [disk /usr/database offline on ohto?] Are the permissions on the new device (/dev/ccd3a) the same as on the the old one (/dev/ccd0a)? No, they weren't, but after i changed them to be the same, i still get the error. Laas Toom
FYI: Sony TSL-9000 / Solaris 9 Sparc
I tried to use chg-zd-mtx for a sony dds3 tape changer tsl-9000 but it doesn't work out of the box. The archives didn't give valuable information. Therefore I changed the script slightly. If somebody is interested...let me know. Uwe.
List of files on tape
Hi, when i make a backup in the night, and then i want to know which files are on the tape, what i have to do? I just want to have _full_ list of directories and files in it. It is possible to log this in a log file? Thx for your help, Dalton PS: For example i have files, but i do not know the exact name, so i look for it in the list, and then i only recover these files. Or another example: I want to know if the files are on my tape, before i make a recovery.
Re: Parallelized restores?
On Sat, Mar 22, 2003 at 09:24:19AM -0600, Kirk Strauser wrote: At 2003-03-22T05:03:53Z, Jon LaBadie [EMAIL PROTECTED] writes: I'm sure the amanda developers would echo the sentiment I saw on another list: Patches gratefully accepted. And conversely, patches gratefully generated if I'm not the only one who thinks this is a worthwhile idea. So, is it? Would anyone else like that functionality? It most certainly sounds like a godo thing, especially if doing full recovery or such. I can't say my life depends on it, but I think it's a good idea. -- Thou shalt not follow the Null Pointer, for at its end Madness and Chaos lie. -- From the .sig of Panu Mantyla
amrecover without /var/log/amanda*
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I just upgraded amanda 2.4.2p2 to amanda 2.4.4 and then I started some testing. Backup was no problem, but I'm not able to do any recovery using amrecover, because it states that it cannont find any indices for the selected host. After some testing I pinned the problem to my lost /var/log/amanda/$config dir... Is there any possibility to continue using my old /var/lib/amanda/$config/index files without this logdir? Cheers Nicki - -- Linksystem Muenchen GmbH [EMAIL PROTECTED] Schloerstrasse 10 http://www.link-m.de 80634 Muenchen Tel. 089 / 890 518-0 We make the Net work. Fax 089 / 890 518-77 -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com Comment: Keys at: https://www.link-m.de/pgp iQA/AwUBPoGjPes1nPm17iBDEQIZRQCcCZgsRmhuYqkeb4OJ9lPMB1Ud23AAni/m ZSo4Yoc41DgpuVfw8RLIPXOS =/zKu -END PGP SIGNATURE-
Re: List of files on tape
On Wed, 26 Mar 2003 at 1:53pm, Dalton Hubert wrote when i make a backup in the night, and then i want to know which files are on the tape, what i have to do? I just want to have _full_ list of directories and files in it. It is possible to log this in a log file? Thx for your help, Dalton PS: For example i have files, but i do not know the exact name, so i look for it in the list, and then i only recover these files. Or another example: I want to know if the files are on my tape, before i make a recovery. If you have 'index yes' in your dumptype, this is being done. Use 'amrecover' to browse through the file lists. See the man pages for more info. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Re: amrecover without /var/log/amanda*
On Wed, 26 Mar 2003 at 2:55pm, Nicki Messerschmidt wrote I just upgraded amanda 2.4.2p2 to amanda 2.4.4 and then I started some testing. Backup was no problem, but I'm not able to do any recovery using amrecover, because it states that it cannont find any indices for the selected host. After some testing I pinned the problem to my lost /var/log/amanda/$config dir... Is there any possibility to continue using my old /var/lib/amanda/$config/index files without this logdir? I'm a little confused as to what exactly happened. Was your 2.4.2p2 install using /var/log/amanda/$config as the logdir and /var/lib/amanda/$config/index as the indexdir? And then /var/log/amanda got erased? If that's the case, I think you're out of luck. I believe that amrecover needs the logfiles to locate the proper indices and/or tapes. You can still look at 'em by hand, though. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Storagetek
Hi, Does anybody have any idea of how to setup the Library StorageTek L20 (with Quantum SDLT 320) to work with Amanda? Regards, Otavio Moraes
Re: List of files on tape
Joshua Baker-LePain wrote: On Wed, 26 Mar 2003 at 1:53pm, Dalton Hubert wrote when i make a backup in the night, and then i want to know which files are on the tape, what i have to do? I just want to have _full_ list of directories and files in it. It is possible to log this in a log file? Thx for your help, Dalton PS: For example i have files, but i do not know the exact name, so i look for it in the list, and then i only recover these files. Or another example: I want to know if the files are on my tape, before i make a recovery. If you have 'index yes' in your dumptype, this is being done. Use 'amrecover' to browse through the file lists. See the man pages for more info. 'index yes' is set, but i do not want to browse the file list on the tape, i want to have log-files on my machine, which include the whole file list. Current problem: A file disappeared, but we do not know when and I don't want to insert 10 tapes and search on every tape the file. So i want go through the log-files, for searching the file, to find out on which tape i can find it. Is this possible? Regards dalton
Re: amrecover without /var/log/amanda*
On Wed, Mar 26, 2003 at 02:55:26PM +0100, Nicki Messerschmidt wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I just upgraded amanda 2.4.2p2 to amanda 2.4.4 and then I started some testing. Backup was no problem, but I'm not able to do any recovery using amrecover, because it states that it cannont find any indices for the selected host. After some testing I pinned the problem to my lost /var/log/amanda/$config dir... Is there any possibility to continue using my old /var/lib/amanda/$config/index files without this logdir? Presumably you know which was the last tape(s) used under 2.4.2p2. That would contain the logdir almost upto date. Perhaps you could do an amrestore of that DLE to an empty space and copy over the old logs. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Re: amrecover without /var/log/amanda*
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joshua Baker-LePain wrote: I just upgraded amanda 2.4.2p2 to amanda 2.4.4 and then I started some testing. Backup was no problem, but I'm not able to do any recovery using amrecover, because it states that it cannont find any indices for the selected host. After some testing I pinned the problem to my lost /var/log/amanda/$config dir... Is there any possibility to continue using my old /var/lib/amanda/$config/index files without this logdir? I'm a little confused as to what exactly happened. Was your 2.4.2p2 install using /var/log/amanda/$config as the logdir and /var/lib/amanda/$config/index as the indexdir? And then /var/log/amanda got erased? If that's the case, I think you're out of luck. I believe that amrecover needs the logfiles to locate the proper indices and/or tapes. You can still look at 'em by hand, though. I was lucky and it deleted only copies and I am lucky and still owned the the originals... *beinghappy* Thanks a lot! Cheers Nicki - -- Linksystem Muenchen GmbH [EMAIL PROTECTED] Schloerstrasse 10 http://www.link-m.de 80634 Muenchen Tel. 089 / 890 518-0 We make the Net work. Fax 089 / 890 518-77 -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com Comment: Keys at: https://www.link-m.de/pgp iQA/AwUBPoGwR+s1nPm17iBDEQJnbwCgkYBoIURyTdPgP833AmcDtNwljP0AniFp eZePUoqG4Cvn7bd3cy6Ikb1K =dgAu -END PGP SIGNATURE-
Re: List of files on tape
On Wed, Mar 26, 2003 at 03:27:25PM +0100, Dalton Hubert wrote: Joshua Baker-LePain wrote: On Wed, 26 Mar 2003 at 1:53pm, Dalton Hubert wrote when i make a backup in the night, and then i want to know which files are on the tape, what i have to do? I just want to have _full_ list of directories and files in it. It is possible to log this in a log file? Thx for your help, Dalton PS: For example i have files, but i do not know the exact name, so i look for it in the list, and then i only recover these files. Or another example: I want to know if the files are on my tape, before i make a recovery. If you have 'index yes' in your dumptype, this is being done. Use 'amrecover' to browse through the file lists. See the man pages for more info. 'index yes' is set, but i do not want to browse the file list on the tape, i want to have log-files on my machine, which include the whole file list. Current problem: A file disappeared, but we do not know when and I don't want to insert 10 tapes and search on every tape the file. So i want go through the log-files, for searching the file, to find out on which tape i can find it. I have to start with the same question again: Have you ever tried to use amrecover? When browsing you don't insert any tapes. It doesn't scan tapes. You set a date and it shows you what is available. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Re: List of files on tape
Dalton Hubert wrote: PS: For example i have files, but i do not know the exact name, so i look for it in the list, and then i only recover these files. Or another example: I want to know if the files are on my tape, before i make a recovery. Have you had a look at amrecover? If you have the index yes configuration option in your disktype, then amanda makes an index, that you can browse with amrecover. You can browse yourself through the index files too: $ gzip -dc ~amanda/TheConfig/index/HostName/_Disk_Name/date_Lvl.gz | grep mynobbelpraiseprojekt -- 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 * ***
Re: List of files on tape
On Wed, 26 Mar 2003 at 3:27pm, Dalton Hubert wrote 'index yes' is set, but i do not want to browse the file list on the tape, i want to have log-files on my machine, which include the whole file list. Current problem: A file disappeared, but we do not know when and I don't want to insert 10 tapes and search on every tape the file. So i want go through the log-files, for searching the file, to find out on which tape i can find it. Is this possible? The index files *are* kept on disk, in the indexdir specified in your amanda.conf file. amrecover uses those index files. Again, 'man amrecover' for all the details, including how to specify the date you want amrecover to recover files from. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Re: amrecover without /var/log/amanda*
Nicki Messerschmidt wrote: the selected host. After some testing I pinned the problem to my lost /var/log/amanda/$config dir... Is there any possibility to continue using my old /var/lib/amanda/$config/index files without this logdir? So you changed the location of the index files? Just copy them back to the new location (and avoid overwriting existing files): cd /var/lib/amanda/$config/index find . | cpio -pdvm /var/log/amanda/$config/index -- 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 * ***
Re: List of files on tape
Dalton don't need to try each tape. just use amrecover and it will tell which tape to get..for me this is the best bit of amanda. -- Martin Hepworth Senior Systems Administrator Solid State Logic Ltd +44 (0)1865 842300 Dalton Hubert wrote: Joshua Baker-LePain wrote: On Wed, 26 Mar 2003 at 1:53pm, Dalton Hubert wrote when i make a backup in the night, and then i want to know which files are on the tape, what i have to do? I just want to have _full_ list of directories and files in it. It is possible to log this in a log file? Thx for your help, Dalton PS: For example i have files, but i do not know the exact name, so i look for it in the list, and then i only recover these files. Or another example: I want to know if the files are on my tape, before i make a recovery. If you have 'index yes' in your dumptype, this is being done. Use 'amrecover' to browse through the file lists. See the man pages for more info. 'index yes' is set, but i do not want to browse the file list on the tape, i want to have log-files on my machine, which include the whole file list. Current problem: A file disappeared, but we do not know when and I don't want to insert 10 tapes and search on every tape the file. So i want go through the log-files, for searching the file, to find out on which tape i can find it. Is this possible? Regards dalton ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **
Re: Premature overwriting of level 0
Hi, Setup: 20 tapes (VXA-2 v-23) Native capacity 67GB. 1 dump cycle. Amanda version 2.4.2p2 Holding disk 105GB All DLE are Samba shares for Win95/98/NT6/Win2000. Problem: I am now 7 tapes into the second rotation and the level 0 backups are being overwritten. It seems to be due to the large size of incrementals being archived on a daily basis. There are numerous days where Amanda only does incremental (level 1) and even so Amanda is not able to fit them all onto the daily tape. Paul (see below) suggested as one of the options is to patch Amanda to allow a higher level (2,3,4...) backups to be done with Samba shares, thereby reducing the size of daily incrementals. I know that this would result in greater numbers of tape that would have to be accessed to restore the data but I am willing to live with that issue. Solutions? From Paul's response I may have wrongly assumed that all that would be required to fake level 2, 3 etc... backups would be to toggle the windows archive bit when Amanda is doing incremental archives. Unfortunately, I am not a programmer. Though I did searched through the source code I could not find where to add the switch archive bit code. If I am not completely out to lunch, I would appreciate any pointers required to implement. If I am bouncing off the walls any other suggestions to solving my problem are appreciated as long as it does not involve additional hardware. Thanks all! Vytas At 11:07 AM 3/24/03 +0100, Vytas Janusauskas wrote: What must I do to ensure that all my level 0 are not overwritten before they are archived a second time? I have days where lots of new files get created. Can some explain why none of my backups are ever level 2 or higher? At 11:07 AM 3/24/03 +0100, Paul Bijnens wrote: When using smbclient to backup the builtin tar command uses the archive bit of the FAT/NTFS file system to determine incremental backup. The bit contains only a enough state to emulate a level 1 incremental backup: A full backup runs: smbclient ... -Tqca - -a means reset the archive bit An incremental backup runs: smbclient ... -Tqcg - -g means only files with archive bit set, i.e. everything changed since last full backup. It's a limitation of PC filesystems and smbclient. There once existed an idea to modify the amanda sources to reset the archive bit on incremental runs too, and let amanda do the bookkeeping on the dumplevels but I've never seen patches for this... Vytas Janusauskas Dendron Resource Surveys Inc. 880 Lady Ellen Place, Suite 206 Ottawa, Ontario, Canada K1Z 5L9 Voice: (613) 725-2971 Fax: (613) 725-1716 mailto:[EMAIL PROTECTED]
Re: Storagetek
On Wed, 2003-03-26 at 09:26, Otavio Fernando Moraes wrote: Hi, Does anybody have any idea of how to setup the Library StorageTek L20 (with Quantum SDLT 320) to work with Amanda? Otavio, I'm not using that particular library, but I'm using SDLT-320 drives, so if you need a tapetype definition, let me know. Without knowing the OS you're using, we're not going to be able to tell you much. I'm having good results under Linux with the mtx program to control the library, and having AMANDA use the chg-zd-mtx glue script. Cheers, Eric
Storagetek (sorry I forgot the OS)
Sorry guys, I forgot to tell, the OS is Linux. -Original Message- From: Otavio Fernando Moraes To: '[EMAIL PROTECTED]' Sent: 26/03/03 11:26 Subject: Storagetek Hi, Does anybody have any idea of how to setup the Library StorageTek L20 (with Quantum SDLT 320) to work with Amanda? Regards, Otavio Moraes
Re: Premature overwriting of level 0
Vytas Janusauskas wrote: Setup: 20 tapes (VXA-2 v-23) Native capacity 67GB. 1 dump cycle. Amanda version 2.4.2p2 Holding disk 105GB All DLE are Samba shares for Win95/98/NT6/Win2000. Problem: I am now 7 tapes into the second rotation and the level 0 backups are being overwritten. It seems to be due to the large size of incrementals being archived on a daily basis. There are numerous days where Amanda only does incremental (level 1) and even so Amanda is not able to fit them all onto the daily tape. So you have a dumpcycle of 28 days (assuming you run only on weekdays) and a runspersycle of 20. One of the disadvantages of a large dumpcycle is that the incrementals take up so much space; and having only level 1 incrementals of smbclient makes this even worse, as you can see. I can't garuantee it works much better, but giving the large holdingdisk you have, I would give this setup a try: tapecycle 20 tapes dumpcycle 14 days runspercycle 10 runtapes 2 inparallel 10 dumporder TT # or S's taperalgo largestfit This will dump up to 67*2=134 Gbytes each day. Once tape is filled during the backup, leaving up to 67 Gbyte in your holdingdisk to be flushed on the next tape each morning. The dumporder and taperalgo parameter help to fill the first tape up to the last byte. If you have any money left, I would add a second set of 20 tapes too. Paul
can't backup a remote machine
Hi, I've installed Amanda 2.4.2p2-9 installed on a Red Hat 7.3 system so I can back up some of our data. I've got it working for backing up the /etc directory on the local machine, but it fails to back up the data from a remote machine even though I get no errors when I run amcheck. In the summary email I get after running amdump it says this about the remote machine: FAILURE AND STRANGE DUMP SUMMARY: ammonia/home/web lev 0 FAILED [missing result for /home/web in ammonia response] When I look at the logs it's telling me that my remote machine is failing to send back estimates. So would anyone know why this is happening and how I can fix it? Thanks for your time. -- Glen Kaukola [EMAIL PROTECTED] (909) 781-5630 CE-CERT UC Riverside
Re: extracting log data during dump
Do you happen to have this perl script available? Chris Matthew Moffitt wrote: I have a simple perl script that pulls out entries from the amdump log file to track total number of files dumped, bytes output to tape, etc, then feeds these out for processing by MRTG. It works nicely but I can't grab the data during the actual dump phase, only after it's complete when the entire log is written out. Is there a file I could be pulling data from DURING the dump so I can chart, for instance, number of files systems that have been backed up, or a count of bytes sent off to tape? admump.1 or log.currentdate.0 only seem to be updated once the dump is complete so I only have the summary information after it is finished. Thanks much for any help. -Matt
Uluslararasý Telefon Görüþmelerinde %95'lere varan tasarruflar....
FATURASIZ LETM == Uluslararas Telefon Grmelerinde %95'lere varan indirimlerden yararlanmak artk ok daha kolay. Claritel i-750 Internet Telefonu paketleri kisa bir sre iin kampanyali ve kontr hediyeli (Kampanyamiz 23 Nisan 2003 tarihine kadar ve stoklarimizla sinirlidir.) Kampanya 1 Claritel I-750 Internet Telefonu + VoIP MAX' dan 1000 Kontr hediye 154 $ + KDV yerine 109 $ + KDV (1000 Kontr ile Amerika'da ki herhangi bir telefonla 165 dakika konuabiliyorsunuz.) Kampanya 2 Claritel I-750 Internet Telefonu + VoIP MAX' dan 1000 Kontr + Bir senelik sinirsiz kullanim Atlas Online internet erisim paketi Claritel I-750 IP Telefonu ile birlikte hediye 199 $ + KDV yerine 137 $ + KDV (1000 Kontr ile Amerika'da ki herhangi bir telefonla 165 dakika konuabiliyorsunuz.) zellikler ? Istediiniz zaman istediiniz yerden istediiniz numaray arayabilme, ? Snrsz BEDAVA PC'den PC'ye arama, ? Full Duplex iletiim, ? Hands - Free kullanm, ? USB Port balants, ? %100 dijital ses berrakl, ? Ekosuz parazitsiz grme, ? Ses gecikmesini nleyici sistem, ? Network zerinde alabilme ? Kolay Kurulum-Kurulumu 5 dakikanz alr ! USB kablosunu takn.Kafa karistirici baska hibir kablo balants gerektirmez. ? Minimum Sistem gereksinimleri : Win98, Win Me veya Win2000, 8Mb Harddisk, 16Mb RAM, USB portlu Pentium bilgisayar. == Net Art Media Reklam Internet ve Iletisim Sistemleri www.claritel-tr.com Tel: 0216 492 65 70 - 71 Fax: 0216 310 34 83 Bu E-mail birkereye mahsus gnderilmitir. Ltfen hertrl ikayetinizi ve listeden kma isteinizi [EMAIL PROTECTED] email adresimize gnderiniz. Verdiimiz rahatszlk iin zr dileriz.
Re: can't backup a remote machine
On Wed, Mar 26, 2003 at 02:30:35PM -0800, Glen Kaukola enlightened us: Hi, I've installed Amanda 2.4.2p2-9 installed on a Red Hat 7.3 system so I can back up some of our data. I've got it working for backing up the /etc directory on the local machine, but it fails to back up the data from a remote machine even though I get no errors when I run amcheck. In the summary email I get after running amdump it says this about the remote machine: FAILURE AND STRANGE DUMP SUMMARY: ammonia/home/web lev 0 FAILED [missing result for /home/web in ammonia response] When I look at the logs it's telling me that my remote machine is failing to send back estimates. So would anyone know why this is happening and how I can fix it? If there's a firewall in between, you'll want to read PORTS.USAGE in the amanda documentation. Amcheck will work, but amdump can fail. Matt -- Matt Hyclak Department of Mathematics Ohio University (740) 593-1263 pgp0.pgp Description: PGP signature