LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   trying to get dump to backup home directory (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-get-dump-to-backup-home-directory-871305/)

eparl 03-27-2011 12:32 PM

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

EricTRA 03-27-2011 12:44 PM

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

eparl 03-27-2011 01:33 PM

I am afraid I am new to this and this is what I found in Ubuntu when searching for a backup

EricTRA 03-27-2011 01:43 PM

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

flipjarg 03-27-2011 02:12 PM

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!

eparl 03-27-2011 04:24 PM

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.

EricTRA 03-28-2011 12:37 AM

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

EricTRA 03-28-2011 01:43 AM

<deleted>


All times are GMT -5. The time now is 04:30 PM.