Committing all the pending changes to take the backup