Publication date : 05/15/2024

Course : PostgreSQL : Backup and restore techniques

Practical course - 4d - 28h00 - Ref. SQU
Price : 2350 € E.T.

PostgreSQL : Backup and restore techniques




In this course you will learn how to define and implement a backup plan. You'll learn how to back up and restore data from a PostgreSQL instance. Finally, you'll use the main backup and restore tools available in the community (pitrery, pg_rman, Barman...).


INTER
IN-HOUSE
CUSTOM

Practical course in person or remote class
Available in English on request

Ref. SQU
  4d - 28h00
2350 € E.T.




In this course you will learn how to define and implement a backup plan. You'll learn how to back up and restore data from a PostgreSQL instance. Finally, you'll use the main backup and restore tools available in the community (pitrery, pg_rman, Barman...).


Teaching objectives
At the end of the training, the participant will be able to:
Set up a backup plan
Efficiently restore data from a PostgreSQL instance
Use the main backup and restore tools available
Backup purging and retention
Manage backups, recovery and partial recovery

Intended audience
Database administrators with a good knowledge of PostgreSQL.

Prerequisites
Master the administration of a PostgreSQL instance.

Course schedule

1
Introduction to backup/restore

  • PostgreSQL server and its processes and files.
  • Implementing a backup strategy, points to consider.
  • Logical vs. physical backup.
  • Backup maintenance, retention and purging.
  • WAL transaction log.
  • Continuous archiving mode, archiving destination(s).
Hands-on work
Configure continuous archiving, add archive destinations via pg_recievewal

2
Logical backup and related techniques

  • Using pg_dump, backup levels and formats.
  • Parallelization of backups and Directory format.
  • Using pg_dumpall and saving global objects.
  • Logical backups managed by pg_back.
  • Restore backups with pg_restore.
  • Moving data on the fly using pgloader.
  • Use of "foreign tables", postgres_fdw, file_fdw extensions.

3
Manual physical backup/restore

  • Tar, cpio, rsync commands.
  • Using file system snapshots.
  • Hot backup: pg_start_backup, pg_stop_backup.
  • Hot backup using pg_basebackup.
  • Recovering a PostgreSQL instance after a failure.
  • Partial recovery, finding the target point, recovery and timelines.
Hands-on work
Hot backup, restore, recovery and partial recovery

4
Backup/restore with PGBACKREST

  • Software installation.
  • Configuration.
  • Backup purging and retention.
  • Backup / restore / recovery by PGBACKREST.
  • Incremental / differential backup.
Hands-on work
Hot backup, backup management, restore, recovery and partial recovery

5
Backup / restore by BARMAN

  • Software installation.
  • Configuration.
  • Backup purging and retention.
  • Backup / restore / recovery by BARMAN.
Hands-on work
Hot backup, backup management, restore, recovery and partial recovery

6
Backup / restore by PITRERY

  • Software installation.
  • Configuration.
  • Backup purging and retention.
  • Backup / restore / recovery by PITRERY.
Hands-on work
Hot backup, backup management, restore, recovery and partial recovery


Customer reviews
5 / 5
Customer reviews are based on end-of-course evaluations. The score is calculated from all evaluations within the past year. Only reviews with a textual comment are displayed.
JORIS P.
09/12/25
5 / 5

Customisation of scripts during the practical sessions and retrieval of their corrected/improved versions at the end of the week.
BERTRAND B.
09/12/25
5 / 5

very interesting



Dates and locations
Select your location or opt for the remote class then choose your date.
Remote class

Last places available
Guaranteed date, in person or remotely
Guaranteed session

REMOTE CLASS
2026 : 26 May, 13 Oct., 15 Dec.

PARIS LA DÉFENSE
2026 : 26 May, 13 Oct., 15 Dec.