pg_basebackup
Verified for current stable LTS
Pg Basebackup Command: Take Base Backup Remote Postgresql Server
Use for take base backup remote postgresql server with Pg Basebackup. Exact CLI syntax to take base backup remote postgresql server using Pg Basebackup.
When to use this: Use for take base backup remote postgresql server with Pg Basebackup.
Command Syntax
pg_basebackup -h <host> -D <path/to/backup_dir> pg_basebackup -h <host> -D <path/to/backup_dir> Command Breakdown
-h- Command Option
- Tool-specific option used by this command invocation.
-D- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to take base backup remote postgresql server 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 Compressed Backup Tar Gzip
pg_basebackup -D <path/to/backup_dir> -F t -z 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