dump - restore

July 20th, 2012 - 03:10 pm ET by Mostafa Hashemi | Report spam

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 ...


sorry because of last message, coincidentally i pressed send key <div>the complete message is :</div><div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);text-align:left">
<font color="#252525" face="Arial, Helvetica, Verdana, sans-serif"><span style="line-height:16px">hi guys</span></font></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);text-align:left">
<font color="#252525" face="Arial, Helvetica, Verdana, sans-serif"><span style="line-height:16px">thank you all for your answers to my last questions.</span></font></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);text-align:left">
<font color="#252525" face="Arial, Helvetica, Verdana, sans-serif"><span style="line-height:16px">i found how dump - restore works. but i have question :</span></font></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);text-align:left">
<font color="#252525" face="Arial, Helvetica, Verdana, sans-serif"><span style="line-height:16px">i did this :</span></font></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);text-align:left">
<span style="line-height:16px;color:rgb(37,37,37);font-family:Arial,Helvetica,Verdana,sans-serif">   dump -0aj -f /tmp/1.bak /</span></div></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);text-align:left">
<font color="#252525" face="Arial, Helvetica, Verdana, sans-serif"><span style="line-height:16px">in order to run a dump to back up the whole system ( did i do it in a right way ? )</span></font></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);text-align:left">
<font color="#252525" face="Arial, Helvetica, Verdana, sans-serif"><span style="line-height:16px">and after the dump is finished, i do this to restore it :</span></font></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);text-align:left">
<font color="#252525" face="Arial, Helvetica, Verdana, sans-serif"><span style="line-height:16px">   restore -if/tmp/1.bak</span></font></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);text-align:left">
<font color="#252525" face="Arial, Helvetica, Verdana, sans-serif"><span style="line-height:16px">it says :</span></font></div><div style="font-size:13px;background-color:rgb(255,255,255);text-align:left"><font color="#252525" face="Arial, Helvetica, Verdana, sans-serif"><span style="line-height:16px">   Dump tape is compressed.</span></font></div>
<div style="font-size:13px;background-color:rgb(255,255,255);text-align:left"><font color="#252525" face="Arial, Helvetica, Verdana, sans-serif"><span style="line-height:16px">   restore&gt;</span></font></div><div style="font-size:13px;background-color:rgb(255,255,255);text-align:left">
<font color="#252525" face="Arial, Helvetica, Verdana, sans-serif"><span style="line-height:16px">what should i do here ?</span></font></div><div style="font-size:13px;background-color:rgb(255,255,255);text-align:left"><font color="#252525" face="Arial, Helvetica, Verdana, sans-serif"><span style="line-height:16px">i checked out the man page, i used this :</span></font></div>
<div style="font-size:13px;background-color:rgb(255,255,255);text-align:left"><font color="#252525" face="Arial, Helvetica, Verdana, sans-serif"><span style="line-height:16px">   restore&gt; extract /tmp/1.bak</span></font></div>
<div style="font-size:13px;background-color:rgb(255,255,255);text-align:left"><font color="#252525" face="Arial, Helvetica, Verdana, sans-serif"><span style="line-height:16px">after enter, i see this :</span></font></div>
<div style="font-size:13px;background-color:rgb(255,255,255);text-align:left"><font color="#252525" face="Arial, Helvetica, Verdana, sans-serif"><span style="line-height:16px">   you have not read any volumes yet.</span></font></div>
<div style="font-size:13px;background-color:rgb(255,255,255);text-align:left"><font color="#252525" face="Arial, Helvetica, Verdana, sans-serif"><span style="line-height:16px">   unless you know which volume your file(s) are on you should start with last volume and work toward first.</span></font></div>
<div style="background-color:rgb(255,255,255);text-align:left"><span style="background-color:transparent;line-height:16px"><font color="#252525" face="Arial, Helvetica, Verdana, sans-serif">   specify next volume # ( none if no more volumes ) :</font></span></div>
<div style="background-color:rgb(255,255,255);text-align:left"><span style="background-color:transparent;line-height:16px"><font color="#252525" face="Arial, Helvetica, Verdana, sans-serif">what should i do i this step ?</font></span></div>
<div style="background-color:rgb(255,255,255);text-align:left"><span style="background-color:transparent;line-height:16px"><font color="#252525" face="Arial, Helvetica, Verdana, sans-serif"><br></font></span></div><div style="background-color:rgb(255,255,255);text-align:left">
<span style="background-color:transparent;line-height:16px"><font color="#252525" face="Arial, Helvetica, Verdana, sans-serif">thank u all ...</font></span></div><div style="background-color:rgb(255,255,255);text-align:left">
<font color="#252525" face="Arial, Helvetica, Verdana, sans-serif" style="font-size:13px"><span style="line-height:16px"> </span></font></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);text-align:left">
<font color="#252525" face="Arial, Helvetica, Verdana, sans-serif"><span style="line-height:16px"><br></span></font></div>



To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CAMzdde2Gbd...KHndXMvXOQ@mail.gmail.com
email Follow the discussionReplies 2 repliesReplies Make a reply

Replies

#1 Dom
July 20th, 2012 - 03:40 pm ET | Report spam
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


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/

Similar topics