How to use DD to backup to remote HDD

If it doesn't fit in another category, ask it here.
Post Reply
kmdot
Posts: 1
Joined: 2011/06/12 08:08:55

How to use DD to backup to remote HDD

Post by kmdot » 2011/06/12 08:21:59

Hi,

I want to create an exact clone of a remote centos server that we have, and so far have done it all wrong...

What I have done is: Mounted the HDD on another install. and zipped the whole drive, and now I have all files, but no image

What I want to do is:

Create an image of the entire HDD, and copy it to a remote HDD. The remote HDD is a virtual HDD, and was thinking I could create a DD image, and then use a converter to convert the dd image to a VDI/VMDK?

Any ideas on the best way to clone my remote server, and copy it to my local machine to a vdi/vmdk?

Thanks

User avatar
TrevorH
Forum Moderator
Posts: 23897
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to use DD to backup to remote HDD

Post by TrevorH » 2011/06/12 10:37:15

Have a look at partimage, it can write the result to a partimage server on the network.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

How to use DD to backup to remote HDD

Post by pschaff » 2011/06/13 20:38:15

Welcome to the CentOS fora. Reading [url=https://www.centos.org/modules/newbb/viewforum.php?forum=47]FAQ & Readme First[/url] is recommended for new users.

Another option would be [url=http://clonezilla.org/]Clonezilla[/url]. Use Clonezilla on the physical machine to create an image file, boot the VM with Clonezilla and restore the image in the VM.

Post Reply