Fix example of doing a restore.
authorTom Lane
Mon, 21 Oct 2002 02:11:37 +0000 (02:11 +0000)
committerTom Lane
Mon, 21 Oct 2002 02:11:37 +0000 (02:11 +0000)
doc/src/sgml/backup.sgml

index c476dcb788043a5ac1b666911fc9cfed0046fcda..8c3e8246aa3eaa044a1f834b43e2bee941460455 100644 (file)
@@ -1,5 +1,5 @@
 
 
  Backup and Restore
@@ -419,7 +419,7 @@ cd /usr/src/postgresql-&version;
 gmake install
 initdb -D /usr/local/pgsql/data
 postmaster -D /usr/local/pgsql/data
-psql < backup
+psql template1 < backup
 
 
    See  about ways to start and stop the