Copy SQL databases between application environments