ZhoubaWiki:Dd img backup over ssh
Jump to navigation
Jump to 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
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