pg_archivecleanup
Verified for current stable LTS
Pg Archivecleanup Command: Clean Backup History Files
Use for clean backup history files with Pg Archivecleanup. Exact CLI syntax to clean backup history files using Pg Archivecleanup.
When to use this: Use for clean backup history files with Pg Archivecleanup.
Command Syntax
pg_archivecleanup -b <path/to/archive> <path/to/walfile> pg_archivecleanup -b <path/to/archive> <path/to/walfile> Command Breakdown
-b- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to clean backup history files using Pg Archivecleanup.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Pg Archivecleanup Command: Clean Archive Up To Wal File
pg_archivecleanup <path/to/archive> <path/to/walfile> Pg Archivecleanup Command: Dry Run Archive Cleanup pg_archivecleanup -n <path/to/archive> <path/to/walfile> Pg Archivecleanup Command: Enable Debug Logging Output pg_archivecleanup -d <path/to/archive> <path/to/walfile> Pg Archivecleanup Command: Strip File Extension Before Deletion pg_archivecleanup -x <extension> <path/to/archive> <path/to/walfile> Grep Command: Search For A Pattern In All Files Recursively grep -rI "<search_pattern>" <path/to/directory>