Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 2.2 KB

pgbackrest.md

File metadata and controls

40 lines (32 loc) · 2.2 KB

Introduction

PgBackRest aims to be a reliable, easy-to-use backup and restore solution that can seamlessly scale up to the largest databases and workloads by utilizing algorithms that are optimized for database-specific requirements.

Features

  • Parallel Backup & Restore
  • Local or Remote Operation
  • Full, Incremental, & Differential Backups
  • Backup Rotation & Archive Expiration
  • Backup Integrity
  • Page Checksums
  • Backup Resume
  • Streaming Compression & Checksums
  • Delta Restore
  • Parallel, Asynchronous WAL Push & Get
  • Tablespace & Link Support
  • S3 and Azure Compatible Object Store Support
  • Encryption

Build, Install and Configure

Basic commands

Purpose Command
Get backup info sudo -u postgres pgbackrest info
Create Stanza sudo -u pgbackrest pgbackrest --stanza=main stanza-create
Check whether configuration are properly set sudo -u pgbackrest pgbackrest --stanza=main check
Perform Backup sudo -u pgbackrest pgbackrest --stanza=main backup
Perform Restore sudo -u postgres pgbackrest --stanza=main --delta restore
To specify type of backup - full or diff sudo -u postgres pgbackrest --stanza=main --type=diff --log-level-console=info backup