Package Details: sanoid 2.3.0-2

Git Clone URL: https://aur.archlinux.org/sanoid.git (read-only, click to copy)
Package Base: sanoid
Description: Policy-driven snapshot management (sanoid), dataset sending/receiving (syncoid) and snapshot searching (findoid) tools for ZFS.
Upstream URL: https://github.com/jimsalterjrs/sanoid
Licenses: GPL3
Submitter: fryfrog
Maintainer: fryfrog
Last Packager: fryfrog
Votes: 38
Popularity: 0.045289
First Submitted: 2016-05-04 16:58 (UTC)
Last Updated: 2025-08-14 16:07 (UTC)

Dependencies (11)

Required by (0)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

ncoder-2 commented on 2025-08-12 22:21 (UTC) (edited on 2025-08-14 00:36 (UTC) by ncoder-2)

any chance we could add busybox as an optional dependency (required for --insecure-direct-connection when not using mbuffer)?

fryfrog commented on 2025-08-03 16:35 (UTC)

Added back sanoid-prune.service, sorry it took so long @ScottE and thanks for bringing it up again @ipaqmaster.

ipaqmaster commented on 2025-08-03 08:05 (UTC) (edited on 2025-08-03 08:08 (UTC) by ipaqmaster)

Can we get sanoid-prune back? I realized lately that some of my machines have 80k+ snapshots laying around due to a lack of pruning in the main sanoid.service. I manually added --prune-snapshots to the sanoid.service file on my hosts for now.

ScottE commented on 2025-07-07 16:17 (UTC) (edited on 2025-07-07 16:35 (UTC) by ScottE)

@johannesWinter I noticed the same thing - upstream looks fine, it's this commit for the AUR where it was removed, for some unknown reason (probably because the file was renamed over a year ago):

https://aur.archlinux.org/cgit/aur.git/commit/PKGBUILD?h=sanoid&id=57f1cdac8e207b9ed21497d723a0e7a6be6221e2

The file is still in the upstream here: https://github.com/jimsalterjrs/sanoid/blob/master/packages/debian/sanoid.sanoid-prune.service

That is to say, this AUR appears to be broken, I fixed it via this locally (relative to the commit previous to where it was removed):

diff --git a/PKGBUILD b/PKGBUILD
index cb27d10..4cee5c6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,7 +34,7 @@ prepare() {
   sed -i 's|/usr/sbin|/usr/bin|g' \
     "packages/debian/sanoid.timer" \
     "packages/debian/sanoid.service" \
-    "packages/debian/sanoid-prune.service"
+    "packages/debian/sanoid.sanoid-prune.service"
 }

 package() {
@@ -56,5 +56,5 @@ package() {
   # systemd
   install -D -m 644 "packages/debian/sanoid.timer" "${pkgdir}/usr/lib/systemd/system/sanoid.timer"
   install -D -m 644 "packages/debian/sanoid.service" "${pkgdir}/usr/lib/systemd/system/sanoid.service"
-  install -D -m 644 "packages/debian/sanoid-prune.service" "${pkgdir}/usr/lib/systemd/system/sanoid-prune.service"
+  install -D -m 644 "packages/debian/sanoid.sanoid-prune.service" "${pkgdir}/usr/lib/systemd/system/sanoid-prune.service"
 }

johannesWinter commented on 2025-06-21 21:52 (UTC)

Package seems to be missing sytemd-service (following upstream git instructions): sanoid-prune.service

fryfrog commented on 2022-04-27 21:05 (UTC)

How does this sound?

Policy-driven snapshot management (sanoid), dataset sending/receiving (syncoid) and snapshot searching (findoid) tools for ZFS.

gertvdijk commented on 2022-04-27 20:57 (UTC)

I've got a suggestion for improvement; consider adding the term 'syncoid' and 'replication' somewhere in the description. It appears that syncoid is bundled with your sanoid package. Would make it a little easier to find when looking for the syncoid replication tool (as I was until moments ago). Thanks!

fryfrog commented on 2021-03-06 17:28 (UTC)

Thanks, done. It'll go out w/ the next update. :)

willemw commented on 2021-03-06 17:11 (UTC)

@fryfrog: note that you can use the same cd "${pkgname}-${pkgver}" in prepare() and remove ALL ${srcdir}/sanoid-${pkgver} elsewere.

fryfrog commented on 2021-02-25 16:35 (UTC)

Done, thanks for the review and suggestions!