-
Notifications
You must be signed in to change notification settings - Fork 457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add docs for new WAL-G commands #756
Conversation
PostgreSQL.md
Outdated
With [reverse delta unpack](#reverse-delta-unpack) turned on, you also can turn on redundant archives skipping. | ||
Since this feature involves both backup creation and restore process, in order to fully enable it you need to do two things: | ||
|
||
1. Optional, but recommended. [Enable rating tar ball composer](#rating-composer-mode) for `backup-push`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not recommended, just explain advantages and disadvantages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed in 9653426
2. Enable redundant backup archives skipping during backup-fetch. Do one of the following: | ||
|
||
* set the `WALG_USE_REVERSE_UNPACK` and `WALG_SKIP_REDUNDANT_TARS` environment variables | ||
* add the `--reverse-unpack` and `--skip-redundant-tars` flags |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it work without --reverse-unpack?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will technically work but it won't skip any tarballs so it will be useless
PostgreSQL.md
Outdated
@@ -152,6 +170,19 @@ If backup is pushed from replication slave, WAL-G will control timeline of the s | |||
|
|||
``backup-push`` can also be run with the ``--permanent`` flag, which will mark the backup as permanent and prevent it from being removed when running ``delete``. | |||
|
|||
#### Rating composer mode | |||
|
|||
In the rating composer mode, WAL-G places files with similar updates frequencies in the same tarballs during backup creation. This is the recommended option to use in pair with `backup-fetch` [redundant archives skipping](#redundant-archives-skipping). Be aware that although rating composer allows saving more data, it may result in slower backup creation compared to the default tarball composer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-> recommended
Remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed recommended 9653426
Add docs for redundant archives skipping, rating composer, wal-verify and wal-show