dragonflydb / dragonfly-operator

A Kubernetes operator to install and manage Dragonfly instances.

Home Page:https://www.dragonflydb.io/docs/managing-dragonfly/operator/installation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Backup file cleaning

R-Loic opened this issue · comments

Using this snapshot configuration with pvc:

  snapshot:
    cron: "*/5 * * * *"
    persistentVolumeClaimSpec:
      accessModes:
      - ReadWriteOnce
      resources:
        requests:
          storage: 2Gi

How is managed the cleaning of dfs files ? I can't find anything about this in the documentation.
Do you plan to add this feature ? Thanks

Hi @R-Loic, you can pass --dbfilename=dump flag to override the old snapshots with new one. https://www.dragonflydb.io/docs/managing-dragonfly/backups#the-dbfilename-flag