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
f4fe3b8d
Verified
Commit
f4fe3b8d
authored
3 months ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
pg: cleanup backup health output
parent
5d3da826
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
howto/postgresql.md
+1
-3
1 addition, 3 deletions
howto/postgresql.md
with
1 addition
and
3 deletions
howto/postgresql.md
+
1
−
3
View file @
f4fe3b8d
...
...
@@ -739,7 +739,6 @@ This will run the `check` command on all configured backups:
```
sh
for
stanza
in
$(
ls
/var/lib/pgbackrest/backup
)
;
do
echo
checking
$stanza
hostname
=
$(
basename
$stanza
.torproject.org
)
sudo
-u
pgbackrest-
$hostname
pgbackrest
--stanza
=
$stanza
check
done
...
...
@@ -749,9 +748,8 @@ This can be used to check the status of all backups in batch:
```
sh
for
stanza
in
$(
ls
/var/lib/pgbackrest/backup
)
;
do
echo
checking
$stanza
hostname
=
$(
basename
$stanza
.torproject.org
)
sudo
-u
pgbackrest-
$hostname
pgbackrest
--stanza
=
$stanza
info
sudo
-u
pgbackrest-
$hostname
pgbackrest
--stanza
=
$stanza
info
|
tail
-12
done
```
...
...
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