Created
August 10, 2016 06:42
-
-
Save DDiimmkkaass/221d0aa1075db6e4a23c3684c7e0bf0b 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
бекап | |
mkdir /mnt/backup | |
mount /dev/sdb1 -- какая то флешка или винт | |
dd if=/dev/sda bs=8M conv=sync,noerror | gzip -c > /mnt/backup/sda.img | |
відновлення | |
gunzip -c /mnt/backup/sda.img | dd of=/dev/sda conv=sync,noerror bs=8M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment