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 06-14-2016, 09:46 AM   #1
torito
LQ Newbie
 
Registered: May 2016
Posts: 23

Rep: Reputation: Disabled
dump command


Hello guys!

Doing my homework, I came across this question. I am posting my answers for you to see them, but when I enter the command in terminal and I am getting an error saying "-bash: dump: command not found".

Would you please give me a hand of what I am doing incorrectly? Thank you very much!

Research the dump command. Write a command to initiate a backup using dump with the following parameters:

* The partition being backed up is /dev/sda9
* The tape drive being used for backup is /dev/rmt/0
* Perform backup on all files

My answers are:
dump -0uf /dev/rmt/0 /dev/rmt/0 /dev/sda9
or
dump -0u /dev/rmt/0 /dev/sda9
 
Old 06-14-2016, 09:57 AM   #2
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,249
Blog Entries: 11

Rep: Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289
certainly there is a man page for dump?
if not, does
Code:
dump -help
or
Code:
dump --help
suggest what switch(es) to use?
 
Old 06-14-2016, 09:57 AM   #3
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,380

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
Originally Posted by torito View Post
Doing my homework, I came across this question. I am posting my answers for you to see them, but when I enter the command in terminal and I am getting an error saying "-bash: dump: command not found".

Would you please give me a hand of what I am doing incorrectly?
dump hasn't been installed on your system.
 
Old 06-14-2016, 09:58 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,380

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
Originally Posted by Habitual View Post
certainly there is a man page for dump?
if not, does
Code:
dump -help
or
Code:
dump --help
suggest what switch(es) to use?
If the OP is getting "command not found" then dump --help isn't going to achieve much
 
Old 06-14-2016, 10:01 AM   #5
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,249
Blog Entries: 11

Rep: Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289
Quote:
Originally Posted by TenTenths View Post
If the OP is getting "command not found" then dump --help isn't going to achieve much
ouch!
Lack of caffeine!


Install dump in Ubuntu
Code:
sudo apt-get install dump
or
Install dump in CentOS/RH/dnf/other/yummie
Code:
yum install dump

Last edited by Habitual; 06-14-2016 at 10:03 AM.
 
Old 06-14-2016, 10:43 AM   #6
torito
LQ Newbie
 
Registered: May 2016
Posts: 23

Original Poster
Rep: Reputation: Disabled
Smile

Thank you everyone!
 
  


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
Dump command hanging usao CentOS 6 10-12-2015 09:39 AM
dump command tuhin_chatt Linux - Newbie 1 05-22-2010 02:52 PM
Memory dump command? fanoliv Linux - General 1 03-29-2008 12:56 AM
dump command and /etc/fstab LinuxLover Linux - General 4 01-29-2006 02:13 AM
Dump Command monkeymartin Slackware 1 04-17-2003 11:32 PM


All times are GMT -5. The time now is 07:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration