Add parameters to postgresql::backup

Improve `postgresql::backup`.

This is a first step towards getting rid of global variables, as has been done in other postgresql classes already.