database backup for last commit