[pbs-devel] [PATCH proxmox-backup 0/5] fix #6072: sync encrypted/verified snapshots only

Christian Ebner c.ebner at proxmox.com
Wed Jan 15 15:15:42 CET 2025


This patches implement the logic to selectively synchronize only backup
snapshots which are encrypted and/or have been verified.

The implementation exposes this as boolean flags, as the main usecase
for this feature is to only synchronize verified, therefore considered
fine backup snapshots or encrypted backup snapshots, to make sure to
only push encrypted contents to a possibly untrusted remote.

Link to bugtracker issue:
https://bugzilla.proxmox.com/show_bug.cgi?id=6072

Christian Ebner (5):
  server: pull: refactor snapshot pull logic
  api/api-types: sync: add sync encrypted/verified snapshots only flags
  fix #6072: server: sync encrypted or verified snapshots only
  bin: manager: expose encrypted/verified only flags for cli
  www: expose encrypted/verified only flags in the sync job edit

 pbs-api-types/src/jobs.rs         |  16 +++++
 src/api2/config/sync.rs           |  18 +++++
 src/api2/pull.rs                  |  17 ++++-
 src/api2/push.rs                  |  15 ++++-
 src/bin/proxmox-backup-manager.rs |  39 ++++++++++-
 src/server/pull.rs                | 106 ++++++++++++++++++++++++------
 src/server/push.rs                |  48 ++++++++++++--
 src/server/sync.rs                |   2 +
 www/window/SyncJobEdit.js         |  24 +++++++
 9 files changed, 257 insertions(+), 28 deletions(-)

-- 
2.39.5





More information about the pbs-devel mailing list