I am using Ubuntu 18.04 and PostgreSQL. For the GUI, i am using pgadmin4 (browser version). I created a new database and when trying to restore, the following error message comes up:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <title>400 Bad Request</title> <h1>Bad Request</h1> <p>The CSRF token is missing.</p>

I Tried using the terminal way using this tutorial but it does'nt seem to work.

Here is the screenshot of the problem:

enter image description here

  • "it does'nt seem to work" is not a meaningful description. What happened? – jjanes Jul 10 '19 at 19:52

An alternartive is using pg_restore command

| improve this answer | |
  • I used pg_restore and was able to finally restore it. Thanks @jahmia You made my day! – nishthapa Jul 11 '19 at 9:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.