Hi. I've discovered that the ArchLinux-specific modification in this PKGBUILD (and also in the PKGBUILD for zfs-auto-snapshot) that changes the snapshot name format from 'PREFIX-LABEL_DATE' to 'PREFIX_DATE_LABEL', while nice, has a big problem: it breaks the sorting of old snapshots when the --fast option is used. Which means that the old-snapshot-deletion feature of the utility will end up destroying snaps that aren't actually the oldest ones! I do have a fix patch if you want it; I tried to comment here before but my comment didn't seem to show up.
Search Criteria
Package Details: zfs-auto-snapshot-git 1.2.4.r31.92db087-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/zfs-auto-snapshot-git.git (read-only, click to copy) |
---|---|
Package Base: | zfs-auto-snapshot-git |
Description: | Implementation of a snapshotting service for ZFS |
Upstream URL: | https://github.com/zfsonlinux/zfs-auto-snapshot |
Licenses: | GPL2 |
Conflicts: | zfs-auto-snapshot |
Provides: | zfs-auto-snapshot |
Submitter: | chungy |
Maintainer: | xuanruiqi |
Last Packager: | willemw |
Votes: | 11 |
Popularity: | 0.000105 |
First Submitted: | 2015-09-03 02:04 (UTC) |
Last Updated: | 2020-06-13 07:13 (UTC) |
Dependencies (3)
- systemd (systemd-chromiumosAUR, systemd-selinuxAUR, sysupdated-systemd-gitAUR, systemd-gitAUR, systemd-fmlAUR)
- zfs (zfs-linux-gitAUR, zfs-linux-hardenedAUR, zfs-linux-zenAUR, zfs-dkmsAUR, zfs-dkms-gitAUR, zfs-linuxAUR, zfs-linux-rtAUR, zfs-dkms-staging-compat-gitAUR, zfs-linux-ltsAUR, zfs-dkms-staging-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
Pinned Comments
xuanruiqi commented on 2021-02-21 21:36 (UTC) (edited on 2021-02-21 22:10 (UTC) by xuanruiqi)
In 2021, you probably don't want to use this. zrepl and sanoid are much better choices.