Skip to content

Instantly share code, notes, and snippets.

@joesavage
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joesavage/20732b171d4091fb333c to your computer and use it in GitHub Desktop.
Save joesavage/20732b171d4091fb333c to your computer and use it in GitHub Desktop.
Linode Rescue Mode Disk Backup
## Linode Rescue Mode Disk Backup
# Remote:
dd if=/dev/xvda | gzip -c > linode.img.gz
passwd
/etc/init.d/ssh start
# Local:
ssh root@remote-location "dd if=~/linode.img.gz " | dd of=~/Developer/Backups/Images/linode.img.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment