backup changes to db