Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What are the right commands for making a backup image for primary boot partition ?

user-image
Question added by Deleted user
Date Posted: 2014/02/21
Mohamad Basel ZAHED
by Mohamad Basel ZAHED , Linux System Administrator , Visual Meta GmbH

Dear Hesham,

 

you can always use dd command  to make backup image of any partition, like the following example

dd if=/dev/sda1 of=/Path/backup.sda1.img bs=1M conv=noerror

 

tip: you can use gzip to compress the image

dd if=/dev/sda1 bs=1M conv=noerror| gzip -c  > /Path/backup.sda1.img

 

good luck

More Questions Like This