Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve activity report on copy #960

Closed
NobbZ opened this issue Dec 2, 2023 · 3 comments · Fixed by #965 or rustic-rs/rustic_core#94
Closed

Improve activity report on copy #960

NobbZ opened this issue Dec 2, 2023 · 3 comments · Fixed by #965 or rustic-rs/rustic_core#94
Labels
A-cli Area: `rustic` command line interface A-ui-ux Area: Related to user interfaces and user experience C-bug Category: Something isn't working as expected

Comments

@NobbZ
Copy link

NobbZ commented Dec 2, 2023

Currently when one runs rustic copy there will be some output of rustic regarding reading the index, and also a list of relevant snapshots gets printed.

Once the actual copy gets started, rustic seems stale. There is no way to check whether it was actually doing things or not.

I can totally see that it is hard to give a proper estimate of how much data will have to be transfered overall, as snapshots might overlap/share blobs due to deduplication, and it is also not easily known which blobs will already be on the remote.

Still, I'd wish there was some sign of activity.

Perhaps print some self updating activity report, that includes the current snapshot being copied, from which repo it is copied, to which repo it is copied, what the current speed rate is and how much data has been transfered until now.

As amount of blobs to transfer and as such amount of data to transfer per snapshot can vary significantly, I am not sure if "copied $x of $y snapshots" would be a sensible or useful information either.

@github-actions github-actions bot added the S-triage Status: Waiting for a maintainer to triage this issue/PR label Dec 2, 2023
@aawsome
Copy link
Member

aawsome commented Dec 10, 2023

I just realized that this information is already available, but not shown due to wrong initialization of the target repositories.
I'll make a fix PR!

@aawsome aawsome added C-bug Category: Something isn't working as expected A-cli Area: `rustic` command line interface A-ui-ux Area: Related to user interfaces and user experience and removed S-triage Status: Waiting for a maintainer to triage this issue/PR labels Dec 10, 2023
@aawsome
Copy link
Member

aawsome commented Dec 10, 2023

Update: The information available is something like snapshot x/total is copied..
This is better than nothing, but could be still improved...

@simonsan simonsan reopened this Dec 15, 2023
@simonsan simonsan changed the title Activity report on copy Improve activity report on copy Dec 15, 2023
@aawsome
Copy link
Member

aawsome commented Jan 11, 2024

rustic-rs/rustic_core#94 will add progress of already copied bytes and also the current (smoothed) transfer rate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cli Area: `rustic` command line interface A-ui-ux Area: Related to user interfaces and user experience C-bug Category: Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants