Fixes bug when Rails and ENV are not defined
Use rsync instead of cp to copy database file
Explicitly ask which backup database to use
Self explanatory.