rustic-rs / rustic

rustic - fast, encrypted, and deduplicated backups powered by Rust
https://rustic.cli.rs
Apache License 2.0
1.76k stars 66 forks source link

Feature request: nice readable backup summary print #1156

Open mrlee14 opened 3 months ago

mrlee14 commented 3 months ago

personalty would appreciate summary at the and of backup, in a simple readable text format, of what was done so far, the essential details....

aawsome commented 3 months ago

@mrlee14 Can you please give some more details? What kind of information are you missing?

Do you know about rustic backup --json and rustic snapshots --long / rustic snapshots --json?

mrlee14 commented 3 months ago

@mrlee14 Can you please give some more details? What kind of information are you missing?

Do you know about rustic backup --json and rustic snapshots --long / rustic snapshots --json?

OK, I see all details and so on.., maybe the option to disable '[INFO]' lines on cli backup cmd and print only 'backing up...' lines, less verbose, its perhaps already configurable?...

mrlee14 commented 3 months ago

@mrlee14 Can you please give some more details? What kind of information are you missing? Do you know about rustic backup --json and rustic snapshots --long / rustic snapshots --json?

OK, I see all details and so on.., maybe the option to disable '[INFO]' lines on cli backup cmd and print only 'backing up...' lines, less verbose, its perhaps already configurable?...

its not truly necessary, as is is already very good...

aawsome commented 3 months ago

@mrlee14 I already heard other users that the output verbosity should be discussed and maybe changed. So far, you can use --level= to set the output verbosity, the default is info. Do you think we should start a discussion about better verbosity and better defaults?

About the summary output: We can easily add a --long option to the backup command which would output the summary like snapshots is currently doing. Would you see this as valuable?

mrlee14 commented 3 months ago

@mrlee14 I already heard other users that the output verbosity should be discussed and maybe changed. So far, you can use --level= to set the output verbosity, the default is info. Do you think we should start a discussion about better verbosity and better defaults?

About the summary output: We can easily add a --long option to the backup command which would output the summary like snapshots is currently doing. Would you see this as valuable?

Yes, I think this would be very interesting to have at the bottom of backup, nicely formatted…

intgr commented 2 months ago

Something that I would find extremely useful in output is a summary of what is expanding my repository size. I couldn't care less about some extra megabytes per snapshot, but if I keep accidentally adding stuff to backup that I don't want there, it may eventually get in trouble with my cloud storage quota.

So maybe: