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
|
||||
tags:
|
||||
---
|
||||
- First off, create a user on both primary and backup host
|
||||
- `adduser sanoid-user`
|
||||
- On the primary host, give that user permission to hold, send, and list snapshots
|
||||
- `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`
|
||||
-
|
||||
- install sanoid on backup host
|
||||
- `apt install sanoid`
|
||||
- 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user