ZhoubaWiki:Dd img backup over ssh

From ZhoubaWiki
Revision as of 16:38, 22 May 2021 by Garak (talk | contribs) (Created page with "To backup remote machine (having low disk space for example) from a local one run something like: <pre> ssh gw "dd if=/dev/sda | gzip -1 -"| dd of=gw_sd_image.gz </pre>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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