auto database backup and restore on redeploy