proxmox-backup/pbs-api-types/src
Gabriel Goller 0974ddfa17 fix #3786: api: add resync-corrupt option to sync jobs
This option allows us to "fix" corrupt snapshots (and/or their chunks)
by pulling them from another remote. When traversing the remote
snapshots, we check if it exists locally, and if it is, we check if the
last verification of it failed. If the local snapshot is broken and the
`resync-corrupt` option is turned on, we pull in the remote snapshot,
overwriting the local one.

This is very useful and has been requested a lot, as there is currently
no way to "fix" corrupt chunks/snapshots even if the user has a healthy
version of it on their offsite instance.

Originally-by: Shannon Sterz <s.sterz@proxmox.com>
Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
Reviewed-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-11-25 10:53:26 +01:00
..
tape api-types: add missing doc-comment description for api enums 2024-10-22 15:25:52 +02:00
acl.rs api types: define remote permissions and roles for push sync 2024-11-21 10:14:53 +01:00
ad.rs api: access: add routes for managing AD realms 2024-04-24 21:06:14 +02:00
crypto.rs api types: rust fmt 2022-04-10 18:00:18 +02:00
datastore.rs api types: extend backup archive name parsing tests 2024-11-22 13:47:25 +01:00
file_restore.rs pbs-api-types: add FileRestoreFormat type 2022-10-05 18:40:49 +02:00
jobs.rs fix #3786: api: add resync-corrupt option to sync jobs 2024-11-25 10:53:26 +01:00
key_derivation.rs api types: rust fmt 2022-04-10 18:00:18 +02:00
ldap.rs fix typos in strings 2024-08-07 16:49:31 +02:00
lib.rs api/api-types: refactor api endpoint version, add api types 2024-11-21 10:14:53 +01:00
maintenance.rs maintenance: derive Copy for maintenance type and make maintenance mode fields public 2024-04-22 12:19:22 +02:00
metrics.rs pbs-api-types: add types for the new metrics endpoint 2024-10-15 14:09:41 +02:00
network.rs config: write vlan network interface 2024-04-24 21:48:50 +02:00
node.rs node: status: declutter kernel-version 2023-11-29 15:31:35 +01:00
openid.rs fix #5190: api: OIDC: accept generic URIs for the ACR value 2024-02-08 18:14:30 +01:00
percent_encoding.rs move pbs-tools/src/percent_encoding.rs to pbs-api-types/src/percent_encoding.rs 2021-11-25 11:48:52 +01:00
remote.rs api-types: add a missing serde(default) 2023-12-06 15:53:57 +01:00
traffic_control.rs fix #5622: backup client: properly handle rate/burst parameters 2024-08-30 13:21:29 +02:00
user.rs api-types: set serde defaults for UserWithTokens 2023-08-01 09:12:43 +02:00
version.rs version: remove named features 2024-11-21 11:53:49 +01:00
zfs.rs api-types: clippy fixes 2022-07-27 13:29:32 +02:00