Whitelist opt-in approach vs backup all by default
archcorsair opened this issue · comments
Summary
Would like to be able to switch to an opt-in style of backup for applications where all applications are ignored unless explicitly added to to the .mackup.cfg
file.
As of right now the only workaround to do this is to paste the entire output of mackup list
into the [applications_to_ignore]
section and pick out the applications you want, this is hard for readability because you can't at-a-glance come back at some point in the future and know which applications you're backing up, only the large list of those you've ignored. It would be much more human readable using an inverse approach.
Suggestion
A configuration option possibly named strategy
where the default would be backup_strategy = all
and for users like me who'd prefer a whitelist based approach, could switch to backup_strategy = none
which allows for entries under [applications_to_backup]
I'm not experienced with python, but if the team thinks this could be an appropriate approach I'd be happy to take a stab at it!
Update
Looks like I might have jumped the gun on this one, digging through the docs I found [applications_to_sync]
.
It works as expected, hoping this behavior could maybe be better documented in the README (its not at all)