vault backup: 2026-05-13 15:43:06
This commit is contained in:
Vendored
+5
-5
@@ -151,12 +151,12 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "markdown",
|
"type": "markdown",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "_Inbox/2026-05-12 2109 Setting up Sanoid Syncoid on Proxmox.md",
|
"file": "_Inbox/Sanoid and Syncoid Setup.md",
|
||||||
"mode": "source",
|
"mode": "source",
|
||||||
"source": false
|
"source": false
|
||||||
},
|
},
|
||||||
"icon": "lucide-file",
|
"icon": "lucide-file",
|
||||||
"title": "2026-05-12 2109 Setting up Sanoid Syncoid on Proxmox"
|
"title": "Sanoid and Syncoid Setup"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -235,7 +235,7 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "backlink",
|
"type": "backlink",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "_Inbox/2026-05-12 2109 Setting up Sanoid Syncoid on Proxmox.md",
|
"file": "_Inbox/Sanoid and Syncoid Setup.md",
|
||||||
"collapseAll": true,
|
"collapseAll": true,
|
||||||
"extraContext": false,
|
"extraContext": false,
|
||||||
"sortOrder": "byCreatedTime",
|
"sortOrder": "byCreatedTime",
|
||||||
@@ -245,7 +245,7 @@
|
|||||||
"unlinkedCollapsed": true
|
"unlinkedCollapsed": true
|
||||||
},
|
},
|
||||||
"icon": "links-coming-in",
|
"icon": "links-coming-in",
|
||||||
"title": "Backlinks for 2026-05-12 2109 Setting up Sanoid Syncoid on Proxmox"
|
"title": "Backlinks for Sanoid and Syncoid Setup"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -370,7 +370,7 @@
|
|||||||
},
|
},
|
||||||
"active": "94b2df05b1dc6d4b",
|
"active": "94b2df05b1dc6d4b",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
"_Inbox/2026-05-12 2109 Setting up Sanoid Syncoid on Proxmox.md",
|
"_Inbox/Sanoid and Syncoid Setup.md",
|
||||||
"Attachments/ThinkCentre_M720_Tiny_Spec.pdf",
|
"Attachments/ThinkCentre_M720_Tiny_Spec.pdf",
|
||||||
"References/Lenovo ThinkCentre M720Q Tiny.md",
|
"References/Lenovo ThinkCentre M720Q Tiny.md",
|
||||||
"Categories/Products.md",
|
"Categories/Products.md",
|
||||||
|
|||||||
+13
-4
@@ -1,14 +1,17 @@
|
|||||||
---
|
---
|
||||||
category:
|
category:
|
||||||
- "[[Journal]]"
|
|
||||||
- "[[Note]]"
|
- "[[Note]]"
|
||||||
type:
|
type:
|
||||||
- "[[Log]]"
|
- "[[Log]]"
|
||||||
title: " Setting up Sanoid Syncoid on Proxmox"
|
title: " Sanoid and Syncoid Setup"
|
||||||
created: 2026-05-12T21:09:25
|
created: 2026-05-12T21:09:25
|
||||||
date: 2026-05-12
|
date: 2026-05-12
|
||||||
tags:
|
tags:
|
||||||
---
|
---
|
||||||
|
I've set this up on on a [[Proxmox]] backup machine, it creates the zfs snapshots on the remote machine and them pulls them into it;s own zfs pool.
|
||||||
|
|
||||||
|
### the setup
|
||||||
|
|
||||||
- install sanoid on backup and source host (not strictly required on both, but sanoid uses tools on both machine for fast and reliable connection)
|
- install sanoid on backup and source host (not strictly required on both, but sanoid uses tools on both machine for fast and reliable connection)
|
||||||
`apt install sanoid`
|
`apt install sanoid`
|
||||||
- if you don't run sanoid on one machine, ensure the following folders are created on it
|
- if you don't run sanoid on one machine, ensure the following folders are created on it
|
||||||
@@ -16,7 +19,13 @@ tags:
|
|||||||
- 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)
|
- 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)
|
||||||
- add conf files from github to
|
- add conf files from github to
|
||||||
`/etc/sanoid/` and setup
|
`/etc/sanoid/` and setup
|
||||||
- run backup
|
- run manual backup (add `--debug` flag for more info)
|
||||||
`syncoid -r --use-hold --preserve-recordsize --preserve-properties root@192.168.1.43:noggapool/music stanleypool/music`
|
`syncoid -r --use-hold --preserve-recordsize --preserve-properties root@192.168.1.43:noggapool/music stanleypool/music`
|
||||||
|
- config files are found here:
|
||||||
|
`/etc/sanoid/sanoid.conf`
|
||||||
|
`/etc/sanoid/sanoid.defaults.conf`
|
||||||
|
`/usr/local/bin/zfs-nightly-backup.sh`
|
||||||
|
- setup the cron job
|
||||||
|
`crontab -e`
|
||||||
|
`0 3 * * * /usr/local/bin/zfs-nightly-backup.sh > /var/log/zfs-backup.log 2>&1`
|
||||||
|
|
||||||
additionally a `--debug` flag can be added to the above to see what's happening
|
|
||||||
Reference in New Issue
Block a user