LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-04-2008, 07:43 PM   #1
kinai
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Rep: Reputation: 0
Doubt about command restore


Hi.

The other day I used the restore -i -f /dev/st0 but there wasn't any disk in the device so Unix continued "thinking" until I push Ctrl+C. Then it asked me if I wanted ended the restore process, I said "yes" and it return to the prompt.

It seems that nothing happened. My question is if I make the right thing, or I had to do other thing to go out of it.

On the other hand I am worried that the command could change anything. Everything seems be working ok, and I think that this command couldn't change anything but I am not sure.

Thanks for your help.

Kinai.
 
Old 08-04-2008, 07:57 PM   #2
lcole
Member
 
Registered: Aug 2003
Location: Oregon
Distribution: Ubuntu
Posts: 50

Rep: Reputation: 18
The man page for restore says that the "exit" command will stop the restore from interactive (-i) mode. If the command is hung waiting for the device then Ctrl+C should be an ok way out too. Nothing should be changed if there was no dump device.
 
Old 08-04-2008, 08:05 PM   #3
kinai
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the fast answer, Icole.

I think that nothing happened either, but I hope that anyone could confirm it without any debt.

For the record, I want to add that I didn't enter into the restore interactive mode prompt (restore >).

Thanks.

Kinai.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postgresql restore command :: Which one to use? custangro Linux - Server 1 06-17-2008 06:29 PM
How to restore files using the restore command ? SKYNAT Linux - Newbie 2 12-28-2007 11:26 PM
Backup and Restore Command jimmete Amigo 4 06-07-2006 09:02 PM
os command doubt===urgent google_man Solaris / OpenSolaris 10 08-04-2003 10:35 AM
Restore command chuck77 Linux - General 2 03-26-2002 08:37 PM


All times are GMT -5. The time now is 03:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration