Update backup target
backuptarget_updateUpdate a backup target's URL, credentials, or polling interval in Longhorn, leaving unspecified fields unchanged.
Instructions
Update a backup target (e.g. backupTargetURL, credentialSecret, pollInterval). Fields you omit are left unchanged (read-merge-write under the hood — the API itself does a full replace on PUT). Repointing backupTargetURL changes where future backups go and can break restore access to existing ones. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.12.1/snapshots-and-backups/backup-and-restore/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| extra | No | Additional Longhorn fields, merged verbatim into the request body. | |
| pollInterval | No | ||
| backupTargetURL | No | ||
| credentialSecret | No |