Restore config from backup when upgrade