Skip to content

snapshots cleaned up globally #67

Open
@bartmeuris

Description

@bartmeuris

When specific volumes are specified instead of using //, the 'old' snapshots are cleaned up from the entire system.

This is problematic since I have 2 systems both running zfs-auto-snapshot which do a periodic zfs send/receive to each other, and zfs-auto-snapshot destroys parts of the synced content.

Example: the following command is executed in cron:

zfs-auto-snapshot --quiet --syslog --default-exclude --label=frequent --keep=4  -r tank/share

I do a zfs recv to tank/backup/... - which means zfs-auto-snap_hourly-... snapshots exist there too. These are however also cleaned up - screwing up the send/receive.

Currently I work around this by changing the prefix, but I still think this is serious issue which is destroying data unexpectedly.

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