<br><br><div><span class="gmail_quote">On 8/19/07, <b class="gmail_sendername">Tomislav Poljak</b> <<a href="mailto:tpoljak@gmail.com">tpoljak@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>I have dual boot ubuntu + win install on my disk and my question is: how<br>can I create backup of my ubuntu partition? </blockquote></div><br>Use some Partition image sottware from windows..?<br><br>You could reade the partition with Device Dump:
<br><br>$ sudo dd if=/dev/NameOfYourPartition of=PathToDestination bs=512<br><br>or to save space (and even some time?) pipe that through gzip:<br><br>$ sudo dd if=/dev/NameOfYourPartition  bs=512 | gzip > Destination file
<br><br>The destination file probably shouldn't be on the same partition as you are backing up... so<br> you need to able to write to the windows partition unless you have more partitions to choose from.<br><br>If you have another Linux-box where you want to store the image file:
<br><br>$ sudo dd if=/dev/NameOfYourPartition of=PathToDestination bs=512 | gzip | ssh AnOtherComputer 'cat >DestinationFile'<br><br>And to restore the backup:<br><br>$ ssh AnOtherComputer 'cat DestinationFile' | gunzip | dd if=- of=/dev/NameOfYourPartition
<br><br>Are you sure you'd not rather backup your home directory and make a new installation on your new disk...? :-)<br><br>Maybe hubackup is capable?  <a href="https://help.ubuntu.com/7.04/keeping-safe/C/backup-files.html">
https://help.ubuntu.com/7.04/keeping-safe/C/backup-files.html</a><br><br><br>