[WIP] feat: migrate containers to vmd102066
This commit is contained in:
parent
7cd97ca6d9
commit
76c64678ae
20 changed files with 346 additions and 99 deletions
12
README.md
12
README.md
|
@ -30,12 +30,16 @@ In the unlikely case that you actually read this and have any questions please d
|
|||
- [x] declare shell.nix with runtime deps
|
||||
- [x] partition/encrypt/format disks
|
||||
- [ ] Document bootstrap process
|
||||
- [ ] `apt install sudo cryptsetup` as a requirements on a deb admin machine
|
||||
- [ ] a new machine
|
||||
- [ ] an install media
|
||||
- [ ] Design disaster recovery
|
||||
- [ ] Automatic synchronization of other state files - see https://gitlab.com/steveeJ/nix-expressions/issues/2
|
||||
- [ ] Recycle *\_archived*
|
||||
- [x] Maybe make this a nix-overlay
|
||||
- [ ] container migrations
|
||||
- [ ] ensure DDNS is updated _before_ the containers are started
|
||||
|
||||
|
||||
## Bugs
|
||||
- [ ] home-manager leaves ~/.gnupg at 0755
|
||||
|
@ -66,3 +70,11 @@ just --list
|
|||
2. disconnect remove the previous drive
|
||||
3. replace the driveId in the device's hw.nix
|
||||
4. run the `just disk-relabel nix/os/devices/<deviceName> <prevDiskId>` command to rename the filesystem and volume group
|
||||
|
||||
## Backup
|
||||
|
||||
### Copy existing subvolumes to new backup target
|
||||
|
||||
```
|
||||
`systemctl cat bkp-run | grep ExecStart | awk -F '=' '{print $2}'` --verbose --progress archive /var/lib/container-volumes ssh://[IP]:[PORT]/mnt/backup/container-volumes/
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue