backup_config

Function backup_config 

Source
pub async fn backup_config(
    ssh: &mut SshClient,
    config: &PostgresConfig,
) -> Result<ConfigBackup>
Expand description

Create a backup of PostgreSQL configuration files

Backs up:

  • postgresql.conf
  • pg_hba.conf
  • pg_ident.conf (if exists)

Returns the backup directory path