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

Ability to pause backups and repairs during restore #4045

Open
pdbossman opened this issue Sep 25, 2024 · 3 comments
Open

Ability to pause backups and repairs during restore #4045

pdbossman opened this issue Sep 25, 2024 · 3 comments

Comments

@pdbossman
Copy link

While performing a restore of a keyspace into a cluster that already existed and was live for other applications, the regularly scheduled backups and repairs started and interfered with the restore.

It would be nice to have an option added to sctool suspend
--exclude-restore

@pdbossman
Copy link
Author

In the absence of this capability, procedurally I do the following:

  • perform a repair of existng cluster objects
  • perform a backup of existing cluster objects
  • for each backup and repair:
    sctool repair update -c CLUSTER-ID SCHEDULED-REPAIR-TASK-ID --enabled=false
    sctool backup update -c CLUSTER-ID SCHEDULED-REPAIR-TASK-ID --enabled=false
  • ... then start restore...
  • after the restore completes, re-enable scheduled backup/repairs

@karol-kokoszka
Copy link
Collaborator

The description of the task is quite clear.
Right now, we have only the possibility of suspending the whole cluster what means that no tasks will be executed (including restore) -> https://manager.docs.scylladb.com/stable/sctool/suspend-resume.html .

Let's just mark is as "ready-for-development" and include into the next milestone (after 3.4).

@Michal-Leszczynski
Copy link
Collaborator

Ref #3742.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants