ZhoubaWiki:Dd img backup over ssh

From ZhoubaWiki
Jump to: navigation, search

To backup remote machine (having low disk space for example) from a local one run something like:

ssh gw "dd if=/dev/sda | gzip -1 -"| dd of=gw_sd_image.gz