View previous topic :: View next topic |
Author |
Message |
andrewd18 Guru
Joined: 11 Apr 2004 Posts: 364 Location: Wisconsin, USA
|
Posted: Mon Aug 15, 2005 3:57 am Post subject: Backing Up Your Data |
|
|
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 |
|
|
Dlareh Advocate
Joined: 06 Aug 2005 Posts: 2102
|
Posted: Mon Aug 15, 2005 5:15 am Post subject: |
|
|
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 |
|
|
Arenium n00b
Joined: 17 Feb 2004 Posts: 16
|
Posted: Mon Aug 15, 2005 6:44 am Post subject: |
|
|
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.
|
|
Back to top |
|
|
|