I have an Ubuntu 12.04 production server with 500 GB (nearly 15 GB used) HDD. I want to duplicate whole HDD including it's partitions structure, data to another HDD with 400 GB size so that changing HDD will not affect working system.

Which tool is the best solution for this task?


This question has been answered before in this thread.

For more information also take a look at these links:

Google is always your good friend :)

  • This is not a "simple" case of just using any backup tool, as the target partition will be smaller. – slhck Aug 23 '13 at 7:44
  • @slhck yeah I know. but that is a problem when you want use dd like to clone the whole HDD. but when using tar like solution they can handle the size change. Most backup solution use the latter solution. the first one is the last option and worst. – sajjadG Aug 23 '13 at 7:48

Not the answer you're looking for? Browse other questions tagged or ask your own question.