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 03-07-2003, 05:10 AM   #1
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 30
how to back up /home?


Hi,

I try to back-up /home by copying it to an other hdd, but I run into problems since I always get an error message saying that it can't chown permissions and it doesn't copy the link.
This means it only copies a small part of the directory to the other disk.
Is there a way to do it so it copies everything?

Anne
 
Old 03-07-2003, 05:46 AM   #2
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Original Poster
Rep: Reputation: 30
I've allready found my answer here:
http://groups.google.com/groups?q=+b...=en&lr=lang_nl|lang_en&ie=UTF-8&selm=miqln9.0p4.ln%40localhost.localdomain&rnum=1

Anne
 
Old 03-07-2003, 06:06 AM   #3
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
One of the clunky commands I use (stolen from a RAID setup HowTo) is (from the /home directory) 'find . -xdev | cpio -pm /backup_directory'. This basically just scours the current directory and subs, pipes it into 'cpio' keeping the permissions and preserving the original file modification times (instead of the time it was backed up). If you were to run this same command tomorrow it would skip any files where the target modification time is same or newer than the source - ie: it would only back up new files and files modified since the last backup.

There are also several good scripts for creating .tar.gz (compressed into a single file) archives. You can probably see some examples of these in your /etc/cron.xxxxx directories.

For debian there's a package called 'faubackup' which can keep a generational backup set to a writable directory of your choice and be easily included to your crontab to execute daily.

And of course there's 'amanda' - it's a very advanced and configurable tool for making backup sets for one machine or a whole network of them. Google for it.
 
Old 03-07-2003, 06:08 AM   #4
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Original Poster
Rep: Reputation: 30
Thanxx for the info!

Anne
 
  


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
win xp home edition and samba home shares scheidel21 Linux - Software 8 10-09-2008 01:47 AM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 03:37 PM
want to ssh/ftp to home machine (Slack) from office through home router fincher69 Linux - Networking 2 09-21-2005 11:55 PM
How do I copy home directories back? G-wizz Linux - Newbie 5 06-11-2004 07:20 AM
Home directory permissions reverting back Parksy Linux - General 3 02-04-2004 09:21 PM

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

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