Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@drdo
Copy link
Owner

@drdo drdo commented Sep 16, 2024

restic can return repeated excluded paths for a snapshot which resulted in a primary key constraint failure when inserting.

Here we turn paths, excludes and tags into sets to ensure uniqueness.

Closes #76

restic can return repeated excluded paths for a snapshot which resulted in a primary key constraint failure when inserting.

Here we turn paths, excludes and tags into sets to ensure uniqueness.
@drdo drdo force-pushed the repeated-excludes branch from 30096ef to a6113d8 Compare September 16, 2024 22:54
@drdo drdo merged commit c8afa2a into main Sep 17, 2024
@drdo drdo deleted the repeated-excludes branch September 17, 2024 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UNIQUE constraint failed: snapshot_excludes.hash, snapshot_excludes.path

2 participants