-Pg dump can be carried out on an online or live server. It makes consistent backups even if the database is being used. It doesn't block other users from using the database. Consider the database size and other business or customer needs before the pg_dump process is started. Small databases might be a good candidate to carry out a pg dump on the production server. For large databases, you could create PITR (Point In Time Recovery) server from the production server and carry out the pg_dump process on the PITR server. Running pg_dump on a PITR would be a cold run process, but the trade-off for this would be one would not be concerned with additional CPU/IO utilization that comes with the pg_dump process running on the actual production server. You can run pg_dump on a PITR server without any impact on the production server and drop the PITR server once the pg_dump process is completed.
0 commit comments