Skip to content

Commit 53dc0d9

Browse files
Document external-decompressor-use-manifest flag for backup/restore security (#2076)
Co-authored-by: promptless[bot] <179508745+promptless[bot]@users.noreply.github.com>
1 parent 0331270 commit 53dc0d9

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

  • content/en/docs/24.0/user-guides/operating-vitess/backup-and-restore

content/en/docs/24.0/user-guides/operating-vitess/backup-and-restore/overview.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,15 @@ All three programs can be made aware of Backup Engine and Backup Storage using t
167167
<code>--external-decompressor "pigz -d -c"</code>
168168
</td>
169169
</tr>
170+
<tr>
171+
<td><code>external-decompressor-use-manifest</code></td>
172+
<td>
173+
Allows the decompressor command stored in the backup manifest to be used at restore time.
174+
This is disabled by default for security reasons: an attacker with write access to backup storage
175+
could modify the manifest to execute arbitrary commands on the tablet as the Vitess user.
176+
Only enable this flag if you trust your backup storage and understand the risks involved.
177+
</td>
178+
</tr>
170179
<tr>
171180
<td><code>file-backup-storage-root</code></td>
172181
<td>For the <code>file</code> plugin, this identifies the root directory

0 commit comments

Comments
 (0)