Bugfix: backup config now correctly scopes database config to environment