Following Linode's guide to Copy a Disk Over SSH
:
ssh root@xx.xx.xxx.xx "dd if=/dev/sdX " | dd of=/PathToLocalLocation/server.img
Where xx.xx.xxx.xx
is your server's IP, sdX
- X
stands for your drive's assigned letter, and also you must state the image
's name = server.img
I ran into this issue (on my local computer):
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
I conducted a long search with many results which none of worked for Lish
nor were they a complete solution.
I couldn't set locales
on the Lish command line
no matter what I did....
All the answers out there are regarding command-line
on local or servers, not rescue-mode
....
Ideas?