]> git.proxmox.com Git - proxmox-backup.git/commit
add incremental backup support
authorStefan Reiter <s.reiter@proxmox.com>
Tue, 23 Jun 2020 12:43:10 +0000 (14:43 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 24 Jun 2020 08:01:25 +0000 (10:01 +0200)
commitfacd9801cfe9e8494f964b1458d50aae6f8c5a36
treee0976561594faccff50a4190bb3895370812b9c8
parent21302088de1f8a6ebb30f4f8c5780853d1ec55fb
add incremental backup support

To support incremental backups (where not all chunks are sent to the
server), a new parameter "reuse-csum" is introduced on the
"create_fixed_index" API call. When set and equal to last backups'
checksum, the backup writer clones the data from the last index of this
archive file, and only updates chunks it actually receives.

In incremental mode some checks usually done on closing an index cannot
be made, since they would be inaccurate.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
src/api2/backup.rs
src/api2/backup/environment.rs
src/backup/fixed_index.rs