LinuxQuestions.org
Review your favorite Linux distribution.
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 10-21-2009, 01:26 AM   #1
gr8linux
Member
 
Registered: May 2009
Posts: 44

Rep: Reputation: 15
Smile dump


how to create a dump of an existing file. and how to restore it with command line?
 
Old 10-21-2009, 01:35 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
If you are talking about normal files, then I usually just use cp. I do not know why would you want to use dump for a file.
 
Old 10-21-2009, 01:45 AM   #3
gr8linux
Member
 
Registered: May 2009
Posts: 44

Original Poster
Rep: Reputation: 15
Post

Quote:
Originally Posted by linuxlover.chaitanya View Post
If you are talking about normal files, then I usually just use cp. I do not know why would you want to use dump for a file.
actually i want to know how to work with dump and restore command......
plz anyone can help me out...
 
Old 10-21-2009, 01:45 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Do you mean a hex dump? You need to be more specific with your questions. We are not mind readers.

You can perform a hex dump with the 'od' program.

Or do you want to disassemble a program? Or do you want to encode a binary file to ASCII, use uuencode.
 
Old 10-21-2009, 01:46 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
The dump command is for creating backups of a filesystem. Not for files. What is it that you actually want to do.
 
Old 10-21-2009, 01:55 AM   #6
gr8linux
Member
 
Registered: May 2009
Posts: 44

Original Poster
Rep: Reputation: 15
Smile

Quote:
Originally Posted by jschiwal View Post
The dump command is for creating backups of a filesystem. Not for files. What is it that you actually want to do.
ok.... can u plz gv me some examples, how to use dump command for backups.
i m very new to this command.
 
Old 10-21-2009, 01:57 AM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Find the howto for backup using dump and restore Here
 
  


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
Core dump issues. Program crashes but does not generate core dump file sabeel_ansari Programming 1 10-07-2009 04:23 PM
DD and DUMP palisetty_suman Linux - Newbie 2 02-27-2009 06:28 AM
installing FreeBSD on Virtual Box error: "Cannot dump. No dump device defined" Valkyrie_of_valhalla *BSD 4 09-06-2007 04:02 AM
Dump msound Linux - General 3 04-28-2004 12:30 PM
How to forcely dump the history of user commands to the admin dump file. mcp_achindra Linux - Security 1 03-19-2004 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:28 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