[IMP] [WIP] Option to permit custom dump for backup

This improvement is necessary for future migrations. banana banana banana

@odony hello,

I did my best to make it as clean as possible but the diff could be shorten a little bit (2 lines untouched) if you prefer. Let me know if there is anything more to do.