Re: How to Extract Same Database in Two Different Virtual Tapes??
On 2007-06-13 05:05, fedora wrote: > this is my changer.conf: > > multieject 0 > gravity 0 > needeject 0 > ejectdelay 0 > > statefile /usr/local/etc/amanda/DailySet1/changer-status > > firstslot 1 > lastslot 14 > > slot 1 file:/data/amandadumps/tape01 > slot 2 file:/data/amandadumps/tape02 > slot 3 file:/data/amandadumps/tape03 > slot 4 file:/data/amandadumps/tape04 > slot 5 file:/data/amandadumps/tape05 > slot 6 file:/data/amandadumps/tape06 > slot 7 file:/data/amandadumps/tape07 > slot 8 file:/data/amandadumps/tape08 > slot 9 file:/data/amandadumps/tape09 > slot 10 file:/data/amandadumps/tape10 > slot 11 file:/data/amandadumps/tape11 > slot 12 file:/data/amandadumps/tape12 > slot 13 file:/data/amandadumps/tape13 > slot 14 file:/data/amandadumps/tape14 > > here is settings in amanda.conf: > > runtapes 1 # number of tapes to be used in a single run > of amdump > #tpchanger "chg-manual" # the tape-changer glue script > tpchanger "chg-multi" # the tape-changer glue script > tapedev "/dev/null" # the no-rewind tape device to be used > rawtapedev "/dev/null" # the raw device to be used (ftape only) > #changerfile "/usr/local/etc/amanda/DailySet1/changer" > #changerfile "/usr/local/etc/amanda/DailySet1/changer-status" > changerfile "/usr/local/etc/amanda/DailySet1/changer.conf" > #changerdev "/dev/null" > > amrecover_do_fsf yes > amrecover_check_label yes > amrecover_changer "/dev/null" Really a strange and confusing name for your changer :-) My setting is: amrecover_changer "changer" > > pls advice.. TQ guys.. > > > Marc Muehlfeld wrote: >> Hi, >> >>> If U see the Ayofun_CSite database appeared in two different virtual >>> tapes. I can recover for just one virtual tape. How to recover both of >>> different virtual tapes? Pls help. -- >> I use a tape changer configuration for my vtapes, too. When I restore >> files that are on more than one vtape, then amrecover ask me to insert >> tape1 (the changer does this by hisself when I hit yes), and later for >> tape2 (same procedure). No need to change the tapes by myself or something >> else. >> >> I think something is wrong with your changer configuration. Take a look at >> http://www.amanda.org/docs/howto-filedriver.html >> >> If you don't find the problem with the documentation, you can send your >> changer configuration to the list, so we can try to find the problem. >> >> Regards >> Marc Try this: amrecover DailySet1 -d /dev/null # I said, you do have a strange and confusing name for your # changer :-) > setdate 2007-06-10 > sethost thishost > setdisk /this/disk > add . > extract ... Now verify that amanda is using the changer as you named it. ... Really confusing when you named you changer to another ... existing device ... Extracting files using tape drive /dev/null on host amandahost. The following tapes are needed: DailySet1-XX -- Paul Bijnens, xplanation Technology ServicesTel +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, * * init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... * * ... "Are you sure?" ... YES ... Phew ... I'm out * ***
Re: How to Extract Same Database in Two Different Virtual Tapes??
this is my changer.conf: multieject 0 gravity 0 needeject 0 ejectdelay 0 statefile /usr/local/etc/amanda/DailySet1/changer-status firstslot 1 lastslot 14 slot 1 file:/data/amandadumps/tape01 slot 2 file:/data/amandadumps/tape02 slot 3 file:/data/amandadumps/tape03 slot 4 file:/data/amandadumps/tape04 slot 5 file:/data/amandadumps/tape05 slot 6 file:/data/amandadumps/tape06 slot 7 file:/data/amandadumps/tape07 slot 8 file:/data/amandadumps/tape08 slot 9 file:/data/amandadumps/tape09 slot 10 file:/data/amandadumps/tape10 slot 11 file:/data/amandadumps/tape11 slot 12 file:/data/amandadumps/tape12 slot 13 file:/data/amandadumps/tape13 slot 14 file:/data/amandadumps/tape14 here is settings in amanda.conf: runtapes 1 # number of tapes to be used in a single run of amdump #tpchanger "chg-manual" # the tape-changer glue script tpchanger "chg-multi" # the tape-changer glue script tapedev "/dev/null" # the no-rewind tape device to be used rawtapedev "/dev/null" # the raw device to be used (ftape only) #changerfile "/usr/local/etc/amanda/DailySet1/changer" #changerfile "/usr/local/etc/amanda/DailySet1/changer-status" changerfile "/usr/local/etc/amanda/DailySet1/changer.conf" #changerdev "/dev/null" amrecover_do_fsf yes amrecover_check_label yes amrecover_changer "/dev/null" pls advice.. TQ guys.. Marc Muehlfeld wrote: > > Hi, > >> If U see the Ayofun_CSite database appeared in two different virtual >> tapes. I can recover for just one virtual tape. How to recover both of >> different virtual tapes? Pls help. -- > > I use a tape changer configuration for my vtapes, too. When I restore > files that are on more than one vtape, then amrecover ask me to insert > tape1 (the changer does this by hisself when I hit yes), and later for > tape2 (same procedure). No need to change the tapes by myself or something > else. > > I think something is wrong with your changer configuration. Take a look at > http://www.amanda.org/docs/howto-filedriver.html > > If you don't find the problem with the documentation, you can send your > changer configuration to the list, so we can try to find the problem. > > Regards > Marc > > > -- > Marc Muehlfeld (Leitung Systemadministration) > Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost > Lochhamer Str. 29 - D-82152 Martinsried > Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-78 > http://www.medizinische-genetik.de > > > > -- View this message in context: http://www.nabble.com/How-to-Extract-Same-Database-in-Two-Different-Virtual-Tapes---tf3900338.html#a11091985 Sent from the Amanda - Users mailing list archive at Nabble.com.
Re: How to Extract Same Database in Two Different Virtual Tapes??
On 2007-06-11 12:17, Marc Muehlfeld wrote: > Hi, > >> If U see the Ayofun_CSite database appeared in two different virtual >> tapes. I can recover for just one virtual tape. How to recover both of >> different virtual tapes? Pls help. -- > > I use a tape changer configuration for my vtapes, too. When I restore > files that are on more than one vtape, then amrecover ask me to insert > tape1 (the changer does this by hisself when I hit yes), and later for > tape2 (same procedure). No need to change the tapes by myself or something > else. > > I think something is wrong with your changer configuration. Take a look at > http://www.amanda.org/docs/howto-filedriver.html See also: http://wiki.zmanda.com/index.php/File_driver#Recovery wich has a much updated version of that text, including how to load the tapes automatically, instead of manually. -- Paul Bijnens, xplanation Technology ServicesTel +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, * * init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... * * ... "Are you sure?" ... YES ... Phew ... I'm out * ***
Re: How to Extract Same Database in Two Different Virtual Tapes??
Hi, > If U see the Ayofun_CSite database appeared in two different virtual > tapes. I can recover for just one virtual tape. How to recover both of > different virtual tapes? Pls help. -- I use a tape changer configuration for my vtapes, too. When I restore files that are on more than one vtape, then amrecover ask me to insert tape1 (the changer does this by hisself when I hit yes), and later for tape2 (same procedure). No need to change the tapes by myself or something else. I think something is wrong with your changer configuration. Take a look at http://www.amanda.org/docs/howto-filedriver.html If you don't find the problem with the documentation, you can send your changer configuration to the list, so we can try to find the problem. Regards Marc -- Marc Muehlfeld (Leitung Systemadministration) Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost Lochhamer Str. 29 - D-82152 Martinsried Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-78 http://www.medizinische-genetik.de
Re: How to Extract Same Database in Two Different Virtual Tapes??
> Label mismatch, got DailySet1-11 and expected DailySet1-07 > Label mismatch, got DailySet1-11 and expected DailySet1-07 > > > If U see the Ayofun_CSite database appeared in two different virtual tapes. > I can recover for just one virtual tape. How to recover both of different > virtual tapes? Pls help. It looks like a tape changer problem to me. Olivier
How to Extract Same Database in Two Different Virtual Tapes??
Hi Guys, Here is my way to do recover: . output truncated . amrecover> add Ayofun_CSite Added dir /Ayofun_CSite/ at date 2007-06-07-00-30-01 Added dir /Ayofun_CSite/ at date 2007-06-11-00-30-02 amrecover> list TAPE DailySet1-07:8 LEVEL 0 DATE 2007-06-07-00-30-01 /Ayofun_CSite TAPE DailySet1-11:5 LEVEL 1 DATE 2007-06-11-00-30-02 /Ayofun_CSite amrecover> settape backup.mydomain.com:file:/data/amandadumps/tape07 Using tape "file:/data/amandadumps/tape07" from server backup.mydomain.com. amrecover> settape backup.mydomain.com:file:/data/amandadumps/tape11 Using tape "file:/data/amandadumps/tape11" from server backup.mydomain.com. amrecover> extract Extracting files using tape drive file:/data/amandadumps/tape11 on host backup.mydomain.com. The following tapes are needed: DailySet1-07 DailySet1-11 Restoring files into directory /data/amandarecover Continue [?/Y/n]? y Extracting files using tape drive file:/data/amandadumps/tape11 on host backup.mydomain.com. Load tape DailySet1-07 now Continue [?/Y/n/s/t]? y Label mismatch, got DailySet1-11 and expected DailySet1-07 Load tape DailySet1-07 now Continue [?/Y/n/t]? y Label mismatch, got DailySet1-11 and expected DailySet1-07 Label mismatch, got DailySet1-11 and expected DailySet1-07 Load tape DailySet1-07 now Continue [?/Y/n/t]? y Label mismatch, got DailySet1-11 and expected DailySet1-07 Label mismatch, got DailySet1-11 and expected DailySet1-07 Load tape DailySet1-07 now Continue [?/Y/n/t]? y Label mismatch, got DailySet1-11 and expected DailySet1-07 Label mismatch, got DailySet1-11 and expected DailySet1-07 If U see the Ayofun_CSite database appeared in two different virtual tapes. I can recover for just one virtual tape. How to recover both of different virtual tapes? Pls help. -- View this message in context: http://www.nabble.com/How-to-Extract-Same-Database-in-Two-Different-Virtual-Tapes---tf3900338.html#a11057128 Sent from the Amanda - Users mailing list archive at Nabble.com.
