Backing up PostgreSQL data

We are aiming to move our PostgreSQL data away from a remote Kubernetes pod with an AWS EBS volume, and have been running pg_dump to backup the data to our local machine. However, the backup process for 4GB worth of data terminates prematurely intermittently. We’ve been running the request through tmux-- are there any other pg_dump best practices we have missed to run successful backups consistently?


Welcome to the community!

Unfortunately, your question is out of scope for this community. You should direct it to the PostgreSQL community.