backup config - pgrecm/RECM GitHub Wiki

Home - Top

Perform a backup of all the configuration files. Configuration files are already part of any FULL backup. But, this backup of configuration files have it's own retention

Option/Qualifier

/verbose Change log details
/tag="string" Change default TAG of the backup

Description

Connection to a DEPOSIT is mandatory.
Perform a backup of all the configuration files. Configuration backups are never used at restore time. The restore config must be initiated voluntarily. A configuration backup contain the following list of files by default :

  • PostgreSQL.conf
  • PostgreSQL.auto.conf
  • pg_hba.conf
  • pg_ident.conf
  • ssl_ca_file
  • ssl_dh_params_fil

Example

CLU12> backup config /verbose 
recm-inf: Creating piece '/Volumes/pg_backups/000161dc0a8438656c78_1_CFG.recm'
recm-inf: Add file '/Library/PostgreSQL/12/data/postgresql.auto.conf'
recm-inf: Add file '/Library/PostgreSQL/12/data/pg_hba.conf'
recm-inf: Add file '/Library/PostgreSQL/12/data/pg_ident.conf'
recm-inf: Add file '/Library/PostgreSQL/12/data/postgresql.conf'
recm-inf: Backup Piece /Volumes/pg_backups/000161dc0a8438656c78_1_CFG.recm FileSize=3983 (Compression ratio: 51.36%)
recm-inf: Backup UID : 000161dc0a8438656c78
recm-inf: Total pieces ......... : 1       
recm-inf: Total files backuped.. : 4       
recm-inf: Total Backup size .... : 8188     (7 KB)
CLU12>  

⚠️ **GitHub.com Fallback** ⚠️