proxmox/pbs-api-types/src
Stefan Hanreich f971b8c1e6 partial fix #3701: sync job: pull: add transfer-last parameter
Specifying the transfer-last parameter limits the amount of backups
that get synced via the pull command/sync job. The parameter specifies
how many of the N latest backups should get pulled/synced. All other
backups will get skipped.

This is particularly useful in situations where the sync target has
less disk space than the source. Syncing all backups from the source
is not possible if there is not enough disk space on the target.
Additionally this can be used for limiting the amount of data
transferred, reducing load on the network.

The newest backup will always get re-synced, regardless of the setting
of the transfer-last parameter.

Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
2023-04-24 15:18:51 +02:00
..
tape api types: fix non-capturing group syntax 2023-04-06 07:28:58 +02:00
acl.rs api: add new priv to priv name helper 2022-05-25 17:18:56 +02:00
common_regex.rs update to proxmox-sys 0.2 crate 2021-11-24 10:32:27 +01:00
crypto.rs api types: rust fmt 2022-04-10 18:00:18 +02:00
datastore.rs api types: fix non-capturing group syntax 2023-04-06 07:28:58 +02:00
file_restore.rs pbs-api-types: add FileRestoreFormat type 2022-10-05 18:40:49 +02:00
human_byte.rs derive Clone and PartialEq for some API types 2022-12-15 17:34:13 +01:00
jobs.rs partial fix #3701: sync job: pull: add transfer-last parameter 2023-04-24 15:18:51 +02:00
key_derivation.rs api types: rust fmt 2022-04-10 18:00:18 +02:00
ldap.rs api-types: ldap: properly anchor DN regex 2023-03-29 11:29:10 +02:00
lib.rs api types: fix non-capturing group syntax 2023-04-06 07:28:58 +02:00
maintenance.rs api-types: add MaintenanceType::Delete 2022-11-28 14:45:39 +01:00
metrics.rs pbs-api-types: add metrics api types 2022-06-13 09:57:16 +02:00
network.rs fix non-camel-case enums 2023-01-05 11:13:46 +01:00
openid.rs api types: rust fmt 2022-04-10 18:00:18 +02: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 derive Clone and PartialEq for some API types 2022-12-15 17:34:13 +01:00
traffic_control.rs derive Clone and PartialEq for some API types 2022-12-15 17:34:13 +01:00
user.rs server: add LDAP realm sync job 2023-02-10 12:46:19 +01:00
userid.rs tree-wide: bump edition to 2021 2022-12-06 13:31:01 +01:00
zfs.rs api-types: clippy fixes 2022-07-27 13:29:32 +02:00