add history and prevent override local without backup
add history and prevent override local without backup