mirror of
https://github.com/restic/restic.git
synced 2026-10-06 02:40:31 +00:00
Instead of rebasing my code, I decided to start fresh, since WithBlobUploader() has been introduced. changelog/unreleased/issue-5453: doc/045_working_with_repos.rst: the usual cmd/restic/cmd_copy.go: gather all snaps to be collected - collectAllSnapshots() run overall copy step - func copyTreeBatched() helper copySaveSnapshot() to save the corresponding snapshot internal/repository/repack.go: introduce wrapper CopyBlobs(), which passes parameter `uploader restic.BlobSaver` from WithBlobUploader() via copyTreeBatched() to repack(). internal/backend/local/local_windows.go: I did not touch it, but gofmt did: whitespace
13 lines
607 B
Plaintext
13 lines
607 B
Plaintext
Enhancement: `restic copy` can now spool packfiles across muliple snapshots
|
|
|
|
When using `restic copy` used to save all newly created packfiles when finishing one snapshot,
|
|
even when the actual packfile size was quite small. This applied particularly to
|
|
incremental backups, when there was only small changes between individual backups.
|
|
|
|
When using the new option `--batch`, `restic copy` now creates one large request list
|
|
which contains all blobs from all snapshots to be copied and then executes the
|
|
copy operation.
|
|
|
|
https://github.com/restic/restic/issues/5175
|
|
https://github.com/restic/restic/pull/5464
|