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

docs: how to avoid restore and backup/repair tasks interference #4147

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/source/restore/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,18 @@ Restore speed is controlled by many parameters (see :ref:`sctool restore <sctool
The ``--unpin-agent-cpu`` is disabled by default, but in case you observe small download
bandwidth, you could try to :ref:`pause <task-stop>` restore task, :ref:`update <restore-update>` it with ``--unpin-agent-cpu``,
and :ref:`resume <task-start>` it.

Interference with backup and repair tasks
=========================================

It is advisable to manually make sure that the restore task does not interfere with backup or repair tasks.

#. Do not start backup or repair tasks when restore task is running.
#. If scheduled runs of backup or repair tasks can interfier with restore task, then disable them until restore is complete::

# check Next column to determine when next run of a task is scheduled
$ sctool tasks -a

# disable repair/backup tasks if needed
$ sctool repair update -c CLUSTER-ID SCHEDULED-REPAIR-TASK-ID --enabled=false
$ sctool backup update -c CLUSTER-ID SCHEDULED-BACKUP-TASK-ID --enabled=false
Loading