Skip to content

Commit

Permalink
chore(docs): how to avoid restore and backup/repair task interference (
Browse files Browse the repository at this point in the history
…#4147)

This documents how to prevent interference between restore and backup/repair
tasks.

Fixes: #3742
(cherry picked from commit c12903d)
  • Loading branch information
VAveryanov8 authored and Michal-Leszczynski committed Dec 10, 2024
1 parent 4469f82 commit 76493c0
Showing 1 changed file with 15 additions and 0 deletions.
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

0 comments on commit 76493c0

Please sign in to comment.