Skip to content

zfs-auto-snap_daily - dataset already exists #118

Open
@tonyblue2

Description

@tonyblue2

Hello,

I installed zfs-auto-snapshot to get snapshots of my datasets.

So far, it works quite well. But once a week I get the error message:

cannot create snapshot 'rpool/home@zfs-auto-snap_daily-2020-07-30-2228': dataset already exists
cannot create snapshot 'rpool/ROOT@zfs-auto-snap_daily-2020-07-30-2228': dataset already exists
cannot create snapshot 'rpool/ROOT/pve-1@zfs-auto-snap_daily-2020-07-30-2228': dataset already exists
no snapshots were created
cannot create snapshot 'rpool/home/data1@zfs-auto-snap_daily-2020-07-30-2228': dataset already exists
no snapshots were created
cannot create snapshot 'rpool/home/data2@zfs-auto-snap_daily-2020-07-30-2228': dataset already exists
no snapshots were created
...

/etc/cron.daily/zfs-auto-snapshot:

#!/bin/sh

# Only call zfs-auto-snapshot if it's available
which zfs-auto-snapshot > /dev/null || exit 0

exec zfs-auto-snapshot --quiet --syslog --label=daily --keep=31 //

Somehow it seems like a second call to zfs-auto-snapshot - doesn't it?

Maybe someone has a tip for me how to find out?

Thank you so much!

Tony

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