Last active
August 29, 2015 14:04
-
-
Save joesavage/20732b171d4091fb333c to your computer and use it in GitHub Desktop.
Linode Rescue Mode Disk Backup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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