실수로 테이블을 pg_class
에서 삭제했으며 동일한 테이블이 스키마 내의 다른 서버에 있습니다. 어떻게 복원합니까?실수로 pg_class에서 테이블을 삭제 한 경우 백업에서 테이블을 복원하는 방법은 무엇입니까?
ERROR: type "food_ingredients" already exists`
HINT: A relation has an associated type of the same name, so you must use a name that doesn't conflict with any existing type.`
ERROR: relation "food_ingredients" does not exist`
ERROR: syntax error at or near "19411"`
LINE 1: 19411 10405 2074 45.3333333333 0.17550085492131515 NULL NULL...`
ERROR: relation "food_ingredients" does not exist`
food_ingredients
내가 pg_class에서 제외 테이블입니다 -
나는이 내가지고있어 무엇이
psql -U {user-name} -d {desintation_db} -f {dumpfilename.sql}`
을 시도했습니다.
답장을 보내 주셔서 감사합니다. 전체 데이터베이스를 삭제하고 백업을 복원했습니다. 그 밖의 다른 일은 없었습니다. – asdf