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 11, 2024
1 parent 0e9d9ca commit 4b9f772
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 4b9f772

Please sign in to comment.