Skip to content

--destroy-only keeps one snapshot less than specified #121

Open
@loop-evgeny

Description

@loop-evgeny

When I run zfs-auto-snapshot --syslog --label=daily --keep=3 --destroy-only myzpool it keeps the last 2 snapshots, not 3.
Similarly zfs-auto-snapshot --syslog --label=daily --keep=2 --destroy-only myzpool it keeps the last 1 snapshot, not 2.

Ubuntu 18.04.5, installed zfs-auto-snapshot using apt install. I don't know what version of it I have - it doesn't report that and there is no --version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions