Downloading Snapshots to local computer

December 17, 2014 6.8k views

Can I download a Snapshot to my local computer?

3 Answers

If your intent is to backup a remote computer's HDD A via SSH to a single file that's on your local computer's HDD, you could do one of the following...

run from local computer

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

While it wouldn't necessarily result in corrupted data, there would be inconsistencies in the destination file if writes were occurring during the dd.

Have another answer? Share your knowledge.