LinuxQuestions.org
Register a domain and help support LQ
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 03-27-2011, 01:32 PM   #1
eparl
LQ Newbie
 
Registered: Feb 2011
Posts: 6

Rep: Reputation: 0
trying to get dump to backup home directory


I would like to have dump backup just my home directory but am having problems the command I am using wants to back every thing and takes hours upon hours it has been running for about 10 hr and only 21% is done.

This is the command dump -0u -f dp_hd /media/CENTON\ USB/ /

how can I get this to back up only my home directory
 
Old 03-27-2011, 01:44 PM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Hello,

I've never used dump for a backup but from the man page it seems that this is a utility for a filesystem level backup. Do you have any particular reason why you want to use dump to just backup your home directory? Why not use tar or some software like Amanda, Bacula, ...

Kind regards,

Eric
 
Old 03-27-2011, 02:33 PM   #3
eparl
LQ Newbie
 
Registered: Feb 2011
Posts: 6

Original Poster
Rep: Reputation: 0
I am afraid I am new to this and this is what I found in Ubuntu when searching for a backup
 
Old 03-27-2011, 02:43 PM   #4
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Hello,

There's no problem whatsoever in being new to Linux. Have a look at this post here at LQ for an idea how you can back up just your home directory using tar. It's a lot easier and faster if it suits your needs. If you need to backup your entire system then you can use something like CloneZilla which is pretty easy to use.

Kind regards,

Eric
 
1 members found this post helpful.
Old 03-27-2011, 03:12 PM   #5
flipjarg
Member
 
Registered: May 2010
Distribution: Debian & Backtrack
Posts: 58

Rep: Reputation: 2
Another great backup tool, if you are interested in using the command line, is rsync. You can use it to backup files to a remote system or to a local drive... the best part about rsync: once you have backed up data, the next time you backup data, it will only copy files that have been changed since your last backup. So it is very efficient.

It is probably already installed on your system by default. Just type in rsync or man rsync to find out more. There is also a lot of info on how to use it on the web. Have fun!

Last edited by flipjarg; 03-27-2011 at 03:14 PM.
 
Old 03-27-2011, 05:24 PM   #6
eparl
LQ Newbie
 
Registered: Feb 2011
Posts: 6

Original Poster
Rep: Reputation: 0
ok I see that dump is not a good back to use what command could i use to create a user level backup scheme using rsync invoked during login/logout.
 
Old 03-28-2011, 01:37 AM   #7
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Hello,

Have a look at this site for an example on how to use rsync to backup your home directory. You can also have a look at the man page of rsync to find out more about this utility.
Code:
man rsync
Kind regards,

Eric
 
Old 03-28-2011, 02:43 AM   #8
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
<deleted>

Last edited by EricTRA; 03-31-2011 at 02:03 AM.
 
  


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
Need to backup /home directory arsci Linux - General 7 09-11-2010 03:26 AM
How to run rsnapshot to backup home directory? cola Slackware 3 04-24-2010 03:40 PM
dump /home directory kingtas Linux - Software 3 09-11-2004 07:59 PM
How to syncronize/backup my home directory? blixel Linux - General 3 10-20-2003 11:21 PM
core.2200 888.0 memory dump - file just appeared in my home directory Lakota Linux - Newbie 2 10-06-2003 10:25 AM


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