LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 09-11-2004, 06:09 PM   #1
kingtas
Member
 
Registered: Sep 2004
Distribution: RH9
Posts: 36

Rep: Reputation: 15
dump /home directory


Hi,

Perhaps you can prevent a complete Lixux newbie from throwing the box out the window???

rpm says dump is already installed.

I'm trying to dump my /home/hda to /home/hdb (backup drive)

I su then type:

dump 0 /home/hdb home/hda

bash states dump command not found. Am I supposed to be in a certain directory to use this command? I think I tried them all.

Thanks,

Tom
 
Old 09-11-2004, 06:17 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
You probably just don't have dump in your $PATH (a list of directories which contain executables - /usr/bin, /usr/sbin, and so on). Type /usr/sbin/dump (if that's where it lives - try whereis dump).


Håkan
 
Old 09-11-2004, 07:32 PM   #3
kingtas
Member
 
Registered: Sep 2004
Distribution: RH9
Posts: 36

Original Poster
Rep: Reputation: 15
whereis dump returns:

dump: /sbin/dump /sbin/dump.static .....

I go to the /sbin directory and run the dump command I mentioned and get the same message of dump not found.

I just read that dump is not very reliable.

What command would I use from what directory to simply copy

my /dev/hda drive /home directory to my /de/hdb drive?

Heck, I can't even do that without a message about "ommitting this or that" or "no such directory"
 
Old 09-11-2004, 07:59 PM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
Linux doesn't work like DOS or Windows in the sense that the current directory is not in the $PATH per default (it is considered a security risk). You will have to either type out the full path (i.e. /sbin/dump) or cd to the directory where the program is located (i.e. /sbin) and type ./dump. "./" indicates "in this very directory".

I haven't used dump, but the dd command would probably do just as well.


Håkan
 
  


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
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 03:37 PM
c++ home directory bendeco13 Programming 2 11-04-2005 06:27 PM
How to forcely dump the history of user commands to the admin dump file. mcp_achindra Linux - Security 1 03-19-2004 01:04 PM
core.2200 888.0 memory dump - file just appeared in my home directory Lakota Linux - Newbie 2 10-06-2003 10:25 AM
Can't get in home directory--Help dtsfanatic Linux - General 1 08-10-2002 04:19 PM


All times are GMT -5. The time now is 10:26 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration