bupstash icon indicating copy to clipboard operation
bupstash copied to clipboard

Dry run `put` / debug exclusions

Open piegamesde opened this issue 2 years ago • 1 comments

Thanks to all those XDG offenders (looking at you, Chromium and Electron :angry:), I have an extensive list of backup exclusions. I'd like to periodically check that I don't accidentally miss something important and that I don't include some random 3GiB cache. For this, some kind of "dry run" mode that simply walks over the file system and print the exclusions status would be helpful.

piegamesde avatar Feb 23 '22 22:02 piegamesde

I know this doesn't directly address your issue but you can get halfway there by using the --print-file-actions option of bupstash put and store the output in a file. Then you can query it for what was excluded and what was added to a snapshot.

dimitarvp avatar Mar 18 '22 23:03 dimitarvp