modify backup - pgrecm/RECM GitHub Wiki

Home - Top

This command allow you to modify backup properties in the DEPOSIT.

Option/Qualifiers

/available Set backup state to 'AVAILABLE'
/cid="CID" Select a specific Cluster
/lock Preserve backup from obsolescence. Will never be deleted.
/incomplete Set backup state to 'INCOMPLETE'
/location=”PATH” Modify backup location when moving physical files on a different location.(Physical files are not moved !)
/obsolete Set backup state to 'OBSOLETE'
/tag="..." Change backup TAG.
/uid="UID" Select Backup UID you want to modify.You can specify more than one UID, separated by comma.
/unlock Enable again obsolescence

Description

This command allow you to : Suspend all backups been deleted (Locked from the retention policy).
Modify TAG
Modify backup location

Example

RECM> modify backup/uid=000161def0750e5fb3e8,000161def08515340a20 /tag="Important_to_keep" /lock 
recm-inf: Backup UID '000161def0750e5fb3e8' changed.
recm-inf: Backup UID '000161def08515340a20' changed.

RECM> list backup /tag="keep" /verbose 
List backups of cluster 'CLU12' (CID=1)
UID                    Date                 Type   Status       TL   Opts   Cnt        Size  Elaps(Sec) Tag
---------------------- -------------------- ------ ------------ ---- ---- -----   ---------- ---------- -------------------------
000161def0750e5fb3e8   2022-01-12 16:15:01  FULL   AVAILABLE    35   CI_L    14       159 MB        15s Important_to_keep
000161def08515340a20   2022-01-12 16:15:17  WAL    AVAILABLE    35   C__L     3        32 MB         0s Important_to_keep

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