Hadi, I typically use amadmin to gather info and amrestore to recover files to a restore directory tree.
I have no expertise/experience of any kind with amrecover and refer your question to the amanda-users group. On Mon, Aug 16, 2004 at 05:10:01PM -0700, nyohadi wrote: > Hi Brian , > I just found different thing on amanda client and amanda > server ,first is when amlabel the system read > /etc/amanda/daily/amanda.conf. second when I am do amrecover from > client ,the system read /etc/amanda/DailySet1/amanda.conf , why not > one dir ? ie /etc/amanda/daily/amanda.conf for amlabel or amrecover ? > any something wrong with my compile ? > here option config on server > ./configure --with-user=amanda --with-group=amanda > --with-libraries=/usr/local/lib --with-config=daily > --with-configdir=/etc/amanda > > here config for client > ./configure --with-user=amanda --with-group=amanda > --with-libraries=/usr/local/lib --with-tape-server=backup.esuria.com.bn > --without-server --with-index-server=backup.esuria.com.bn > ----with-config=daily --with-configdir=/etc/amanda > > I try many recompile with option dir , btw result is the same , any > wrong with my compile ? > > regards > > hadi > Brian Cuttler wrote: > > >Hadi, > > > >You are welcome - glad the jukebox is working properly now. > > > >As to your other question - no, amanda is not really designed > >to operate in the way you are asking. > > > >Amanda maintains a tape pool, which it will attempt to use in > >order from cycle to cycle. Ideally your tape pool exceeds the > >size of the dump cycle so that you will not risk overwriting > >a previous level 0 of any particular file system in the event > >of a missed day, ie tape trouble, power, drive failure, etc. > > > >With a jukebox its possible to run dumps 7/week (which it is > >not possible to do at my site without a jukebox since we have > >no weekend coverage), if you want to attempt to keep the tapes > >in step with the day of the week you should size your tape > >pool to be a multiple of your dumpcycle. Ie: dumpcycle 7-days, > >tape pool, 14,21,28 tapes. > > > >Even so you should expect to fall out of sequence at some point. > > > >Normally to find which tape has a level N of some particular > >file system you would use the "amadmin find" commands. > > > >Related to this, amanda will try to schedule different dump levels > >of the partitions being dumped so as to attempt to equalize the > >amanda of data written to tape each day. Amanda does not typically > >schedule a level 0, 1, 2 of partition /XX for Mon,Tues,Wed. It will > >appear to you to be more random than that - but really follows a > >well thought out strategem. > > > > > > > >On Sun, Aug 15, 2004 at 12:22:38PM -0700, nyohadi wrote: > > > > > >> Hi Brian , > >> Thanks for advice me , i am try trace error from > >>/tmp/amanda , now my L8 with solaris 9 working , when i am label take > >>from slot automatic, key is check first with chg-zd-mt > >>/usr/local/libexec must working first , there also when i am checking > >>(amchek ) can take tape automatic . > >> my question is the tape configured by Dailyset1-001 , > >>Dailyset1-002 , how to configure sunday use tape Dailyset1-007 , monday > >>use Dailyset1-001 ?, if you have copy sample from your crontab ,give me > >>please > >> > >> > >>regards > >> > >>hadi > >> > >>Brian Cuttler wrote: > >> > >> > >> > >>>Hadi, > >>> > >>>Yes - sorry, I picked the one jukebox config at my site that > >>>didn't give driveslot, I had three others I could have sent. > >>> > >>>[nnewton] /usr/local/etc/amanda/newtonr 6> cat chg-zd-mtx.conf > >>>firstslot=1 > >>>lastslot=9 > >>>#cleanslot=3 > >>>AUTOCLEAN=0 > >>>autocleancount=99 > >>>havereader=1 > >>>offlinestatus=0 > >>>OFFLINE_BEFORE_UNLOAD=0 > >>>driveslot=0 > >>> > >>> > >>> > >>> > >>>On Thu, Aug 12, 2004 at 06:52:01PM -0700, nyohadi wrote: > >>> > >>> > >>> > >>> > >>>>Dear Brian & Amanda user , > >>>> can you give me example your amanda.conf and changer file and > >>>>how to to give driveslot on glue config. > >>>> > >>>> > >>>>thanks and regards > >>>> > >>>>hadi > >>>> > >>>>Brian Cuttler wrote: > >>>> > >>>> > >>>> > >>>> > >>>> > >>>>>Hadi, > >>>>> > >>>>>I believe there is a debug switch in the glue-script, you may > >>>>>want to set than and read though the log which should be in > >>>>>/tmp/amanda > >>>>> > >>>>>You may also want to set "driveslot" in your glue config file. > >>>>>I believe the script reads the slot number based on the robot > >>>>>address and it isn't always the case that the tape drive addressing > >>>>>matches that way. > >>>>> > >>>>>ie: I have two robots, separate systems, each with a single tape > >>>>>drive, one amanda conf "assumed" that if the robot was at location 1 > >>>>>then the tape drive was a 1 also, in my case both drives where > >>>>>at location 0. > >>>>> > >>>>>Make sure you've set all necessary parameters that are listed in > >>>>>the glue script. Make sure you have the current glue script, I have > >>>>>to look back at your email, but the script greatly changed at one > >>>>>point and the new one was more robust than the old. > >>>>> > >>>>>On Wed, Aug 11, 2004 at 09:07:03AM -0700, nyohadi wrote: > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>Dear Brian & amanda user, > >>>>>> > >>>>>> > >>>>>>1) I had issues with the glue script when I first installed it, > >>>>>> I changed the script itself run run under k-shell. > >>>>>> > >>>>>> am install default configuration from amanda, any some > >>>>>>problem with my shell ? or glue script. > >>>>>> > >>>>>> > >>>>>>2) What version of mtx software did you install ? > >>>>>> [EMAIL PROTECTED] # ./mtx --version > >>>>>> mtx version 1.3.8 > >>>>>> > >>>>>> You say the mtx software works properly by itself ? > >>>>>> > >>>>>>. yes , i do load ,unload and eject normal like move drive on > >>>>>>untility veritas netbackup > >>>>>> > >>>>>>My binary is /usr/local/sbin/mtx, I believe that is the > >>>>>> default installation location. > >>>>>> > >>>>>> YES , THE SAME LOCATION > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>What are the results of running mtx with its various options ? > >>>>>> > >>>>>> Results of inventory, inquiry and other basic commands ? > >>>>>> > >>>>>> > >>>>>>[EMAIL PROTECTED] # ./mtx -f /dev/scsi/changer/c3t0d0 inventory > >>>>>> (LOADER SCANING SLOT BY SLOT ) > >>>>>> > >>>>>>[EMAIL PROTECTED] # ./mtx -f /dev/scsi/changer/c3t0d0 inquiry > >>>>>>Product Type: Medium Changer > >>>>>>Vendor ID: 'ADIC ' > >>>>>>Product ID: 'FastStor 2 ' > >>>>>>Revision: 'G12r' > >>>>>>Attached Changer API: No > >>>>>>[EMAIL PROTECTED] # > >>>>>> > >>>>>> > >>>>>>[EMAIL PROTECTED] # ./mtx -f /dev/scsi/changer/c3t0d0 status > >>>>>>Storage Changer /dev/scsi/changer/c3t0d0:1 Drives, 8 Slots ( 0 Import/Export ) > >>>>>>Data Transfer Element 0:Empty > >>>>>> Storage Element 1:Full > >>>>>> Storage Element 2:Empty > >>>>>> Storage Element 3:Empty > >>>>>> Storage Element 4:Empty > >>>>>> Storage Element 5:Full > >>>>>> Storage Element 6:Empty > >>>>>> Storage Element 7:Empty > >>>>>> Storage Element 8:Full > >>>>>> > >>>>>>[EMAIL PROTECTED] # ./mtx -f /dev/scsi/changer/c3t0d0 load 1 > >>>>>>Loading media from Storage Element 1 into drive 0...done > >>>>>> > >>>>>>[EMAIL PROTECTED] # ./mtx -f /dev/scsi/changer/c3t0d0 unload > >>>>>>Unloading drive 0 into Storage Element 1...done > >>>>>> > >>>>>>regards > >>>>>> > >>>>>>hadi > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>Brian Cuttler wrote: > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>>Hadi, > >>>>>>> > >>>>>>>Thank you for choosing me to write too, it would probably help > >>>>>>>though in include the amanda-users list as many have greater > >>>>>>>expertise than I. > >>>>>>> > >>>>>>>1) I had issues with the glue script when I first installed it, > >>>>>>>I changed the script itself run run under k-shell. > >>>>>>> > >>>>>>>2) What version of mtx software did you install ? > >>>>>>>You say the mtx software works properly by itself ? > >>>>>>> > >>>>>>>My binary is /usr/local/sbin/mtx, I believe that is the > >>>>>>>default installation location. > >>>>>>> > >>>>>>>What are the results of running mtx with its various options ? > >>>>>>> > >>>>>>>Results of inventory, inquiry and other basic commands ? > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>On Wed, Aug 11, 2004 at 08:16:25AM -0700, nyohadi wrote: > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>Dear Brian , > >>>>>>>> thanks for reply my email , i change as your recomend , now when > >>>>>>>>i am issue command get error > >>>>>>>> bash-2.05$ /usr/local/sbin/amlabel -f daily DailySet1-001 slot 1 > >>>>>>>> amlabel: could not load slot "1": no slots > >>>>>>>>available > >>>>>>>> > >>>>>>>> shall i am issue another command ? > >>>>>>>> > >>>>>>>>regards > >>>>>>>> > >>>>>>>>hadi > >>>>>>>> > >>>>>>>>Brian Cuttler wrote: > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>>[Original note from user follows .sig] > >>>>>>>>> > >>>>>>>>>Hadi, > >>>>>>>>> > >>>>>>>>>Glad to help. > >>>>>>>>> > >>>>>>>>>I note two things right off, in my config > >>>>>>>>> > >>>>>>>>>changerfile "/usr/local/etc/amanda/ninfo/chg-zd-mtx" > >>>>>>>>>where you have > >>>>>>>>>changerfile "/usr/local/etc/amanda/daily/changer.conf" > >>>>>>>>> > >>>>>>>>>I believe I tried it your way originally, resulting in > >>>>>>>>>amanda being unable to find /usr/local/etc/amanda/ninfo/chg-zd-mtx.conf.conf > >>>>>>>>>since it seems to add the extension by itself. > >>>>>>>>> > >>>>>>>>>Second thing I note is that I have a number of parameters in > >>>>>>>>>my config file that you seem to be missing. > >>>>>>>>> > >>>>>>>>>My file (for a 9 slot L9 changer, really HP under the hood) contains > >>>>>>>>> > >>>>>>>>>[nnewton] /usr/local/etc/amanda/ninfo 6> more chg-zd-mtx.conf > >>>>>>>>>firstslot=1 > >>>>>>>>>lastslot=9 > >>>>>>>>>#cleanslot=3 > >>>>>>>>>AUTOCLEAN=0 > >>>>>>>>>autocleancount=99 > >>>>>>>>>havereader=1 > >>>>>>>>>offlinestatus=0 > >>>>>>>>>OFFLINE_BEFORE_UNLOAD=0 > >>>>>>>>>max_drive_wait=300 > >>>>>>>>> > >>>>>>>>>Please see if adding first/last slot information to your file helps. > >>>>>>>>> > >>>>>>>>> > >>>>>>>>>--- > >>>>>>>>>Brian R Cuttler [EMAIL PROTECTED] > >>>>>>>>>Computer Systems Support (v) 518 486-1697 > >>>>>>>>>Wadsworth Center (f) 518 473-6384 > >>>>>>>>>NYS Department of Health Help Desk 518 473-0773 > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>>On Wed, Aug 11, 2004 at 06:27:12AM -0700, nyohadi wrote: > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>>>Hi Brian , > >>>>>>>>>> my name is hadi , i am from brunei , i am newbie in amanda > >>>>>>>>>>, i am install in solaris 9 with l8 autoloader , i test command with > >>>>>>>>>>mtx working properly , but when i am label ,i got messages : > >>>>>>>>>> > >>>>>>>>>>bash-2.05$ /usr/local/sbin/amtape daily slot 1 > >>>>>>>>>>amtape: could not load slot <none>: cannot determine first slot > >>>>>>>>>> > >>>>>>>>>> tape config on amanda.conf > >>>>>>>>>> > >>>>>>>>>>tpchanger "chg-zd-mtx" # the tape-changer glue script > >>>>>>>>>> > >>>>>>>>>>#tapedev "/dev/rmt/0cn" # the no-rewind tape device to be used > >>>>>>>>>>tapedev "/dev/rmt/0cn" # the no-rewind tape device to be used > >>>>>>>>>> > >>>>>>>>>>changerfile "/usr/local/etc/amanda/daily/changer.conf" > >>>>>>>>>> > >>>>>>>>>>changerdev "/dev/scsi/changer/c3t0d0" > >>>>>>>>>> > >>>>>>>>>>runtapes 1 # number of tapes to be used in a single run of amdump > >>>>>>>>>> > >>>>>>>>>>changer.conf > >>>>>>>>>>============= > >>>>>>>>>>multieject 0 > >>>>>>>>>>gravity 0 > >>>>>>>>>>needeject 0 > >>>>>>>>>>ejectdelay 0 > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>>many thanks and regards > >>>>>>>>>> > >>>>>>>>>>Hadi > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>>. > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>--- > >>>>>>>>>Brian R Cuttler [EMAIL PROTECTED] > >>>>>>>>>Computer Systems Support (v) 518 486-1697 > >>>>>>>>>Wadsworth Center (f) 518 473-6384 > >>>>>>>>>NYS Department of Health Help Desk 518 473-0773 > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>--- > >>>>>>>Brian R Cuttler [EMAIL PROTECTED] > >>>>>>>Computer Systems Support (v) 518 486-1697 > >>>>>>>Wadsworth Center (f) 518 473-6384 > >>>>>>>NYS Department of Health Help Desk 518 473-0773 > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>--- > >>>>> Brian R Cuttler [EMAIL PROTECTED] > >>>>> Computer Systems Support (v) 518 486-1697 > >>>>> Wadsworth Center (f) 518 473-6384 > >>>>> NYS Department of Health Help Desk 518 473-0773 > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>--- > >>> Brian R Cuttler [EMAIL PROTECTED] > >>> Computer Systems Support (v) 518 486-1697 > >>> Wadsworth Center (f) 518 473-6384 > >>> NYS Department of Health Help Desk 518 473-0773 > >>> > >>> > >>> > >>> > >>> > >--- > > Brian R Cuttler [EMAIL PROTECTED] > > Computer Systems Support (v) 518 486-1697 > > Wadsworth Center (f) 518 473-6384 > > NYS Department of Health Help Desk 518 473-0773 > > > > > > --- Brian R Cuttler [EMAIL PROTECTED] Computer Systems Support (v) 518 486-1697 Wadsworth Center (f) 518 473-6384 NYS Department of Health Help Desk 518 473-0773
