[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dump - restore



On 20/07/12 19:50, Mostafa Hashemi wrote:
sorry because of last message, coincidentally i pressed send key ....
the complete message is :
hi guys
thank you all for your answers to my last questions.
i found how dump - restore works. but i have question :
i did this :
    dump -0aj -f /tmp/1.bak /
in order to run a dump to back up the whole system ( did i do it in a right
way ? )
and after the dump is finished, i do this to restore it :
    restore -if/tmp/1.bak
it says :
    Dump tape is compressed.
    restore>
what should i do here ?
i checked out the man page, i used this :
    restore>  extract /tmp/1.bak
after enter, i see this :
    you have not read any volumes yet.
    unless you know which volume your file(s) are on you should start with
last volume and work toward first.
    specify next volume # ( none if no more volumes ) :
what should i do i this step ?

thank u all ...


You should enter volume number 1.

But you should probably read the manpage more carefully. "extract /tmp/1.bak" will try and restore the file "/tmp/1.bak" from the dump, ie. the file you dumped to, not the contents.

--
Dom


Reply to: