Merge pull request #5472 from wplapper/cmd_copy_stream

restic copy --stream: run one large copy operation crossing snapshot boundaries - issue #5453
This commit is contained in:
Michael Eischer
2025-11-26 20:57:46 +01:00
committed by GitHub
12 changed files with 226 additions and 126 deletions

View File

@@ -0,0 +1,10 @@
Enhancement: `copy` copies snapshots in batches
The `copy` command used to copy snapshots individually, even if this resulted in creating pack files
smaller than the target pack size. In particular, this resulted in many small files
when copying small incremental snapshots.
Now, `copy` copies multiple snapshots at once to avoid creating small files.
https://github.com/restic/restic/issues/5175
https://github.com/restic/restic/pull/5464