Reorder connectionUrl in database.properties.erb
Allow to pass in a service name.
Remove duplication.
Added the ability to restore from a backup.