fucking the white bunny rabbit

Quick and dirty Backup

with 3 comments

After a long time I publish my backup (ultra sophisticated) technology :P

I have a 80 Gb USB external hard drive and I want to copy everything inside my home directory (files, directory, hidden files, and so on), so I started using unison but it didn’t permit to exclude directories.

IMPORTANT:You MUST stay on your ~.

[lfoppiano@sboing ~]$ rsync -av --delete --exclude='Videos/*' --exclude='Music/*' --delete-excluded --progress . /media/Backup/sboing/home/lfoppiano/

My Hard drive directory is divided as /media/backup/host/directory/whatever/subwhatever

If you have suggestion, tell me, if will be useful I will update this post ;-)

Written by whitenoise

July 6, 2008 at 9:43 am

3 Responses

Subscribe to comments with RSS.

  1. You might also want to look at rsnapshot:

    http://www.rsnapshot.org/

    From the web page:

    “rsnapshot is a filesystem snapshot utility for making backups of local and remote systems.

    Using rsync and hard links, it is possible to keep multiple, full backups instantly available. The disk space required is just a little more than the space of one full backup, plus incrementals. ”

    It might be useful for your backups as well.

    Have fun!

    Jeffrey Tadlock

    July 6, 2008 at 3:21 pm

  2. uhm, seems interesting :)

    I’ll try….

    thanks

    Luca

    whitenoise

    July 10, 2008 at 2:18 pm

  3. I started using rdiff-backup which seems to work very well.

    Sparks

    July 10, 2008 at 3:01 pm


Leave a Reply