Ich bin neu für psql. Ich habe von meinem Server data.dump Datei. Ich muss es in meinem lokalen wiederherstellen. Ich habe diese Befehle ausprobiert.postgresql- Wiederherstellung .dump-Datei
i) psql -U postgres dbname -f servicedb.dump
Error:
psql: warning: extra command-line argument "-f" ignored
psql: warning: extra command-line argument "servicedb.dump" ignored
ii) psql -U postgres dbname < servicedb.dump
Error:
^
ERROR: syntaxe error at or near "☺"
LINE 1: ☺☺
Was ist das ".dump" Datei und Wie man es wiederherstellt?
+1 für das Smiley-Gesicht :) –