This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:backup [2013/05/05 14:39] tkilla created |
linux:backup [2022/10/20 20:31] (current) tkilla |
||
---|---|---|---|
Line 2: | Line 2: | ||
howtos for various backup systems... | howtos for various backup systems... | ||
+ | |||
+ | ===== Simple dd backup of a partition or (raspi) SD card ===== | ||
+ | |||
+ | Replace sdX with your SDcard (check fdisk -l) | ||
+ | |||
+ | |||
+ | dd bs=4M if=/dev/sdX | gzip -c9 > / | ||
+ | |||
+ | 2. terminal: | ||
+ | watch progress | ||
+ | |||
+ | Restore: | ||
+ | gzip -dc / | ||
+ |