Rapidly Imaging a VPS for Migration

I've added some useful commands here if you are copying a machine image, some larger VPS containers are 500Gb and it takes an age if you use the default settings and compression methods.

DCFLDD available from repoforge for centos 6.5, I believe it replaces DD for most commands.

If you build this into your commands, it will give you a visual status update of progress, very handy to see what's going on.

Pigz is a parallel compression program, unfortunatley it doesn't decompress so I'm looking at other options like pbzip2.

Adding ionice reduces server load, but slows the copy, useful if other people are using the node.

#ionice -cs2 dcfldd if=/remotesupporvps.gz.pigz bs=10M conv=notrunc statusinterval=10 | unpigz > /dev/vpsvg/vm114_img
  • 0 Users Found This Useful
Was this answer helpful?

Powered by WHMCompleteSolution