3
Herokuhttps://postgres.heroku.com/에서 독립형 포스트그레스 데이터베이스를 백업/복원하는 방법은 pg_dump
/pg_restore
이 아닌가요? 데이터베이스가 앱에 연결되어 있지 않습니다.독립 실행 형 heroku postgres 데이터베이스를 백업/복원하는 방법은 무엇입니까?
나는 Heroku가 자동으로 당신을 위해 응용 프로그램을 만들고,
pg_dump --verbose -F c -b -h hostname -p port -U username -f "backup.dump" database_name
를 사용하여 덤프를 만들고 새 데이터베이스를 만들 때
pg_restore --verbose --clean --no-acl --no-owner -h hostname -p port -U username -d database_name "backup.dump"
[가져 오기 및 PG 백업과 Heroku가 포스트 그레스 데이터베이스 내보내기] (https://devcenter.heroku.com/articles/heroku-postgres-import-export) –
가 작동하지 않습니다 모든 앱. – Irshad
다른 공식적인 방법처럼 보이지 않습니다. 이 링크에 따르면 가져 오기를 수행하기 전에 먼저 Heroku에서 앱을 만들고 구성해야합니다 ._ –