Q:

To copy a database from server1 to server2, you might use which of the following:

0

To copy a database from server1 to server2, you might use which of the following:


  1. pg_mv -h server1 database | pgsql -h server2 database
  2. pg_dump -h server1 database > pgsql -h server2 database
  3. pg_copy -h server1 database | psql -h server2 database
  4. pg_dump -h server1 database | psql -h server2 database

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

D.pg_dump -h server1 database | psql -h server2 database

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

PostgreSQL MCQ Quiz (Multiple Choice Questions And Answers)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Fill the blank space:... >>
<< What is “index bloat”?...