Re: Restoring from tape when Amanda server failed - conclusion and open questions
Thanks much for the support. Eventually I was able to restore some of the missing files but I still have some open questions. 1) I was able to restore the files on the Server where Amanda server was initially installed. However, I could not restore the tape from a different server (ServerB) with similar operating system (Solaris 9). The mystery about the restore process was that I successfully run the commands(on serverB):a. mt -f /dev/rmt/0cn rewind b. mt -f /dev/rmt/0cn fsf 1 But when I run the command:dd if=/dev/rmt/0cn bs=32k skip=1 It gave me the following error message: read: Invalid argument 0+0 records in 0+0 records out Does anybody know why? 2) When I restored the data using the command: dd if=/dev/rmt/0cn bs=32k skip=1 | gzip -d | /usr/sbin/ufsrestore -ivf - I was only able to restore files that were saved - level 0 on that particular tape; Yet I also restored a folder on Amanda that folder was lastly restored on run level-1. But need to restore certain files from that folder without restoring the whole folder is this possible using the ufsrestore tool? In the past I was able to do so with the amrestore utility.Thanks, gilgil naveh [EMAIL PROTECTED] wrote: Thanks Jon, Regarding your comments/questions: 1) You keep using a blocksize of 64k for dd, why? Amanda normally uses 32k I tried both for 32K and 64k (part of try and error trial I did to recover the data) - anyway thanks, now I am confident that amanda uses 32k.2)Have you read the docs refered to above for how to recover? I read those documents many times - I hate asking questions before doing my research - but when I tried to follow the instructions the recover failed! 3)Following an mt rewind, the first thing a dd should see is the tape label header file. Your output is certainly NOT an amanda tape label. Are you certain this is a valid amanda tape? Or you showed the sequence of commands accurately? I am 100% sure, it is an Amanda tape label - I only backed up those tapes with Amanda and restore the data from them using amrestore! Ignore my previous comment regarding reading file from /tmp/data - I just realized that I read those files from the HD instead from the tape.4)Solaris has a fine file(1) command. What does "file /tmp/data" tell you about what dd pulled from the tape? - ignore my privious comment regarding reading file from /tmp/data - I just realized that I read those files from the HD instead from the tape.At this stage I just can't recover files from the tape! When running dd I keep getting the message: read: Invalid argument 0+0 records in 0+0 records outThx, gilJon LaBadie [EMAIL PROTECTED] wrote: On Wed, Jul 19, 2006 at 02:07:42PM -0700, gil naveh wrote: Thanks for all the help, but I have a problem to restore the files. When I type: root@ # dd if=/dev/rmt/0n ibs=64k | ufsrestore if - I recieve the following error message: read: Invalid argument 0+0 records in 0+0 records out Volume is not in dump format But as far as I know it should be in a dump format!!! because in the Amanda.conf I defined the backup as: define dumptype daily { global # program "DUMP" # the default # record yes # the default comment "daily" compress client fast priority high # dumpcycle 5# should be obtained from dumpcycle above index yes } I also tried the following: % mt -f /dev/rmt/0n rewind% dd if=/dev/rmt/0n of=/tmp/data bs=64k count=2 % od -c /tmp/data | head And received the following output: 000 \0 002 P 022 \0 \f \0 001 . \0 \0 \0 \0 003 242 Q 020 \0 \f \0 002 . . \0 \0 \0 002 P 023 001 350 \0 006 040 n e w bc k \0 \0 \0 \f \0 003b c k \0 060 \0 \0 \0 \0 001 320 \0 006n e w b c k \0 \0 100 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 * 0001000 Can one deduct the dump format from the above output? Many thanks, gil Paul Bijnens wrote: On 2006-07-19 17:35, gil naveh wrote: Thanks for the help. I am familiar with the Amrestore command. Then you understand that you can replace "amrestore" with a "mt" and "dd". ... The docs in http://www.amanda.org/docs/restore.html are a little more expanded, giving more examples in: http://wiki.zmanda.com/index.php/Restoring_filesGrrr, I hate top posting.So hard to add inline and followingAnyway, several points.We don't know it should be a ufsdump, your dumptype includesglobal that we don't see and otherwise does not define PROGRAM.You keep using a blocksize of 64k for dd, why? Amanda normallyuses 32k.Have you read the docs refered to above
Re: Restoring from tape when Amanda server failed
Pavel,Below if the output from the running the following commands: root@ # mt -f /dev/rmt/0n rewind root@ # mt -f /dev/rmt/0n fsf 1 root@ # dd if=/dev/rmt/0n bs=32k count=1 read: Invalid argument 0+0 records in 0+0 records outThanks, GilPavel Pragin [EMAIL PROTECTED] wrote: Hello,Can you please run this and post the output:-bash-3.00$ ammt -f /dev/rmt/0n rewind-bash-3.00$ ammt -f /dev/rmt/0n fsf 1-bash-3.00$ amdd if=/dev/rmt/0n bs=32k count=1Pavelgil naveh wrote: Thanks but I tried to strip the header as well and it gave me teh same error message! */Matt Hyclak /* wrote: On Wed, Jul 19, 2006 at 02:07:42PM -0700, gil naveh enlightened us: Thanks for all the help, but I have a problem to restore the files. When I type: root@ # dd if=/dev/rmt/0n ibs=64k | ufsrestore if - I recieve the following error message: read: Invalid argument 0+0 records in 0+0 records out Volume is not in dump format But as far as I know it should be in a dump format!!! because in the Amanda.conf I defined the backup as: You forgot to strip off the amanda header at the beginning of the file. Usually this is dd if=/dev/tape bs=32k skip=1 -- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263
Restoring from tape when Amanda server failed
Hi, I have to restore from our tape drive, but our Amanda server that runs on Solaris 9 has failed. Any suggestion/ideas on how to recover files from tapes are mostly welcome. Our tape drive is: ULTRIUM2-LTO The dump type is: define dumptype daily { global comment "daily" compress client fast priority high index yes } Many thanks, gil
Re: Restoring from tape when Amanda server failed
Thanks for the help. I am familiar with the Amrestore command. But the problem I am facing is that the Amanda server which also holds other applications crushed. So I have to restore data from another server - I have Solaris 9 and and or Solaris 10 servers that I can connect to the tape drive... I also saved the configuration files of the amanda server.Is there a way to directly connect to the tape drive and use unix commands to restore data from it? Or any other suggestions... Many thanks, gilJoshua Baker-LePain [EMAIL PROTECTED] wrote: On Wed, 19 Jul 2006 at 8:12am, gil naveh wrote I have to restore from our tape drive, but our Amanda server that runs on Solaris 9 has failed. Any suggestion/ideas on how to recover files from tapes are mostly welcome.http://www.amanda.org/docs/restore.htmlman amrestoreThis is very well explained in multiple (obvious) places.-- Joshua Baker-LePainDepartment of Biomedical EngineeringDuke University
Re: Restoring from tape when Amanda server failed
Thanks for all the help, but I have a problem to restore the files. When I type: root@ # dd if=/dev/rmt/0n ibs=64k | ufsrestore if - I recieve the following error message: read: Invalid argument 0+0 records in 0+0 records out Volume is not in dump formatBut as far as I know it should be in a dump format!!! because in the Amanda.conf I defined the backup as:define dumptype daily { global # program "DUMP" # the default # record yes # the default comment "daily" compress client fast priority high # dumpcycle 5 # should be obtained from dumpcycle above index yes } I also tried the following: % mt -f /dev/rmt/0n rewind % dd if=/dev/rmt/0n of=/tmp/data bs=64k count=2 % od -c /tmp/data | headAnd received the following output: 000 \0 002 P 022 \0 \f \0 001 . \0 \0 \0 \0 003 242 Q 020 \0 \f \0 002 . . \0 \0 \0 002 P 023 001 350 \0 006 040 n e w b c k \0 \0 \0 \f \0 003 b c k \0 060 \0 \0 \0 \0 001 320 \0 006 n e w b c k \0 \0 100 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 * 0001000Can one deduct the dump format from the above output?Many thanks, gilPaul Bijnens [EMAIL PROTECTED] wrote: On 2006-07-19 17:35, gil naveh wrote: Thanks for the help. I am familiar with the Amrestore command.Then you understand that you can replace "amrestore" with a"mt" and "dd". But the problem I am facing is that the Amanda server which also holds other applications crushed. So I have to restore data from another server - I have Solaris 9 and and or Solaris 10 servers that I can connect to the tape drive... I also saved the configuration files of the amanda server. Is there a way to directly connect to the tape drive and use unix commands to restore data from it? Or any other suggestions...mt -f /dev/rmt/0n fsf 34dd bs=32k if=/dev/rmt/0n skip=1 of=/some/wheredd to to stdout, in a pipe with netcat: ... | nc -w 1 client 1234And on the client you have already this command listening:nc -l -p 1234 | gtar -zxpGvf -The docs in http://www.amanda.org/docs/restore.htmlare a little more expanded, giving more examples in:http://wiki.zmanda.com/index.php/Restoring_filesEasiest is to first restore the amanda command "amrestore"That one does not need any config file at all.-- Paul Bijnens, xplanation Technology ServicesTel +32 16 397.511Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512http://www.xplanation.com/ email: [EMAIL PROTECTED] I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, ^^, ** F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, ** stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, ** PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, ** init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... ** ... "Are you sure?" ... YES ... Phew ... I'm out
Re: Restoring from tape when Amanda server failed
Thanks but I tried to strip the header as well and it gave me teh same error message!Matt Hyclak [EMAIL PROTECTED] wrote: On Wed, Jul 19, 2006 at 02:07:42PM -0700, gil naveh enlightened us: Thanks for all the help, but I have a problem to restore the files. When I type: root@ # dd if=/dev/rmt/0n ibs=64k | ufsrestore if - I recieve the following error message: read: Invalid argument 0+0 records in 0+0 records out Volume is not in dump format But as far as I know it should be in a dump format!!! because in the Amanda.conf I defined the backup as:You forgot to strip off the amanda header at the beginning of the file.Usually this isdd if=/dev/tape bs=32k skip=1-- Matt HyclakDepartment of Mathematics Department of Social WorkOhio University(740) 593-1263
Restoring from tapes
hi, We have a Solaris server that runs multiple applications including Amanda server. This server is connected to a tape drive were the backupfiles are being stored (by Amanda).So far, data is stored and successfully recovered from the tapes. However, what can be done in case the Amanda server is crushed? Are there indexes on the server that enables the restoration or can I restore the files from a different server? What is the best practice to prepare for such event?We have a new Solaris server that can be connected to the tape drive as well. Should I install Amanda server on that new server to prepare for a disaster on the main Amanda server? Any suggestions comments are mostly welcome. Many thanks, gil
to configure or not to configure this is the question
Hi, We have Amanda backing up our Solaris servers for about a year. So far we are very happy with Amanda. Recently I was requested to use Amanda to backup some of our Window server. In order to do so, I have to configure Amanda with Smbclient. Does it mean that I have do reconfigure + make + make install from start or is there another way more graceful to add the Smbclient configuration to Amanda. Many thanks, Gil
RE: back up a window folder
Paul thanks much for your help but the symlink did not resolve the problem. It seems that Amanda does not read it. When running amcheck I get the following error: #Amanda Backup Client Hosts Check # #ERROR: solarisserver: [could not access Files/hello_Visual_folder/' (//winserver'/Program): No such file or directory] #Client check: 1 host checked in 1.049 seconds, 1 problem found Any other thoughts on how to resolve it? Gil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Paul Bijnens Sent: Wednesday, March 02, 2005 12:31 PM To: Gil Naveh Cc: Amanda-Users Subject: Re: back up a window folder Gil Naveh wrote: We have a Solaris server that runs Amanda server on it. I was successfully able to backup a window folder into it - using smbclient. However, most of the folders I have to backup have names with spaces (aca C:/hello Visual folder/). And currently you can't escape spaces in the disklist file, as you have found out already. Patches welcome :-) Any idea on how can I backup those folder? (unfortunately I can't change the folder's name). I wrote the folder name with single quote double quote in the disklist file. But it did not work and amanda complained after running amcheck: # undefined dumptype `Visual' Is there a way to work around folder's names with spaces? On the Solaris filesystem: ln -s 'hello Visual folder' hello_Visual_folder and then put that entry in the disklist: the.solaris.host /the/dir/hello_Visual_folder comp-user-tar The trick is that gnutar does chdir to the toplevel directory effectively resolving that toplevel symlink. Any symlinks inside a directory are NOT resolved -- but you wouldn't expect a symlink inside a PC-folder anyway) -- 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 * ***
Amanda - unable to create temporary directory
Hello, Amanda is successfully running on our Solaris Servers. But on Amanda's report (the E-mail it sends after amdump) I get the following STRANGE message: ? Unable to create temporary directory in any of the directories listed below: ? /tmp/ ? /var/tmp/ ? / But when I manually accessed the server as Amanda user - I had no problem creating a folder under /tmp as well as /var/tmp/ ! Any thoughts why am I getting this message? Additionally, can somebody tell me what files does Amada writes under /tmp folder? Many thanks, gil
Switching to GNUTAR - RE: Amanda - unable to create temporary directory
Thanks for the help, At this point it seems that the best way for us is to switch from ufsdump to gnutar. But before doing so - what will happen with the backups that I did so far? (I backed our data on a tape drive). Does ufsdump and gnutar stores the data the same way? (Does ufsdump level 0,1... is identical to gnutar level 0,1...) Or does it store the data on a different format? Does Gnutar is going to store the data twice or is it going to overwrite the data that was stored by ufsdump? Any other concerns that I should keep in mind before switching from ufsdump to gnutar? Thanks, gil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Todd Kover Sent: Thursday, February 24, 2005 12:37 PM To: amanda-users@amanda.org Subject: Re: Amanda - unable to create temporary directory Jon LaBadie said: On my system /usr/sbin/ufsdump is a symbolic link to /usr/lib/fs/ufs/ufsdump. The latter program is root-owned, set-uid. Perhaps yours has been altered. $ ls -l /usr/lib/fs/ufs/ufsdump -r-sr-xr-x 1 root bin 83820 Apr 12 2004 /usr/lib/fs/ufs/ufsdump We actually strip the setuid bit on ufsdump and this seems to work in most circumstances. We had this problem every night on one specific solaris 9 system, and no other sol9 or sol8 systems (and our amanda client is installed via a package, so it's the same across all machines). The solaris boxes are also installed from the same jumpstart images, so they should all behave the same. This error comes from ufsdump, and near as I've been able to tell, ufsdump is creating a directory named something like '.rlg.zyaaGR in each of /tmp and /var/tmp (and failing to be able to in / since it's not running as root, the jibberish after .rlg. changes with each run). This directory is called with mode 000 and then ufsdump attempts to create a file in it, which fails and generates that error message. I wasn't able to get ufsdump to behave better (nor did I look for a patch or try to reset ufsdump to being setuid again) but on that specific system we had amanda incorrectly configured to backup something other than the mountpoint of the filesystem, but something inside the filesystem (that is, instead of /export/home it was /export/home/foo/bar where the filesystem was mounted on /export/home). Switching this to the mountpoint made the error go away. There may be some limitations in ufsdump that cause you only be able to use ufsdump this way if you're root (though sounsd lke a bug). If you're doing this, and doing it on purpose, I'd suggest using gnutar instead of dump since incremental dumps don't work right except on filesystem boundaries. If you're not doing this and actually backing up a mountpoint, then maybe the above info will help track it down. (perhaps the setuid bit, as Jon suggests). -Todd
Amanda's report
After running Amanda's backup, I receive an email with a report about the last backup. The first section of that report is: FAILURE AND STRANGE DUMP SUMMARY: and under this section I get the following message: FAILURE AND STRANGE DUMP SUMMARY: servername/folder/to/backup lev 0 STRANGE What does STRANGE means? I checked the data that was backed up on the tape and was able to restore it - should I ignore that message or what does Amanda tries to tell me? Many thanks, gil
RE: Amanda's report
Gene, thanks for the help. Per your request below is the section that describes why I got the Strange message: FAILED AND STRANGE DUMP DETAILS: /-- servername/bck/folder lev 0 STRANGE sendbackup: start [servername:/bck/folder level 0] sendbackup: info BACKUP=/usr/sbin/ufsdump sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/usr/sbin/ufsrestore -f... - sendbackup: info COMPRESS_SUFFIX=.gz sendbackup: info end ? Unable to create temporary directory in any of the directories listed below: ? /tmp/ ? /var/tmp/ ? / ? Please correct this problem and rerun the program. | DUMP: Date of this level 0 dump: Wed Feb 16 00:46:26 2005 | DUMP: Date of last level 0 dump: the epoch | DUMP: Dumping /dev/rdsk/c1t1d0s6 (servername:/bck) to standard output. | DUMP: Mapping (Pass I) [regular files] | DUMP: Mapping (Pass II) [directories] | DUMP: Writing 32 Kilobyte records | DUMP: Estimated 230640 blocks (112.62MB) on 0.00 tapes. | DUMP: Dumping (Pass III) [directories] | DUMP: Dumping (Pass IV) [regular files] | DUMP: 230590 blocks (112.59MB) on 1 volume at 10095 KB/sec | DUMP: DUMP IS DONE sendbackup: size 115295 sendbackup: end \ The above section shows that Amanda was not able to create temporary folders in /tmp/ - but I checked it and it is not a disk issue as well as permission? (I was able to manually create (as Amanda user) a new folder in /tmp ) Any ideas why Amanda is having problem creating temporary folders? Thx, gil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gene Heskett Sent: Wednesday, February 16, 2005 10:17 AM To: amanda-users@amanda.org Subject: Re: Amanda's report On Wednesday 16 February 2005 09:45, Gil Naveh wrote: After running Amanda's backup, I receive an email with a report about the last backup. The first section of that report is: FAILURE AND STRANGE DUMP SUMMARY: and under this section I get the following message: FAILURE AND STRANGE DUMP SUMMARY: servername/folder/to/backup lev 0 STRANGE You didn't post all the summary, so we can't guess really well. What does STRANGE means? What it usually means here is that some file changed while it was being read, like here, I get squawks about mail files from time to time because kmail is running 24/7, and may do a mail fetch run,or decide to purge old messages while amanda is running. I checked the data that was backed up on the tape and was able to restore it - should I ignore that message or what does Amanda tries to tell me? Dunno, post the rest of summary and we'll take a look. Many thanks, gil -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) 99.33% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attorneys please note, additions to this message by Gene Heskett are: Copyright 2005 by Maurice Eugene Heskett, all rights reserved.
amrecover + build in security protocols
Ok, so I have started deploying Amanda to backup our local Servers - but I want to start deploying it on the remote servers. Amanda Server is one of our Solaris machine. This machine is also Amanda client - being backed up by Amanda. I was able to backup data to it and recover it with Amrecover. But what happens if this Server crashes?? How can I recover data from the tapes? Additionally, I am thinking to deploying Kerberos over Amanda and it might take me some times to figure it out. In the mean time, I read about Amanda that: It was designed with data security in mind. It uses its own network protocols, so it does not suffer from the security problems. Does anyone knows what kind of network security it has? Thanks, gil
RE: Amanda security +Kerberos
Thanks for the help. Unfortunately in my case, rsync won't work because I have to backup about 20 servers and I don't have the disk capacity for it. Thx, gil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eric Dantan Rzewnicki Sent: Wednesday, February 09, 2005 3:06 PM To: Gil Naveh Cc: Amanda-Users Subject: Re: Amanda security +Kerberos On Tue, Feb 08, 2005 at 02:13:57PM -0500, Gil Naveh wrote: hi, I am a little confused regarding adding security to Amanda. In the past I posted a question regarding adding security to Amanda - We have a Solaris 9 machine which is Amanda server and a remote Solaris 9 machine which is Amanda client. We need the data that is transferring from the client to the server be secure. People have kindly answered my question but I am still confused. Some have suggested to use sftp or ssh - bring those files to the server and then backing it up locally. However, by implementing this technique I am over loading the network - because I have to ssh or sftp all files daily instead of letting Amanda get only the changes (level 0,1 etc). But is there a way to implement ssh/sftp with Amanda? perhaps you could use rsync over ssh to pull only the changes. -- Eric Dantan Rzewnicki | Systems Administrator Technical Operations Division | Radio Free Asia 2025 M Street, NW | Washington, DC 20036 | 202-530-4900 CONFIDENTIAL COMMUNICATION This e-mail message is intended only for the use of the addressee and may contain information that is privileged and confidential. Any unauthorized dissemination, distribution, or copying is strictly prohibited. If you receive this transmission in error, please contact [EMAIL PROTECTED]
RE: AMLABEL - might be a bug in amtapetype
Hello and thanks, So it turn out that my suspicious were correct. After rerunning amtapetype twice on our Solaris 9 server I got the configuration for Ultrium2-LTO slightly different and with the new results amlabel worked fine :) In the first run I got the following result: define tapetype unknown-tapetype { comment just produced by tapetype prog (hardware compression off) length 207465 mbytes filemark 939 kbytes speed 17489 kps } But Amanda could not identify my tape drive. In the second run I got the following results: define tapetype unknown-tapetype { comment just produced by tapetype prog (hardware compression off) length 206819 mbytes filemark 918 kbytes speed 17477 kps } which worked fine. Anyway, I'll publish the results for the Ultrium-LTO2 tape drive on Amanda's website. Thx, gil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jon LaBadie Sent: Monday, February 07, 2005 10:48 PM To: amanda-users@amanda.org Subject: Re: AMLABEL On Mon, Feb 07, 2005 at 10:06:09PM -0500, Gene Heskett wrote: On Monday 07 February 2005 18:31, Paul Bijnens wrote: Gil Naveh wrote: Gene - thanks for trying to help, Currently the only reason that I can think of is that Amanda has not read correctly our tape drive so I am re-running #amtapetype -f /dev/rmt/0n Add an estimate value! And it takes about 5 hours only. Without an estimate it takes a week or so. Like this: amtapetype -f /dev/rmt/0n -e 200g On the other hand, writing a few bytes is enough to see it the drive works. About the problem: you did specify that device in your amanda.conf ? (I believe that was what Gene was hinting about.) Chuckle, yup. Sometimes I get my tongue tangled up with my eyeteeth, and can't see what I'm writing... Corrections in that case are always welcome. :-) With the ultrium it is less important about considering HW or SW compression. But be aware that on Solaris whether HW compression is turned on or not is determined by the device you choose. You will find lots of /dev/rmt/0xyz devices. The xyz determines the properties of the device the driver will set upon opening it. Don't be fooled into assumptions about the various devices. The c device is listed as compressed. But that is the conventional use. There is no certainty that it turns compression on for every device, or that devices without the c are no compression. You will even have a c device for drives that are not capable of HW compression ;-) Only way to tell is check the docs for the drive and settings for the driver. And then I'd check it if I could. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
RE: AMLABEL - might be a bug in amtapetype
The issue I had was that the first time I run amtapetype the result was a little off. Which was painful because it takes a few hours to run it. yet, it might not be a bug - the reason I put it in the subject was that people would notice it. Thx, gil -Original Message- From: Paul Bijnens [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 9:27 AM To: Gil Naveh Cc: amanda-users@amanda.org Subject: Re: AMLABEL - might be a bug in amtapetype Gil Naveh wrote: Hello and thanks, So it turn out that my suspicious were correct. Which suspicions? After rerunning amtapetype twice on our Solaris 9 server I got the configuration for Ultrium2-LTO slightly different and with the new results amlabel worked fine :) In the first run I got the following result: define tapetype unknown-tapetype { comment just produced by tapetype prog (hardware compression off) length 207465 mbytes filemark 939 kbytes speed 17489 kps } But Amanda could not identify my tape drive. In the second run I got the following results: define tapetype unknown-tapetype { comment just produced by tapetype prog (hardware compression off) length 206819 mbytes filemark 918 kbytes speed 17477 kps } which worked fine. Anyway, I'll publish the results for the Ultrium-LTO2 tape drive on Amanda's website. And what kind of bug have you found, as the subject seems to imply? -- 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 * ***
Amanda security with Kerberos
hi, I am a little confused regarding adding security to Amanda. In the past I posted a question regarding adding security to Amanda - We have a Solaris 9 machine which is Amanda server and a remote Solaris 9 machine which is Amanda client. We need the data that is transferring from the client to the server be secure. People have kindly answered my question but I am still confused. Some have suggested to use sftp or ssh - bring those files to the server and then backing it up locally. However, by implementing this technique I am over loading the network - because I have to ssh or sftp all files daily instead of letting Amanda get only the changes (level 0,1 etc). But is there a way to implement ssh/sftp with Amanda? Anyway I am trying to implement Kerberos and I have a few questions about it. I am trying to follow the documentation in Amanda for kerberos - so far I downloaded the file amanda-krb4-2.4.0p1.tar.gz - I unzipped it and tared it (tar xvf). Yet I don't know what the next step should be - configure+make??? Additionally the KERBEROS doc for Amanda under the INSTALLATION section says: 2. INSTALLATION The kerberized Amanda service uses a different port on the client hosts. The /etc/services line is: kamanda 10081/udp Then what should be the host on the server site? Finally how can I test that Kerberos encryption works with Amanda? Please note that our Amanda server and client are Solaris 9 boxes but in the future we might implement it on Win boxes (is it feasible to implement Kerberos on Win box?) Thanks much, gil __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail
Amanda security +Kerberos
hi, I am a little confused regarding adding security to Amanda. In the past I posted a question regarding adding security to Amanda - We have a Solaris 9 machine which is Amanda server and a remote Solaris 9 machine which is Amanda client. We need the data that is transferring from the client to the server be secure. People have kindly answered my question but I am still confused. Some have suggested to use sftp or ssh - bring those files to the server and then backing it up locally. However, by implementing this technique I am over loading the network - because I have to ssh or sftp all files daily instead of letting Amanda get only the changes (level 0,1 etc). But is there a way to implement ssh/sftp with Amanda? Anyway I am trying to implement Kerberos and I have a few questions about it. I am trying to follow the documentation in Amanda for kerberos - so far I downloaded the file amanda-krb4-2.4.0p1.tar.gz - I unzipped it and tared it (tar xvf). Yet I don't know what the next step should be - configure+make??? Additionally the KERBEROS doc for Amanda under the INSTALLATION section says: 2. INSTALLATION The kerberized Amanda service uses a different port on the client hosts. The /etc/services line is: kamanda 10081/udp Then what should be the host on the server site? Finally how can I test that Kerberos encryption works with Amanda? Please note that our Amanda server and client are Solaris 9 boxes but in the future we might implement it on Win boxes (is it feasible to implement Kerberos on Win box?) Thanks much, gil
AMLABEL
Hello, We have a new tape drive but I am unsuccessfully running amlabel. Some background: I was successfully running amlabel on HARD-DISK. I modified amanda.conf file to accommodate the new tape drive specifications: I added the new tape drive spec - which I got through running amtapetype. with the following : define tape type ULTRIUM2-LTO{ comment just produced by tape type prog (hardware compression off) length 207465 mbytes filemark 939 kbytes speed 17489 kps } and added the following line in the 'main' section in amanda.conf tape type ULTRIUM2-LTO But when I run the command: # amlabel DailySet1 DailySet1001 The system ask me: #insert tape into slot 1 and press return Even though the tape is already in! - I tried to eject and insert the tape but it again requested me to insert a tape! Is it because Amanda could not identify my tape drive? Or maybe it is related to my previous testing of Amanda with our hard-drive. I successfully labeled our hard-drive and recently I comment it out and labeled the new tape drive? Thanks much, gil
FW: AMLABEL
The Operating system is Solaris 9 and tape drive is under /dev/rmt/0n which is the defualt for Solaris. Thx, gil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gene Heskett Sent: Monday, February 07, 2005 12:43 PM To: amanda-users@amanda.org Cc: Gil Naveh Subject: Re: AMLABEL On Monday 07 February 2005 10:56, Gil Naveh wrote: Hello, We have a new tape drive but I am unsuccessfully running amlabel. Some background: I was successfully running amlabel on HARD-DISK. I modified amanda.conf file to accommodate the new tape drive specifications: I added the new tape drive spec - which I got through running amtapetype. with the following : define tape type ULTRIUM2-LTO{ comment just produced by tape type prog (hardware compression off) length 207465 mbytes filemark 939 kbytes speed 17489 kps } and added the following line in the 'main' section in amanda.conf tape type ULTRIUM2-LTO But when I run the command: # amlabel DailySet1 DailySet1001 The system ask me: #insert tape into slot 1 and press return Even though the tape is already in! - I tried to eject and insert the tape but it again requested me to insert a tape! Is it because Amanda could not identify my tape drive? Or maybe it is related to my previous testing of Amanda with our hard-drive. I successfully labeled our hard-drive and recently I comment it out and labeled the new tape drive? This would suggest that the tape device really isn't the right tape device. Which /dev/??? do you have it set to, and what OS? Thanks much, gil -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) 99.32% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attorneys please note, additions to this message by Gene Heskett are: Copyright 2005 by Maurice Eugene Heskett, all rights reserved.
RE: AMLABEL
Gene - thanks for trying to help, Currently the only reason that I can think of is that Amanda has not read correctly our tape drive so I am re-running #amtapetype -f /dev/rmt/0n By tomorrow I'll see what the results are and hopefully it should work... Any thoughts why amlabel is not working are mostly welcome. gil -Original Message- From: Gene Heskett [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 5:52 PM To: Gil Naveh Subject: Re: AMLABEL On Monday 07 February 2005 13:57, Gil Naveh wrote: The Operating system is Solaris 9 and tape drive is under /dev/rmt/0n which is the defualt for Solaris. Thx, gil Ok, then thats out of my field of expertise (such as it is), so take this back to the mailing list where Jon LaBadie seems to be our resident solaris expert, he can probably help you where I would be making only SWAG's. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gene Heskett Sent: Monday, February 07, 2005 12:43 PM To: amanda-users@amanda.org Cc: Gil Naveh Subject: Re: AMLABEL On Monday 07 February 2005 10:56, Gil Naveh wrote: Hello, We have a new tape drive but I am unsuccessfully running amlabel. Some background: I was successfully running amlabel on HARD-DISK. I modified amanda.conf file to accommodate the new tape drive specifications: I added the new tape drive spec - which I got through running amtapetype. with the following : define tape type ULTRIUM2-LTO{ comment just produced by tape type prog (hardware compression off) length 207465 mbytes filemark 939 kbytes speed 17489 kps } and added the following line in the 'main' section in amanda.conf tape type ULTRIUM2-LTO But when I run the command: # amlabel DailySet1 DailySet1001 The system ask me: #insert tape into slot 1 and press return Even though the tape is already in! - I tried to eject and insert the tape but it again requested me to insert a tape! Is it because Amanda could not identify my tape drive? Or maybe it is related to my previous testing of Amanda with our hard-drive. I successfully labeled our hard-drive and recently I comment it out and labeled the new tape drive? This would suggest that the tape device really isn't the right tape device. Which /dev/??? do you have it set to, and what OS? Thanks much, gil -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) 99.32% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attorneys please note, additions to this message by Gene Heskett are: Copyright 2005 by Maurice Eugene Heskett, all rights reserved.
Getting Amanda to production
hello, I have a few question in mind so I'll be able to better configure it. 1) So far I tested Amanda and backed up data on a hard drive and am quit happy with the results. Recently we got a new tape drive and I need to start backing up our data into taps. I am going to use the same Amanda server and clients. Should and if so how do I initialize Amanda so it won't care about previous backups? Additionally I'll probably have to do some more testing in order to see how much time/bandwidth Amanda uses when it backup to our tape drive. But after doing those tests - can I delete those files from the tape? 2) I understand that Amanda has its algorithm that decides when do to a full backup, or an incremental one. But I am a little confused with labeling tapes. (amlabel) When I used the hard-disk I define each hard-drive 'partition' as 4GB and then amlabel each disk e.g. #/usr/sbin/amlabel DailySet1 HISS01 slot 1 #/usr/sbin/amlabel DailySet1 HISS02 slot 2 ... However, I have tapes that each can store 400 compress data, and we have to store about 30GB - am I domed to use each tape for one backup - or can I 'partition' those tapes? Do I have to put each tape in the tape drive and run amlabel? 3) We have a local and remote sites that we have to backup any thoughts, comments on what should I keep in mine before doing so. Additionally any recommendation for what to use to secure our data when backing up remotely? I read that I can use TCP wrappers but how do I implement it with Amanda? 4) Finally, we have one tape drive and about 20 servers that we need to backup from. Some of those servers run on Solaris, some on Windows. Can I back all servers on the same tape, or do I need to set separate tapes for Win machines? Many thanks, gil
RE: Getting Amanda to production
Thanks Gavin and Jon, Wow that was great help. Regarding my first question, what should I do with the 'old' labels (the hard disk) can I delete them? if not how Amanda knows to write on the new tape drive and not on the hard disk. Sincerely, gil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jon LaBadie Sent: Friday, February 04, 2005 3:46 PM To: Amanda-Users Subject: Re: Getting Amanda to production On Fri, Feb 04, 2005 at 02:43:55PM -0500, Gil Naveh wrote: hello, I have a few question in mind so I'll be able to better configure it. 1) So far I tested Amanda and backed up data on a hard drive and am quit happy with the results. Recently we got a new tape drive and I need to start backing up our data into taps. I am going to use the same Amanda server and clients. Should and if so how do I initialize Amanda so it won't care about previous backups? Additionally I'll probably have to do some more testing in order to see how much time/bandwidth Amanda uses when it backup to our tape drive. But after doing those tests - can I delete those files from the tape? I'd start a different config for the tape. Currently you probably do a cronjob with amdump vtapeconfig, simply comment that out entry and add an amdump realtapeconfig. That way, if you ever need to do vtape backups again, you can just uncomment it. 2) I understand that Amanda has its algorithm that decides when do to a full backup, or an incremental one. But I am a little confused with labeling tapes. (amlabel) When I used the hard-disk I define each hard-drive 'partition' as 4GB and then amlabel each disk e.g. #/usr/sbin/amlabel DailySet1 HISS01 slot 1 #/usr/sbin/amlabel DailySet1 HISS02 slot 2 ... However, I have tapes that each can store 400 compress data, and we have to store about 30GB - am I domed to use each tape for one backup yes - or can I 'partition' those tapes? no What some who have a large holding disk(s) space is to let several dump runs collect on the holding disk(s) by not putting a tape in the drive. Amrecover, I'm pretty sure, works with the taped or holding disk dumps. Then insert a tape and amflush them to tape. Do I have to put each tape in the tape drive and run amlabel? yes 3) We have a local and remote sites that we have to backup any thoughts, comments on what should I keep in mine before doing so. Additionally any recommendation for what to use to secure our data when backing up remotely? I read that I can use TCP wrappers but how do I implement it with Amanda? Don't bring them all on line at the same time. Make all your disklist entries but put a # sign to comment them out. Uncomment a couple each dump. Run amcheck with several from each client uncommented BEFORE even thinking about a dump. Maybe use your vtape config to test drive a client before moving them to the big show. 4) Finally, we have one tape drive and about 20 servers that we need to backup from. Some of those servers run on Solaris, some on Windows. Can I back all servers on the same tape, or do I need to set separate tapes for Win machines? Both can share a config. Lots of ways to do the M$ machines, none fully satisfactory. Samba clients to one or several of your unix hosts, nfs shares if your M$ boxes are nfs servers (possibly from M$'s free Services For Unix product - SFU), some windows backup program that writes to a file and backup that single file/directory with amanda, install cygwin on each box and install amanda so it looks like a unix host. Many limitations to backing up M$ boxes, set your expectations low and you won't be unhappy. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
RE: Getting Amanda to production
ok you can laugh at me :) but I don't understand something with amlabel: how does it knows which tape drive I am referring to? since the command looks like: #amlabel DailySet1 labelname thx, gil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jon LaBadie Sent: Friday, February 04, 2005 5:13 PM To: amanda-users@amanda.org Subject: Re: Getting Amanda to production On Fri, Feb 04, 2005 at 05:02:59PM -0500, Gil Naveh wrote: Thanks Gavin and Jon, Wow that was great help. Regarding my first question, what should I do with the 'old' labels (the hard disk) can I delete them? Are they important to you? if not how Amanda knows to write on the new tape drive and not on the hard disk. How did it know to write to the vtapes? You told it where to write. How will it know where to write to the real tapes? You will tell it. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
mounting/identifying a new tape drive
Hello, I have a Solaris 9 box and we bought a new tape drive model Certance LTO-2. Currently, I am trying to identify the tape drive using amtapetype command but it does not work. Let me go a step back and describe what I did so far. I connected the new tape drive to our Solaris 9 server and I restarted Solaris. Next in order to see that the server identified the new hardware I typed: #iostat -En and received the following output regarding the tape drive: # rmt/0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 # Vendor: CERTANCE Product: ULTRIUM 2Revision: 1703 Serial No: 5150-400 Finally, I want to run the amtapetype to identify the tape type definition but was enable to do so! When I typed: #amtapetype: /dev/rmt I received the following error message: #amtapetype: /dev/rmt: rewinding tape: Inappropriate ioctl for device When I typed: # amtapetype: /dev/rmt/0 OR #amtapetype -f /dev/rst13 OR #amtapetype -f /dev/nrst13 The output is : # amtapetype: could not open /dev/nst13: No such file or directory Any idea why I am getting those error messages and whether I miss a step in defining a new tape drive, or any command that describe where the new tape drive is mounted? This is propably a silly question but I am stuck so any help is welcome... Thanks for your help, gil
RE: mounting/identifying a new tape drive
Great, Thanks much for the help :) According to the manufacture I have to add in the file st.conf the tape device configuration and then reboot -r. But do I realy have to reboot -r? or does typing devfsadm -c tape would be enough? After modifying the file dt.conf according to manufacture spec I tried: rm -f /dev/rmt/* devfsadm -c tape but I don't think it identified the new tape drive... mt -f /dev/rmt/0n I got: /dev/rmt/0n: no tape loaded or drive offline Rebooting the server is a little painful - users has to logout etc. Thx, gil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brian Cuttler Sent: Thursday, February 03, 2005 1:34 PM To: Eric Siegerman Cc: Amanda-Users Subject: Re: mounting/identifying a new tape drive On Thu, Feb 03, 2005 at 01:18:44PM -0500, Eric Siegerman wrote: On Thu, Feb 03, 2005 at 12:47:34PM -0500, Jon LaBadie wrote: rm -f /dev/rmt/* devfsadm -c tape Does that do (the tape-related subset of) the same thing as a reconfiguration boot, i.e. with -r? Eric, I believe that -C -c tape does the equiv of -r on reboot but only for tape devices. -c for create, -C for cleanup. -- | | /\ |-_|/ Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED] | | / The animal that coils in a circle is the serpent; that's why so many cults and myths of the serpent exist, because it's hard to represent the return of the sun by the coiling of a hippopotamus. - Umberto Eco, Foucault's Pendulum --- Brian R Cuttler [EMAIL PROTECTED] Computer Systems Support(v) 518 486-1697 Wadsworth Center(f) 518 473-6384 NYS Department of HealthHelp Desk 518 473-0773
RE: mounting/identifying a new tape drive
YE, thank you Eric,Jon, and Brian :) It's the first time I'm doing it so I needed some help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eric Siegerman Sent: Thursday, February 03, 2005 4:03 PM To: Amanda-Users Subject: Re: mounting/identifying a new tape drive On Thu, Feb 03, 2005 at 03:02:36PM -0500, Gil Naveh wrote: but I don't think it identified the new tape drive... mt -f /dev/rmt/0n I got: /dev/rmt/0n: no tape loaded or drive offline On the contrary, I think that means your devfsadm command *did* work. You're now getting a tape-specific error message, instead of a generic one; that means the system now understands that /dev/rmt/0n is in fact a tape drive. So, taking the message at face value ... Was there a tape loaded? Was the drive online? -- | | /\ |-_|/ Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED] | | / The animal that coils in a circle is the serpent; that's why so many cults and myths of the serpent exist, because it's hard to represent the return of the sun by the coiling of a hippopotamus. - Umberto Eco, Foucault's Pendulum
Backup priorities and initialization of backup
Hello, I am quit new with Amanda and I dont understand an important concept regarding Amanda. I realize that Amanda decides what type of backup to perform (level 0 , level 1 etc) according to its algorithm. However, how does it knows which backup level to perform when a user have a tape drive with X different tapes that are manually changed? Is there a file that tells Amanda which backups has been performed and if so what is this file name? Finally, so far I have been changing the file disklist in order to check different backup scenarios. The file tapelist was automatically updated: The new tapelist file looks like: 20041222 DailySet105 reuse 20041222 DailySet104 reuse etc At this point, I want to run the backup which means I have to initialize all my experiments so far any ideas on how to do so? Which files do I have to modify in addition to the disklist file. Thanks, Gil
Tape drive question
Hi, Does anybody have experience with configuring Amanda with tape drive DELL CL 400H? Any expected issues to arise using this tape drive with Amanda? thx, gil
troubleshot getting Amanda to work on a remote host
Hi, I have a local server and a remote client, both run Oracle 9. When I tries to run amcheck from the server to the remote client I get the following error message: ERROR: hostname: [addr 38.128.57.138: hostname lookup failed] Any ideas on how to troubleshot it. - Is it a network problem? yet, I can ping, ftp, ssh to the remote machine. Or did I miss something when I configure Amanda? Many Thanks :), gil
getting information regarding tape drives
hello, I have to do some research and compare different backup alternative for our network. So far I am convince that Amada would be the application to do the backup for us. Yet, I am not sure about the hardware - tape drive, jukebox(if needed), or even hard disk. but I could not find a good site that compares between the different alternatives. I purchased the book 'Unix Backup Recovery' by Oreli but I need more specific information regarding hardware that would enable me to make the best decision on what equipment to purchase. Can someone recommend good website, white papers, book etc. I am quit new in doing backups and am looking for a backup solution that would be reliable, performance effective (time, easy to maintain, easy to configure,compatible with Amanda) and cost effective. Thanks, gil
getting information regarding tape drives
hello, I have to do some research and compare different backup alternative for our network. So far I am convince that Amada would be the application to do the backup for us. Yet, I am not sure about the hardware - tape drive, jukebox(if needed), or even hard disk. but I could not find a good site that compares between the different alternatives. I purchased the book 'Unix Backup Recovery' by Oreli but I need more specific information regarding hardware that would enable me to make the best decision on what equipment to purchase. Can someone recommend good website, white papers, book etc. I am quit new in doing backups and am looking for a backup solution that would be reliable, performance effective (time, easy to maintain, easy to configure,compatible with Amanda) and cost effective. Thanks, gil __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
RE: a problem backing up a window machine
Thanks much Paul, Your English is quit good and eventually I successfully run the amcheck on the window box :) Yet, I was not able to back up a shared folder on a window box. Is it possible to backup a shared folder instead of a full drive like: //machine_name/shared_folder instead of //machine_name/c$ and if so what is the syntax? Thx, gil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Paul Bijnens Sent: Tuesday, December 14, 2004 5:23 PM To: Gil Naveh Cc: [EMAIL PROTECTED] Subject: Re: a problem backing up a window machine Gil Naveh wrote: Thanks for the help. However, when I am following through the example you gave me. ACA I updated the /etc/amandapass and I have created a domain account with admin privileges. Yet, when I run the command smbclient /etc/amandapass //machine_name/c$ user%passwd mydomain I get the following error message: session setup failed: NT_STATUS_LOGON_FAILURE Any idea why and how to debug it? I know my english is not very good (actually it is quiet bad, as I used to say), but when I follow my example the command becomes: smbclient '//machine_name/c$' -U user%passwd -W mydomain Note: - there is no mention of /etc/amandapass, that's is the file where amanda gets the information to fill in here - there are single quotes around the sharename, otherwise the dollar-sign would give trouble in the shell - there is a -U string before the user and the -W string before the domain; I hope you do understand the basic conventions used in unix command line program to give options. - if the password contains any special characters for the shell, then you need quotes around here too. Thanks much, gil -Original Message- From: Paul Bijnens [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 3:56 AM To: Gil Naveh Cc: [EMAIL PROTECTED] Subject: Re: a problembacking up a window machine Gil Naveh wrote: Does it means that I have not configured Samba currectly? Any examples on how to test Samba are mostly welcome In /etc/amandapass you find lines like: Hostname+share username%Password DOMAIN === = = //homeros/d$amanda%secret MYDOMAIN This implies that you have a you have a MS-Windows PC named homeros, which is part of the domain MYDOMAIN, and you have created a domainaccount with administrative priviledges named amanda, wich password secret. To test this with smbclient, do: smbclient '//homeros/d$' -U 'amanda%secret' -W MYDOMAIN And you should get the smb: -prompt, and type e.g. dir to list the files. If you add on each PC a local user instead of the domain user, then you should not add the MYDOMAIN value to /etc/amandapass, and test without the -W MYDOMAIN option for smbclient, of course. -- 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 * ***
getting information regarding tape drives
hello, I have to do some research and compare different backup alternative for our network. So far I am convince that Amada would be the application to do the backup for us. Yet, I am not sure about the hardware - tape drive might also be a jukebox, but I could not find a good site that compares between the different alternatives. Can someone recommend good website, white papers etc, I am quit new in doing backups and am locking for alternative that would be reliable, performance effective (time, easy to maintain, compatible with Amanda) and cost effective. Thanks, gil
getting information regarding tape drives
hello, I have to do some research and compare different backup alternative for our network. So far I am convince that Amada would be the application to do the backup for us. Yet, I am not sure about the hardware - tape drive might also be a jukebox, but I could not find a good site that compares between the different alternatives. Can someone recommend good website, white papers etc, I am quit new in doing backups and am locking for alternative that would be reliable, performance effective (time, easy to maintain, compatible with Amanda) and cost effective. Thanks, gil
RE: a problem backing up a window machine
Thanks for the help. However, when I am following through the example you gave me. ACA I updated the /etc/amandapass and I have created a domain account with admin privileges. Yet, when I run the command smbclient /etc/amandapass //machine_name/c$ user%passwd mydomain I get the following error message: session setup failed: NT_STATUS_LOGON_FAILURE Any idea why and how to debug it? Thanks much, gil -Original Message- From: Paul Bijnens [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 3:56 AM To: Gil Naveh Cc: [EMAIL PROTECTED] Subject: Re: a problembacking up a window machine Gil Naveh wrote: Does it means that I have not configured Samba currectly? Any examples on how to test Samba are mostly welcome In /etc/amandapass you find lines like: Hostname+share username%Password DOMAIN === = = //homeros/d$amanda%secret MYDOMAIN This implies that you have a you have a MS-Windows PC named homeros, which is part of the domain MYDOMAIN, and you have created a domainaccount with administrative priviledges named amanda, wich password secret. To test this with smbclient, do: smbclient '//homeros/d$' -U 'amanda%secret' -W MYDOMAIN And you should get the smb: -prompt, and type e.g. dir to list the files. If you add on each PC a local user instead of the domain user, then you should not add the MYDOMAIN value to /etc/amandapass, and test without the -W MYDOMAIN option for smbclient, of course. -- 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 * ***
using Amanda remotely
hello, We have servers(Solaris 9) on two different locations and when I am running amcheck I get the following error message: WARNING: host2name.com: self check request timed out. Host down? Client check: 1 host checked in 30.029 seconds, 1 problem found I can ssh remotely the server. I already set the .amandahosts with the appropriate hosts on both the Amanda server(localy) and on the remote Amanda client to allow access to this host. Do I miss something with the configuration? - I had no problem backing up different servers on the same site. Thanks, gil
RE: using Amanda remotely
Thanks guys, It might be a firewall issue. gil -Original Message- From: Frank Smith [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 12:21 PM To: Gil Naveh; Amanda-Users Subject: Re: using Amanda remotely --On Monday, December 13, 2004 12:01:46 -0500 Gil Naveh [EMAIL PROTECTED] wrote: hello, We have servers(Solaris 9) on two different locations and when I am running amcheck I get the following error message: WARNING: host2name.com: self check request timed out. Host down? Client check: 1 host checked in 30.029 seconds, 1 problem found I can ssh remotely the server. I already set the .amandahosts with the appropriate hosts on both the Amanda server(localy) and on the remote Amanda client to allow access to this host. Do I miss something with the configuration? - I had no problem backing up different servers on the same site. Thanks, gil In addition to what Brian suggested, verify that any firewalls (or router ACLs) between the servers allow Amanda traffic. If you haven't compiled Amanda with the portrange options, it needs to be faily wide open in both directions. Frank -- Frank Smith [EMAIL PROTECTED] Sr. Systems Administrator Voice: 512-374-4673 Hoover's Online Fax: 512-374-4501
RE: a problembacking up a window machine
Thanks for the responce. I don't have much experience working with Samba. My test on the Unix server was: # cat testfile.txt | smbclient -M window-name I received a pop up with testfile.txt contant. however when I type: # smbclient -L window-client-name -N I get the following error message: Anonymous login successful Domain=[CLEVEREX] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] Sharename Type Comment - --- Error returning browse list: NT_STATUS_ACCESS_DENIED Server Comment ---- WorkgroupMaster ---- Does it means that I have not configured Samba currectly? Any examples on how to test Samba are mostly welcome Thanks much, gil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jon LaBadie Sent: Monday, December 13, 2004 3:51 PM To: Amanda-Users Subject: Re: a problembacking up a window machine On Mon, Dec 13, 2004 at 02:27:41PM -0500, Gil Naveh wrote: hello, For the last couple of days I am unsuccessfully trying to backup a window machine(Win 2000) with Samba server(Solaris 9). I installed Samba on the Solaris server and successfully run and tested smbclient. Yet, I am unable to backup the 'Shared folder' on the window box. When running amcheck Amanda sends me the following error message: NOTE: info dir /usr/adm/amanda/DailySet1/curinfo/hostname.com: does not exist NOTE: index dir /usr/adm/amanda/DailySet1/index/hostname.com: does not exist ignore these, they will exist when the first of hostname.com backup is done. Server check took 0.190 seconds Amanda Backup Client Hosts Check WARNING: hostname.com: selfcheck request timed out. Host down? Client check: 1 host checked in 30.031 seconds, 1 problem found Additionally, I updated the file: /etc/amandapass with the following line: //Window-computer-name/share-folder-name username%password I created a shared folder on the Window machine. smbd and nmbd deamons are running! Can you access the shares by hand with smbtar/smbclient? -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
a problembacking up a window machine
hello, For the last couple of days I am unsuccessfully trying to backup a window machine(Win 2000) with Samba server(Solaris 9). I installed Samba on the Solaris server and successfully run and tested smbclient. Yet, I am unable to backup the 'Shared folder' on the window box. When running amcheck Amanda sends me the following error message: NOTE: info dir /usr/adm/amanda/DailySet1/curinfo/hostname.com: does not exist NOTE: index dir /usr/adm/amanda/DailySet1/index/hostname.com: does not exist Server check took 0.190 seconds Amanda Backup Client Hosts Check WARNING: hostname.com: selfcheck request timed out. Host down? Client check: 1 host checked in 30.031 seconds, 1 problem found Additionally, I updated the file: /etc/amandapass with the following line: //Window-computer-name/share-folder-name username%password I created a shared folder on the Window machine. smbd and nmbd deamons are running! Any thoughts, similar experience etc Thanks much, gil
configuring Amanda with Samba
hi, I am trying to configure Amanda on a Solaris 9 server - I need to backup both Unix computers and Windows computers. I was able to backup the Unix server, BUT I could not backup the Windows machine. I installed SAMBA 3.0.9, HOWEVER when I run amcheck dirname I received the following error message: ...session setup failed: NT_STATUS_LOGON_FAILURE: returned 1 Any thoughts commends? thx, gil
Recommendation for tape drives
hi, Can someone recommend a tape-drive that works well with Amanda and can backup about 40-60GB. Thx, Gil
RE: Recommendation for tape drives
Some more specifications regarding getting a tape drive: I have a Solaris 9 box which will be the Amanda server I have to back up another Solaris box as well as a few Window2000 boxes. The budget for the tape drive is about 500$ to 1000$ (without Jukebox - too expensive) I would like to use compression, yet I have no idea about the compressibility of the data. My preferences would be: 1) A device that can store 30GB or more. (most important) 2) Easy to configure with Amanda.(very impportant) 3) Reliable (very impportant) 3) Fast to record and recover (less important) thx :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brian Cuttler Sent: Friday, December 03, 2004 1:27 PM To: Gil Naveh Cc: [EMAIL PROTECTED] Subject: Re: Recommendation for tape drives Gil, Amanda uses native utilities to write the tape drive. If you tell us your OS we might have specific recommendations. Do you have any idea the compressability of your data, and if you want to use compression or not ? Jukebox ? Budget ? On Fri, Dec 03, 2004 at 12:30:44PM -0500, Gil Naveh wrote: hi, Can someone recommend a tape-drive that works well with Amanda and can backup about 40-60GB. Thx, Gil --- Brian R Cuttler [EMAIL PROTECTED] Computer Systems Support(v) 518 486-1697 Wadsworth Center(f) 518 473-6384 NYS Department of HealthHelp Desk 518 473-0773