pg_upgrade
Verified for current stable LTS
Pg Upgrade Command: Use Hard Links Instead Of Copying
Use for use hard links instead of copying with Pg Upgrade. Exact CLI syntax to use hard links instead of copying using Pg Upgrade.
When to use this: Use for use hard links instead of copying with Pg Upgrade.
Command Syntax
pg_upgrade -k -b <path/to/old_bin> -B <path/to/new_bin> -d <path/to/old_data> -D <path/to/new_data> pg_upgrade -k -b <path/to/old_bin> -B <path/to/new_bin> -d <path/to/old_data> -D <path/to/new_data> Command Breakdown
-k- Command Option
- Tool-specific option used by this command invocation.
-b- Command Option
- Tool-specific option used by this command invocation.
-B- Command Option
- Tool-specific option used by this command invocation.
-d- 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 use hard links instead of copying using Pg Upgrade.
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 Upgrade Command: Check Clusters Before Upgrading
pg_upgrade -c -b <path/to/old_bin> -B <path/to/new_bin> -d <path/to/old_data> -D <path/to/new_data> Pg Upgrade Command: Display Help pg_upgrade -? Pg Upgrade Command: Perform Upgrade pg_upgrade -b <path/to/old_bin> -B <path/to/new_bin> -d <path/to/old_data> -D <path/to/new_data> Pg Upgrade Command: Specify Old And New Postgres Ports pg_upgrade -p <port> -P <port> -b <path/to/old_bin> -B <path/to/new_bin> -d <path/to/old_data> -D <path/to/new_data> Pg Upgrade Command: Use Parallel Jobs During Upgrade pg_upgrade -j <njobs> -b <path/to/old_bin> -B <path/to/new_bin> -d <path/to/old_data> -D <path/to/new_data>