0
私は古いデータディレクトリからバックアップを作成していませんが、まだそのディレクトリはありません。私は(pgAdminでIIIを使用して)データベースを復元しようとすると私は同じスキーマなどを持っている私の現在のデータベースでは...、私はこのエラーが表示されます。古いデータディレクトリを持つ新しいPostgresデータベースを復元する
/Applications/pgAdmin3.app/Contents/SharedSupport/pg_restore --host localhost -- port 5432 -- username "postgres" --dbname "postgres" --role "postgres" --no-password --format directory --verbose "/Library/Postgres/9.5/data"
pg_restore: [directory archiver] could not open input file "/Library/PostgreSQL/9.5/data/toc.dat": No such file or directory
toc.datが入って来たところ、私はわかりません私はそれに精通していないので、再生します。これは明らかにリストアを停止していますが、その問題を解決する方法はわかりません。