pg_dump always gets interrupted while backing up postgres db

@mayailurus Would you be able to help? I saw your comments on a related topic: Backup Postgres database for Rails application