Table of Contents

Ubuntu - Backups - Backup using dd and ssh

dd if=/dev/sda | ssh backups@192.168.1.123 "dd of=backup.img"

Run from remote computer

dd if=/dev/sda | gzip -1 - | ssh user@local dd of=image.gz

Run from local computer

ssh user@remote "dd if=/dev/sda | gzip -1 -" | dd of=image.gz