vault backup: 2026-05-13 14:31:03
This commit is contained in:
@@ -9,12 +9,7 @@ created: 2026-05-12T21:09:25
|
|||||||
date: 2026-05-12
|
date: 2026-05-12
|
||||||
tags:
|
tags:
|
||||||
---
|
---
|
||||||
- First off, create a user on both primary and backup host
|
- install sanoid on backup host
|
||||||
- `adduser sanoid-user`
|
- `apt install sanoid`
|
||||||
- On the primary host, give that user permission to hold, send, and list snapshots
|
- use root accounts for ssh connections, the zfs commands need root access. tried to get it to work without and it was turtles all the way down
|
||||||
- `zfs allow -u sanoid-user send,snapshot,hold,list poolname/dataset`
|
|
||||||
- On the backup host, give that user permission to receive and create datasets.
|
|
||||||
- `zfs allow -u sanoid-user receive,create,mount poolname/backup-dataset`
|
|
||||||
- Generate key while logged in as `sanoid-user` on the backup machine.
|
|
||||||
- `ssh-keygen -t ed25519`
|
|
||||||
-
|
|
||||||
|
|||||||
Reference in New Issue
Block a user