Download database to file and perform rename automatically