Skip to content
Snippets Groups Projects
Verified Commit f4fe3b8d authored by anarcat's avatar anarcat
Browse files

pg: cleanup backup health output

parent 5d3da826
No related branches found
No related tags found
No related merge requests found
......@@ -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
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment