TIP: How to do disk image backups in Ubuntu Linux 10.04
Posted on November 28, 2011 by David Hilowitz
So, I just installed Ubuntu Linux 10.04 on my trusty Toshiba Portege 3480CT8. (Yes, it works beautifully as a lightweight LAMP server.)
One of the first things I set out to do was make a disk image of my new server, so that if something goes awry, I can restore things later on.
Hereâ€™s what I did:
First, I plugged my external drive into the USB port. This got assigned to /dev/sdb. Â I mounted the drive.
$ sudo mkdir /media/backup_04 $ sudo mount /dev/sdb1 /media/backup_04 -t ntfs $ sudo mkdir /media/backup_04/portege-linux-backups
Next, Â I installed dcfldd. This is just like dd, which comes with most Linux distributions, except that it can output time remaining (among other things).
$ apt-get install dcfldd
Finally, IÂ started the backup:
$ dcfldd if=/dev/sda of=/media/backup_04/portege-linux-backups/2011_11_28.img sizeprobe=if
This produces an output that looks like this:
$ [16% of 28615Mb] 155136 blocks (4848Mb) written. 01:17:37 remaining.
Magnificent site. A lot of helpful information here.
I am sending it to some pals ans also sharing in delicious.
And of course, thanks on your sweat!
Comment by Effective Weight Loss Without Investing a Whole Fortune — September 23, 2014 @ 9:07 am