kopia icon indicating copy to clipboard operation
kopia copied to clipboard

ncdu compatible output for snapshot estimate, diff, etc

Open maxhollmann opened this issue 1 year ago • 3 comments

Hey,

I would like a way to inspect which files/directories take up a lot of space in my backups, both for new paths and new snapshots for existing paths. An easy way to accomplish this would be to generate ncdu compatible JSON files from kopia's snapshot estimate and diff commands. I would be open to implementing this myself and creating a PR, but before I do I'd like to know from the maintainers whether you would like to have this functionality in kopia itself? Otherwise I would write a standalone tool that reads kopia's logs or something.

@jkowalski

maxhollmann avatar Mar 20 '23 13:03 maxhollmann

https://dev.yorhel.nl/ncdu

julio-lopez avatar Mar 28 '23 07:03 julio-lopez

Max, did you manage to get a file-list in a machine-readable format?

BWWIT avatar Jan 06 '24 15:01 BWWIT

@BWWIT nope, I didn't look into this further.

maxhollmann avatar Jan 15 '24 15:01 maxhollmann