Back to Home

Convenient Backup

backup · linux · restore

Convenient Backup

    Asus is known, Asus Eee and other netbooks do not have a sidirome, and therefore somehow does not smile at making Acronis’s bootable USB flash drive.
    But there are two easy ways to make a disk image.
    Both methods require booting any Linux system (from a flash drive) and superuser rights to execute (that is, sudo for Ubuntu and su for everyone else)

    1. > dd if=/dev/sda1 of=/media/disk/backup.bck

    2. > cat /dev/sda1 | gzip > /media/disk/backup.bck.gz

    In the examples, / dev / sda1 is the reserved partition, and / media / disk / - flash drive.
    Accordingly, the second method is somewhat more convenient due to compression. And the first one is noticeably faster.

    Recovery: in the first case, swap the arguments, and in the second - use the zcat command .

    Ideas are gleaned on the Telegamochka blog and Moose_kazan comments there. Tested on my MSI Wind.

    Read Next