Skip to content

Latest commit

 

History

History

PostgreSQL-13-pg_verifybackup

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

pg_verifybackup

https://www.postgresql.org/docs/13/app-pgverifybackup.html

This feature was first introduced in PostgreSQL 13.

  1. Run docker-compose project:
docker-compose up
  1. Create database:
docker-compose exec -T postgres psql -U postgres < data.sql
  1. Create backup:
docker-compose exec -T postgres pg_basebackup -h localhost -U postgres -P -D /var/backup
  1. Verify backup:
docker-compose exec -T postgres pg_verifybackup /var/backup