mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-02-26 01:31:18 -05:00
BackupRestore changed
Do not add fstab entry
This commit is contained in:
parent
cfbe6683dd
commit
25b3d567e9
@ -33,13 +33,8 @@ $ sudo mkfs.ext4 -m 0 /dev/mapper/backup
|
|||||||
1. Mount the encrypted medium on which the backup will be stored
|
1. Mount the encrypted medium on which the backup will be stored
|
||||||
|
|
||||||
``` {.wiki}
|
``` {.wiki}
|
||||||
$ sudo mkdir /backup
|
$ sudo mkdir /mnt/backup
|
||||||
$ sudo blkid /dev/mapper/backup (this is your volume UUID)
|
$ sudo mount /dev/mapper/backup /mnt/backup
|
||||||
$ sudo vi /etc/fstab
|
|
||||||
(add a line similar to this:
|
|
||||||
UUID=the-long-UUID-of-your-VOLUME /mnt/backup ext4 defaults 1 2
|
|
||||||
)
|
|
||||||
$ sudo mount /mnt/backup
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Now anything we store in /mnt/backup is stored on the encrypted LUKS volume of our external USB drive.
|
Now anything we store in /mnt/backup is stored on the encrypted LUKS volume of our external USB drive.
|
||||||
@ -68,7 +63,7 @@ Restoring VMs from a backup
|
|||||||
|
|
||||||
``` {.wiki}
|
``` {.wiki}
|
||||||
$ sudo cryptsetup open --type luks UUID=the-long-UUID-of-your-DEVICE backup
|
$ sudo cryptsetup open --type luks UUID=the-long-UUID-of-your-DEVICE backup
|
||||||
$ sudo mount /mnt/backup
|
$ sudo mount /dev/mapper/backup /mnt/backup
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Restore VMs
|
1. Restore VMs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user