Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Backing Up Your Data
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
andrewd18
Guru
Guru


Joined: 11 Apr 2004
Posts: 364
Location: Wisconsin, USA

PostPosted: Mon Aug 15, 2005 3:57 am    Post subject: Backing Up Your Data Reply with quote

Just wanted to know how most people around here backup their data. CD-R? CD-RW? DVD? External HDD?

I've got an 80GB external drive I'd like to use for backups... should I just cp -R *, or use a backup program like Mondo?

~~ Andrew D.
_________________
Keep Your Toolchain Stable! - emwrap.sh

There's no place like ::1
Back to top
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Mon Aug 15, 2005 5:15 am    Post subject: Reply with quote

You should:
Code:
rsync -a /path/to/source /path/to/destination

If /path/to/source is "/", then you'll need something like:
Code:
rsync -ax --exclude "/mnt/" --exclude "/dev/" --exclude "/proc/" --exclude "/sys/" --exclude "/tmp/" --exclude "/var/tmp/" --exclude "/cheese/" --exclude "/usr/portage" --exclude ".ccache" / /path/to/destination

Also check out rsnapshot if you're interested in incremental backups.
_________________
"Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet?
Back to top
View user's profile Send private message
Arenium
n00b
n00b


Joined: 17 Feb 2004
Posts: 16

PostPosted: Mon Aug 15, 2005 6:44 am    Post subject: Reply with quote

This is the method I use, only I setup Keychain to facilitate password-less rsync over SSH backups. You can see the half-assed script I use here. There you'll also find the (equally half-assed) script I use to keep the system up to date.

In general, get familiar with all there is to know in the standard backup scheme: cron, rsync, tar, rdiff-backup, etc.

:D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum