linux:backup
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| linux:backup [2024/05/02 17:34] – ms | linux:backup [2024/05/24 17:09] (current) – ms | ||
|---|---|---|---|
| Line 41: | Line 41: | ||
| ====== tar ====== | ====== tar ====== | ||
| - | ===== Backup ===== | ||
| < | < | ||
| tar -cjf / | tar -cjf / | ||
| </ | </ | ||
| + | |||
| + | ====== dd ====== | ||
| + | ==== Ganze Disk oder Partition sichern ==== | ||
| + | < | ||
| + | dd if=/dev/sda bs=4M status=progress | gzip > / | ||
| + | </ | ||
| + | ==== Restore ==== | ||
| + | < | ||
| + | gzip -dc backup.img.gz | dd of=/dev/sda bs=4M status=progress | ||
| + | </ | ||
| + | |||
linux/backup.1714664065.txt.gz · Last modified: 2024/05/02 17:34 by ms