Skip to content

restic copy - give more information in summary, like backup #5175

@magnush0lm

Description

@magnush0lm

Output of restic version

restic 0.17.3 compiled with go1.23.3 on windows/amd64

What should restic do differently? Which functionality do you think we should add?

When running restic backup, you get a summary of objects added to the repository.

Example:

Files:         113 new,     0 changed,  2391 unmodified
Dirs:            0 new,     4 changed,     9 unmodified
Data Blobs:    253 new
Tree Blobs:      5 new
Added to the repository: 416.738 MiB (90.187 MiB stored)

processed 2504 files, 242.568 GiB in 29:37
snapshot 67a32f3e saved

When running restic copy, on the other hand, information is sparse:

[55:44] 100.00%  5655 / 5655 packs copied
snapshot 6d12443e saved

I would like restic copy to give more information.
If file and dir count is not easily obtained from the packs being copied, at least info on the amount of data added/stored to the target repository would be useful.

What are you trying to do? What problem would this solve?

I am trying to keep track of how packs copied from a source repository changes a target repository, space wise.
If restic could report this, I would not have to check disk consumption of the repo "by hand".
Aditionally, this would give info on deduplication factor, which usually brightens my day.

Did restic help you today? Did it make you happy in any way?

Restic helps me and makes me happy every day. Keep up the good work!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions