mirror of
https://github.com/zrepl/zrepl.git
synced 2025-08-16 18:01:02 +02:00
bookmark every snapshot
replication logic already supports bookmarks \o/ refs #34
This commit is contained in:
@ -46,6 +46,7 @@ func (p *Pruner) Run(ctx context.Context) (r []PruneResult, err error) {
|
||||
|
||||
log := log.WithField(logFSField, fs.ToString())
|
||||
|
||||
// only prune snapshots, bookmarks are kept forever
|
||||
snapshotFilter := NewTypedPrefixFilter(p.SnapshotPrefix, zfs.Snapshot)
|
||||
fsversions, err := zfs.ZFSListFilesystemVersions(fs, snapshotFilter)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user