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

Progress bar on non-interactive runs #1395

Open
Ekleog opened this issue Jan 6, 2025 · 0 comments
Open

Progress bar on non-interactive runs #1395

Ekleog opened this issue Jan 6, 2025 · 0 comments
Labels
S-triage Status: Waiting for a maintainer to triage this issue/PR

Comments

@Ekleog
Copy link

Ekleog commented Jan 6, 2025

When running in a systemd service, rustic gives zero indication of progress. For long backups (eg. hours-long), this can be pretty destabilizing.

Suggested change:

This command currently displays nothing until the backup completes:

$ rustic backup /home --json --progress-interval 1s &| cat

Instead, setting progress-interval would have rustic output one line per second, with a quick summary of what otherwise would be written in the progress bar. It might also make sense to have a non-interactive progress-interval defaulting to like 10 seconds.

What do you think about it?

Anyway, I'm in the process of migrating from borgmatic to rustic after borgmatic started freezing on me with week-long backups, and it looks much more usable than borgmatic for now, and easier to understand. So thank you for all the work you're putting in here!

@github-actions github-actions bot added the S-triage Status: Waiting for a maintainer to triage this issue/PR label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-triage Status: Waiting for a maintainer to triage this issue/PR
Projects
None yet
Development

No branches or pull requests

1 participant