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.

Example:

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
momotaro@debbie:~/Downloads$


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.

11 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.

Alexander Jacob said...

This is a wonderful inspiring article. I am practically satisfied with your great work. You have really put together extremely helpful data. Keep it up.. Are you planning to visit Kenya?For this, you need to fill the Kenya evisa application and pay the fee online.

India emergency visa application said...

This is a very useful article. Indian emergency visa application form, you can get a visa within 1 to 3 working days by filling the India emergency visa application form.

Indian emergency visa said...

Great blog! I enjoyed all the things... keep it up... The Indian emergency visa is for those who want to travel to India in case of an emergency, such as an unforeseen event, the death of a blood relative, or another valid emergency.

Allen smith said...

My attention has been held for the past two days as I have read about your blogs and topics. It is easy to obtain and track an Indian tourist visa for US citizens online, whether you need a 30-day, one-year, or five-year visa for India.

evisa apply online said...

Hello, I wanted to write a little Info related to Visa. Are you interested in traveling to any country? Yes, you can evisa apply online. You can fill out your visa application form online within 5 to 10 minutes via our Visacent website. We offer visas to citizens of over 190 countries. You can read more info about visas via our website.

Turkey visa application said...

You are sharing a wonderful article with your audience. Readers are already enjoying it. I am here to inform the travelers who are willing to visit Turkey that they need to fill a Turkey visa application to enter Turkey. Online process makes makes easy to get evisa.

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.