Created
April 2, 2020 13:58
-
-
Save oxygen/f8bb87b50aee98a1c194df7589389890 to your computer and use it in GitHub Desktop.
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
sshfs oxyge@192.168.1.2:/X:/Backups /Backups | |
dd if=/dev/sda bs=16M status=progress | xz -2 --block-size=16MiB > /Backups/dev-sda.xz | |
mkdir /xxx | |
mount -t cifs -o username=oxyge //192.168.1.2/Backups /xxx | |
xz -d < /xxx/dev-sda.xz - | dd of=/dev/sda bs=16M status=progress | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment