0

Im trying to restore a backup file to a new database, but i get an error like this

pg_restore: [archiver (db)] connection to database "master26082024" failed:
FATAL: database "master26082024" does not exist
DETAIL: The database subdirectory "base/8141877" is missing.

When I checked in the database folder, my new database oid is not there, so everytime i create a new database, it doesn't generate new folder under the database folder.

Any idea on why this is happening?

1
  • No, and I would suspect a malfunction of the operating system, the file system or the disk. Or something that removes other's directories (virus scanner?). But then, you told us nothing about your system or setup, so the question cannot be answered. Commented Aug 28 at 8:06

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.