1

I have to do a backup of a (heavy) PostgreSQL database in Ubuntu Server and I want to make sure that I don't have any fails. The command is:

pg_dump database_name -h localhost -p port_number >> backup_file.sql

What do I have to add to this command to get an error report (if there is any error) in a specific location?

Melebius
  • 11,750

0 Answers0