Commvault Postgres Backup
Commvault Postgres Backup
Key Features
Block-Level Backups
You can use block-level backup as a faster method to back up data because only the extents (or modified parts of the database) are backed up rather than the entire
PostgreSQL database. You eliminate the need to run a full backup each time the database is changed. For more information, see PostgreSQL Block-Level Backup .
Backup More
Feature Uses Backup options Backup set Restore options
type information
Backup of Create a Traditional Full DumpBasedBackupSet Database Cloud Apps
databases consistent level restore
from an dump of
instance databases Schema level
hosted in using restore
cloud pg_dump Table level
using restore
pg_dump Create a
utility table Restore to
objectlist another
during instance on
backup cloud
(optional)
Restore to an
onpremise
instance
Backup of Create a Traditional Full DumpBasedBackupSet Database Creating a
databases consistent level restore PostgreSQL
from an dump of Subclient to
on- databases Schema level Back Up
premise using restore Specific
using pg_dump Table level Databases
pg_dump restore
utility Create a
table Table level
objectlist restore to
during auxiliary
backup database
(optional)
Restore dump
to disk
Cross
instance
restore
Cross
machine
restore
File based Combine file Traditional Full FSBasedBackupSet Full instance Configuration
online system- restore - PostgreSQL
data level backup Incremental iDataAgent
backup of data files logs Point in time
with WAL and WAL restore
files files to Application-
restore Free Restore
1/31/2023 Commvault Systems Page 2 of 35
restore Free Restore
databases
to a Redirect
consistent restore
level by Cross
replay of instance
logs restore
Perform full Cross
backup of machine
data restore
directory,
tablespace
directories,
config files
and WAL
files
Incremental
backup of
WAL files
Snapshot Create IntelliSnap Full FSBasedBackupSet Full instance Getting
based application restore from Started with
online consistent Incremental snapshot the
data storage logs PostgreSQL
backup snapshots Full instance Agent
with WAL while the restore from
files, database is backup copy
followed in the Revert
by file backup restore
system mode
backup Point in time
copy Copy restore
snapshots
to a disk at Redirect
file level restore
using Instant Clone
multistream Recovery
backup
copy option Cross
instance
Proxy client restore
to mount
snapshot Cross
during machine
backup restore
copy
(optional)
Block level Create Block level Full FSBasedBackupSet Full instance Block-Level
backups application restore from Backups
using consistent Incremental snapshot
snapshot storage data
based snapshots Full instance
Incremental restore from
online while the logs
data database is backup copy
backup in the Synthetic Revert
with WAL backup full restore
files, mode, with
followed efficient Database
by file block level restore
system storage Schema level
backup mechanisms restore
copy to speed up
the backups Table level
restore
Faster
backups, Point in time
quick restore
granular Redirect
restore and restore
1/31/2023 improved Commvault Systems Page 3 of 35
restore
improved
recovery Cross
points with instance
frequent restore
backup
cycles Cross
machine
Copy restore
snapshots
to a disk at Instant Clone
file level Recovery
using Volume level
multistream multisteam
backup restore
copy option (indexing v2
Proxy client client only)
to mount
snapshot
during
backup
copy
(optional)
Live Sync Continuous Traditional Full FSBasedBackupSet As applicable for Live Sync
replication synchronization traditional backups Replication
of master server Incremental of
to standby server logs FSBasedBackupSet
by restoring logs
from the backups
taken for master
Backup File based Traditional Based on the FSBasedBackupSet Based on the Back Up from
from online backup type backup type Standby
Standby backup of IntelliSnap selected selected Server
Server data and
WAL files
from
standby
server
Offloads
backup
activity from
production
server
Application
PostgreSQL and EnterpriseDB Version 9.2–14.x
Operating System
AIX
Operating system Processor architecture
AIX 7.1 64-bit PowerPC
FreeBSD
Operating system Processor architecture
FreeBSD 10.x x64
Compatible processors
FreeBSD 9.x x64
Supported for PostgreSQL Version 9.2 only. Compatible processors
Linux
Operating system Processor architecture
Amazon Linux 2 x64
Compatible processors
Debian 11.x x64
Compatible processors
Debian 10.x x64
Compatible processors
Debian 9.x x64
Compatible processors
Debian 8.x x64
Compatible processors
Debian 7.x x64
Compatible processors
Debian 6.x x64
Compatible processors
Debian 5.x x64
Compatible processors
Oracle Linux 8.x with glibc 2.28.x or a more recent version x64
Compatible processors
Red Hat Enterprise Linux 9.x with glibc 2.34.x x64
Compatible processors
Red Hat Enterprise Linux/CentOS 8.x with glibc 2.28.x x64
1/31/2023 Commvault Systems Page 5 of 35
PowerPC (little endian)
Compatible processors
Red Hat Enterprise Linux/Oracle Linux Enterprise/CentOS 7.x x64
PowerPC (little endian)
Compatible processors
Red Hat Enterprise Linux/Oracle Linux Enterprise/CentOS 6.x with glibc 2.12.x Intel Pentium
x64
Power PC (Little endian)
Compatible processors
Red Hat Enterprise Linux/Oracle Linux Enterprise/CentOS 5.x with glibc 2.5.x x86
x64
Compatible processors
Source Mage Linux x64
SuSE Linux 15 SP3 x64
PowerPC (little endian)
Compatible processors
SuSE Linux 12 Initial Release x64
PowerPC (little endian)
Compatible processors
SuSE Linux 11 (Initial Release/SP1 and later SPs) with glibc 2.9.x and higher Intel Pentium
x64
Power PC (Little endian)
Compatible processors
Ubuntu 22.04 LTS x86
x64
Compatible processors
Ubuntu 20.04 LTS x86
x64
Compatible processors
Ubuntu 18.04 LTS x86
x64
Compatible processors
Ubuntu 16.04 LTS x86
x64
Compatible processors
Ubuntu 14.04 LTS x86
x64
Compatible processors
Ubuntu 12.04 LTS x86
x64
Compatible processors
Windows
Operating system Processor architecture
Microsoft Windows Server 2019 Editions All Windows-compatible processors are supported
All Windows-compatible processors are supported
Microsoft Windows Server 2016 Editions
Server Core installations are not supported.
Microsoft Windows Server 2012 R2 Editions All Windows-compatible processors are supported
Server Core installations are not supported.
Microsoft Windows Server 2012 Editions All Windows-compatible processors are supported
Server Core installations are not supported.
Microsoft Windows Server 2008 R2 Editions All Windows-compatible processors are supported
Server Core installations are not supported.
Hard Drive
Component Space required
Software 1 GB
Job results folder 256 MB
Log folder 256 MB
Memory (RAM)
2 GB or more
Block-Level Backups
Block-level backups are supported only on Linux platforms. For supported Linux kernel version details of PostgreSQL block-level backups, see List of
Supported Kernel Versions .
Block-level backups on Network File System (NFS) are not supported.
DISCLAIMER
Certain third-party software and service releases (together, "Releases") may not be supported by Commvault. You are solely responsible for ensuring Commvault’s
products and services are compatible with any such Releases.
On Windows
Prepare the Installation on Windows Computers
Review general guidelines to prepare for the installation, which include configurations that your computer might need before the installation.
Preinstallation Checklist for the PostgreSQL Agent on Windows
Review agent specific guidelines to prepare for the installation, such as gathering the information that you must provide during the installation.
Installation Methods
Select the installation method that is most appropriate for your environment.
On UNIX
Prepare the Installation on UNIX, Linux, and Macintosh Computers
Review general guidelines to prepare for the installation, which include configurations that your computer might need before the installation.
Preinstallation Checklist for the PostgreSQL Agent on UNIX
Review agent specific guidelines to prepare for the installation, such as gathering the information that you must provide during the installation.
Installation Methods
Select the installation method that is most appropriate for your environment.
Procedure
1. From the CommCell Browser, navigate to Client Computers | <Client>.
2. Right-click PostgreSQL, point to All Tasks, and then click New PostgreSQL Instance.
The PostgreSQL Create Instance Dialog dialog box appears.
3. On the General tab, perform the following.
In the Instance Name box, type the name of the instance.
In the PostGres User Name box, type the user name to access the Postgres application.
In the PostGres Account Password box, type the Postgres User Account Password.
In the PostGres Confirm Password box, type the Postgres password to confirm the password.
In the Maintenance DB box, type the name of a system database which is used as Maintenance DB.
In the Binary Directory box, type the path to the Postgres application. Alternatively, click Browse to locate the path.
In the Lib Directory box, type the path to the library directory for the instance. For example, /opt/PostgreSQL/9.2/lib.
In the Archive Log Directory box:
On a UNIX client, type the path to the directory where you want to store the archive log files. For example, /opt/wal. Make sure that this path does
not point to pg_log or log directories and pg_xlog or pg_wal directories.
On a Windows client, type the path to the directory where you want to store the archive log files.
If Archive Log Directory is configured as a UNC path, set the value for bAllowUNCForPostgres to true. If you type a UNC path, click Change to
provide UNC user account credentials.
For instructions on adding the additional setting from the CommCell Console, see Adding or Modifying Additional Settings from the CommCell
Console .
Notes:
Prior to performing the PostgreSQL backup, specify the Archive Log directory path in the postgresql.conf file.
From PostgreSQL 8.3 version onwards, use the following command to turn on the archive_mode. This feature is not supported for
PostgreSQL 8.2 and earlier versions.
archive_mode = on
In the Port box, type or select the port to open the communication between PostgreSQL Server and the clients.
In the Log Backup Storage Policy box, select a storage policy to be used for the transaction log backup jobs under Log Backup section.
4. Click OK.
Note: You can use LDAP to authenticate the PostgreSQL Server.
Use the File System Agent to back up the below mentioned components
PostgreSQL application files
Operating system data.
Note: If TDE or Always Encrypted are enabled, then the following rules apply:
Backups are not affected.
If you have a storage policy that uses deduplication, then the deduplication ratio is low or non-existent.
If the restore destination is a different client or instance, then the database administrator must back up the encryption key, and present it to the destination
instance.
Procedure
1. From the CommCell Browser, navigate to Client Computers |<Client> | PostgreSQL | <Instance> | DumpBasedBackupSet.
Right-click the default subclient and click Backup.
5. Once the job is complete, view the job details from the Backup History. Right-click the Subclient and select Backup History.
6. Click OK.
3. You can monitor the progress of the restore job in the Job Controller.
4. Once the restore job has completed, right-click the agent or <Instance>, point to View and click Restore History.
6. You can view the following details about the job by right-clicking the job:
View Restore Items
You can view them as Successful, Failed, Skipped or All.
View Job Details
View Events of the restore job.
View and send Log files of the restore job
Resubmit the restore job
The following are the requirements for running a block-level backup operation.
Related Topics
Configuring a Subclient for PostgreSQL Database Block-Level Backups
Perform a Block-Level Backup for PostgreSQL Databases
Subclient Content
As a best practice, it is recommended that you add only a few small databases to each subclient and add larger databases into separate subclients. On a restart
condition, the system will back up all databases in the subclient from the beginning. For this reason, you would not want a large database that has completed its backup
successfully to be backed up again only because a smaller one has caused a restart to occur.
For more information about Commvault® software modules and solutions, and for up-to-date system requirements, please contact us: www.commvault.com •
888.746.3849 • get-info@commvault.com
Commvault Worldwide Headquarters
1 Commvault Way • Tinton Falls, NJ 07724 • Phone: 888.746.3849 • Fax: 732.870.4525
Commvault Regional Offices
United States • Europe • Middle East & Africa • Asia-Pacific • Latin America & Caribbean Canada • India • Oceania