refactor backup server state to avoid duplicate state name keys