scylladb / scylla-manager

The Scylla Manager
https://manager.docs.scylladb.com/stable/
Other
52 stars 34 forks source link

Default values for backup's retention policy in docs and code are different #3253

Open Michal-Leszczynski opened 1 year ago

Michal-Leszczynski commented 1 year ago

Q1: What should be the default retention policy for a new task?

Q2: Should Scylla Manager purge backups created by deleted tasks? If yes, then should it still be using (if possible) task's original retention policy or should it use default retention policy for deleted tasks? What should be this default retention policy for deleted tasks?

Michal-Leszczynski commented 1 year ago

@tzach do you know how we should set those default values?

tzach commented 1 year ago

Not with out looking deeper into this.

karol-kokoszka commented 1 year ago

Let use the same values that we put into the documentation https://manager.docs.scylladb.com/stable/sctool/backup.html#retention https://manager.docs.scylladb.com/stable/sctool/backup.html#retention-days

retention 7, retention-days 0

Let's inform the end-user about the 30 days retention for the backups made with the deleted task.