backup
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| backup [2026/06/19 09:13] – [If you need to restore a snapshot] usera | backup [2026/06/19 09:14] (current) – usera | ||
|---|---|---|---|
| Line 162: | Line 162: | ||
| It is possible to restore only a folder or file by changing '' | It is possible to restore only a folder or file by changing '' | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ==== If you need to restore a snapshot ==== | ||
| - | |||
| - | |||
| - | |||
| - | Once this is done, you can do another backup of your /home, which contains all your regular files. For this you can use the software backintime. You can install it with: | ||
| - | < | ||
| - | sudo apt install backintime-qt | ||
| - | </ | ||
| - | |||
| - | |||
| - | Before launching it, we need to decrypt the encrypted disk, and mount the logical volume we intend to use: | ||
| - | < | ||
| - | sudo cryptsetup luksOpen /dev/sdb2 cryptsetup | ||
| - | sudo vgchange -ay | ||
| - | sudo mount / | ||
| - | </ | ||
| - | |||
| - | now everything written on /mnt on your computer will be written on your disk. | ||
| - | |||
| - | You can then launch backintime with: | ||
| - | < | ||
| - | sudo backintime-qt | ||
| - | </ | ||
| - | |||
| - | you can then configure it to save things in /mnt: | ||
| - | |||
| - | {{ :: | ||
| - | |||
| - | |||
| - | {{ :: | ||
| - | |||
| - | |||
| - | {{ :: | ||
| - | |||
| - | And then click on "Take snapshot" | ||
| - | |||
| - | {{ :: | ||
| - | |||
| - | you can then unmount and remove your backup disk: | ||
| - | |||
| - | < | ||
| - | sudo umount /mnt | ||
| - | sudo vgchange -an vgbackup | ||
| - | sudo cryptsetup luksClose cryptodisk | ||
| - | </ | ||
backup.txt · Last modified: by usera
