Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. NetBackup™ for PostgreSQL Administrator's Guide
  3. Protecting PostgreSQL instances and databases
  4. Things to know before you protect PostgreSQL instances and databases
  5. Performing backups
NetBackup™ for PostgreSQL Administrator's Guide

Performing backups

This topic lists the prerequisites for the backup, describes the procedure to run a backup, and the information to schedule the backup from NetBackup.

Prerequisites

Before you run the backup, ensure that you meet the following prerequisites:

  • Create the archivedir directory and then set the following parameters in the postgresql.conf file:

    • wal_level = archive

    • archive_mode = on

    • archive_timeout =0

    • statement_timeout=0

      Note:

      Ensure that you add the time in milliseconds. The recommended time is 30000 milliseconds (30 seconds).

  • Mention the following changes for archive_command

    • (Windows)'copy ' "%p" "C:\\archivedir\\%f"'

    • (Linux) test ! -f <archive_path>/%f && cp %p <archive_path>/%f

  • (Linux) After creating the archivedir directory, change the group and ownership to PostgreSQL user.

  • Restart the PostgreSQL services.

Feedback

Was this page helpful?
Previous

Things to know before you protect PostgreSQL instances and databases

Next

Protect PostgreSQL instances and databases

Feedback

Was this page helpful?