pg_basebackup
Verified for current stable LTS
Pg Basebackup Command: Create Compressed Backup Tar Gzip
Use for create compressed backup tar gzip with Pg Basebackup. Exact CLI syntax to create compressed backup tar gzip using Pg Basebackup.
When to use this: Use for create compressed backup tar gzip with Pg Basebackup.
Command Syntax
pg_basebackup -D <path/to/backup_dir> -F t -z pg_basebackup -D <path/to/backup_dir> -F t -z Command Breakdown
-D- Command Option
- Tool-specific option used by this command invocation.
-F- Command Option
- Tool-specific option used by this command invocation.
-z- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to create compressed backup tar gzip using Pg Basebackup.
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 Basebackup Command: Create Incremental Backup Using Manifest
pg_basebackup -D <path/to/backup_dir> -i <path/to/old_manifest> Pg Basebackup Command: Limit Transfer Rate Server Load pg_basebackup -D <path/to/backup_dir> -r <100M> Pg Basebackup Command: Relocate Tablespace During Backup pg_basebackup -D <path/to/backup_dir> -T <path/to/old_tablespace>=<path/to/new_tablespace> Pg Basebackup Command: Stream Wal Logs While Backup pg_basebackup -D <path/to/backup_dir> -X stream Pg Basebackup Command: Take Backup With Progress pg_basebackup -h <host> -D <path/to/backup_dir> -P Alternative Approaches
Alternative tools for similar operation intents.
Tar Command: Create A Compressed Archive And Write It To A File Using The File Extension To Automatically Determine The Compression Program
tar caf <path/to/target.tar.xz> <path/to/file1 path/to/file2 ...> Bunzip2 Command: Decompress Bzip2 File bunzip2 <file> Bun Pm Pack Command: Set Gzip Compression Level bun pm pack --gzip-level 5 Tar Command: Extract A Compressed Archive File Into The Current Directory Verbosely tar xvf <path/to/source.tar[.gz|.bz2|.xz]> Tar Command: Extract A Compressed Archive File Into The Target Directory tar xf <path/to/source.tar[.gz|.bz2|.xz]> -C <path/to/directory>