Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
linux:utilities:backup_using_dump_restore [2020/03/26 10:11] jlucas |
linux:utilities:backup_using_dump_restore [2020/03/26 10:26] (current) jlucas |
||
---|---|---|---|
Line 1: | Line 1: | ||
" | " | ||
- | | + | dump -0af - data_directory | gzip -1 - | ssh user@hostname dd of=image.dump.gz |
- | doas dump -0af - data_directory | gzip -1 - | ssh user@hostname dd of=image.dump.gz | + | |
" | " | ||
- | cd / | ||
ssh user@hostname dd if=image.dump.gz | gzip -d | restore -x -f - | ssh user@hostname dd if=image.dump.gz | gzip -d | restore -x -f - | ||