Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sctool backup delete doesn't work if cluster is removed #3781

Open
karol-kokoszka opened this issue Apr 3, 2024 · 0 comments
Open

sctool backup delete doesn't work if cluster is removed #3781

karol-kokoszka opened this issue Apr 3, 2024 · 0 comments

Comments

@karol-kokoszka
Copy link
Collaborator

Sctool provides CLI to delete snapshots.
It's sctool backup delete https://manager.docs.scylladb.com/stable/sctool/backup.html#backup-delete

The problem is that it doesn't work if the cluster is not managed by Scylla-Manager anymore.

➜  scylla-manager git:(branch-3.2) ./sctool backup delete -c ab667845-996e-46a5-9699-9c3b3c792443 --snapshot-tag sm_20240321143455UTC
Error: get resource: load cluster "ab667845-996e-46a5-9699-9c3b3c792443": not found
Trace ID: L57nt7cMS6mzSJI3qDaKNw (grep in scylla-manager logs)

It makes no sense.
There must an option to just clean the backup location.

GOAL
Let sctool backup delete to remove snapshots of clusters that are not managed by current instance of scylla-manager.

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

No branches or pull requests

1 participant