Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
f0c54cc6
Verified
Commit
f0c54cc6
authored
3 months ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
document pgbackrest retention period
parent
926e33e1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#229873
passed with warnings
3 months ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
howto/postgresql.md
+6
-1
6 additions, 1 deletion
howto/postgresql.md
with
6 additions
and
1 deletion
howto/postgresql.md
+
6
−
1
View file @
f0c54cc6
...
...
@@ -2001,7 +2001,7 @@ rude, for example, see:
## Backups
###
DSA setup
###
Legacy
We use upstream's
[
Continuous Archiving and Point-in-Time Recovery
(PITR)
](
https://www.postgresql.org/docs/11/continuous-archiving.html
)
which relies on postgres's "write-ahead log" (WAL) to write
...
...
@@ -2069,6 +2069,11 @@ The new backup system is based on [pgBackRest](https://pgbackrest.org/). It work
between the client and server and running
`pgbackrest`
commands, which
encapsulates all functionality including backup, and restore.
Backups are retained for 3 weeks (21 days), although the source of
truth for this is not here but in Hiera, in
`tor-puppet.git`
's
`hiera/common/postgresql.yaml`
, the
`pgbackrest::config:global:repo1-retention-full`
value.
#### Puppet setup
PostgreSQL servers are automatically configured to use pgBackRest to
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment