backup
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| backup [2026/06/19 09:09] – [If you need to restore a snapshot] usera | backup [2026/06/19 09:14] (current) – usera | ||
|---|---|---|---|
| Line 155: | Line 155: | ||
| / | / | ||
| + | if you would like to restore the whole snapshot to a specific directory, enter: | ||
| + | < | ||
| + | < | ||
| + | restoring snapshot of [/ | ||
| - | + | It is possible | |
| - | ==== 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 | + | |
| - | < | + | |
| - | sudo cryptsetup luksOpen | + | |
| - | sudo vgchange -ay | + | |
| - | sudo mount /dev/mapper/vgbackup-home /mnt | + | |
| - | </ | + | |
| - | + | ||
| - | 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 | + | |
| - | + | ||
| - | {{ :: | + | |
| - | + | ||
| - | + | ||
| - | {{ :: | + | |
| - | + | ||
| - | + | ||
| - | {{ :: | + | |
| - | + | ||
| - | 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.1781860143.txt.gz · Last modified: by usera
