copy db settings in other commands
Merge pull request #3819 from dimagi/dbsettings-copy

copy db settings in other commands