modify cluster - pgrecm/RECM GitHub Wiki

Home - Top

This command allow you to modify a cluster entry in the DEPOSIT. By default (if you don't specify the '/cid') the current connected cluster is changed.

Options and qualifiers

/backupdir="PATH" Modify backup location.
/blksize=NN Modify BlockSize (accept 10M,1024K,1G).
/compression=-1..9 Modify compression level (-1 to disable it)
no Change the way to rebuild indexes
/db="..." Change default database name used at connection time (Default is 'postgres'
/date_format="DATE" Change date format
/delwal=NN In minutes, specify how long a WAL file stay on disk before deletion
/description="..." Change the cluster description

Description

This command allow you to :

  • Suspend all backups for a specified cluster.
  • Modify the description
  • Modify some parameters

Example

RECM> list clusters 
List of registered clusters

CID        State           Name                 IP              Description
---------- --------------- ---------------      -------------------- ------------------------------
1          ENABLED         CLU12                192.168.1.62    Version 12
2          ENABLED         REPO12               192.168.1.62    Version 12

RECM> modify cluster/cid=2/description="Production Server (Version 12)" 

RECM> list clusters 
List of registered clusters

CID        State           Name                 IP              Description
---------- --------------- ---------------      -------------------- ------------------------------
1          ENABLED         CLU12                192.168.1.62    Version 12
2          ENABLED         REPO12               192.168.1.62    Production Server (Version 12)

RECM>  
⚠️ **GitHub.com Fallback** ⚠️