Debian Squeeze on Macbook Pro (Part III)

This might be the last part of Debian Squeeze installation story. In this part I'm going to describe about what I did for backup.

At first, to backup the entire debian system, we can use "dd".

The command is like this:

dd if=/dev/sda4 of=/path/to/backup-`date +%s`.img

To restore, boot from some place else (live CD or the other OS) and then run:

dd if=/path/to/backup.img of=/dev/sda4

Here, /dev/sda4 is the '/' partition where debian is installed.


momotaro@debbie:~/Downloads$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda4             9.2G  5.3G  3.5G  61% /
tmpfs                 1.9G     0  1.9G   0% /lib/init/rw
udev                  1.9G  264K  1.9G   1% /dev
tmpfs                 1.9G     0  1.9G   0% /dev/shm
/dev/sda6             187G   40G  138G  23% /home
/dev/sdb1             466G  423G   43G  91% /media/hd

To backup personal file, I use rsync.

rsync -av /home/momotaro/Pictures/ /media/hd/Pictures
rsync -av /home/momotaro/Music/ /media/hd/Music/iTunes/Music
rsync -av /home/momotaro/Documents/ /media/hd/Documents

The next step would be to run this backup script within a useful scheduled time, like weekly or maybe less.

5 comments: (+add yours?)

Online Backup said...

Can you change the icon for a new added share instead of the plain folder icon.

Unknown said...

Hello my loved one! I want to say that this article is amazing, great written and include almost all significant infos. I would like to see more posts like this . ameritrade login

Travis Smith said...

It's an awesome piece of writing designed for all the web people; they will get benefit from it I am sure. itunes login account

Turkish Visit Visa said...

This is really good and useful information. Thanks for posting. Foreign visitors can apply for a Turkish Visit Visa online. 100 Eligible Countries can apply for Turkey Visa.

varunyankee said...

With microprocessors now ubiquitous, the computer systems inside trendy slot machines permit manufacturers to assign a unique chance to each symbol on each reel. To the participant, it'd seem that a successful symbol was "so shut", whereas actually the chance is much decrease. A theoretical hold worksheet is a doc provided by the producer for each slot machine that signifies the theoretical share the machine ought 룰렛 to hold primarily based on the quantity paid in.