Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2aacd56

Browse files
committed
Documentation: fix
1 parent 961293c commit 2aacd56

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Documentation.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,12 @@ The typical workflow is as follows:
582582

583583
- Run [backup](#backup) or [restore](#restore) commands with [remote options](#remote-mode-options) **on backup host**. pg_probackup connects to the remote system via SSH and creates a backup locally or restores the previously taken backup on the remote system, respectively.
584584

585+
For example, to create archive full backup using remote mode via ssh, run:
586+
587+
pg_probackup backup -B backup_dir --instance instance_name -b FULL --remote-host=192.168.0.2 --remote-user=postgres
588+
589+
For example, to restore backup on remote system using ssh, run:
590+
585591
>NOTE: The remote backup mode is currently unavailable for Windows systems.
586592
587593
### Running pg_probackup on Parallel Threads
@@ -953,8 +959,10 @@ Specifies the backup mode to use. Possible values are:
953959
- PAGE — creates an incremental PAGE backup based on the WAL files that have changed since the previous full or incremental backup was taken.
954960
- PTRACK — creates an incremental PTRACK backup tracking page changes on the fly.
955961

956-
-C
957-
--smooth-checkpoint
962+
```
963+
-C
964+
--smooth-checkpoint
965+
```
958966
Spreads out the checkpoint over a period of time. By default, pg_probackup tries to complete the checkpoint as soon as possible.
959967

960968
--stream

0 commit comments

Comments
 (0)