Open
Description
- Here we can see that default retention policy should be:
{retention: 7, retentionDays: 0}
- that is also what is stated in backup documentation:
scylla-manager/pkg/command/backup/cmd.go
Lines 83 to 84 in 87cc888
- But later, when creating backup target, its default policy is set to:
{retention: 3, retentionDays: 0}
.
scylla-manager/pkg/service/backup/model.go
Lines 243 to 249 in 87cc888
- Also, Scylla Manager assigns default retention policy for deleted tasks:
{retention: 0, retentionDays: 30}
.
scylla-manager/pkg/service/backup/service.go
Lines 87 to 97 in 87cc888
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?