28 questions
0
votes
1
answer
450
views
Does PostgreSQL Replica Server Generate WAL Files?
My setup with PostgreSQL 14 streaming replication, includes pgBackRest for archiving to a dedicated repository server. Both archive commands and archive recovery work from this repository. Despite the ...
0
votes
1
answer
571
views
PgBackRest Unnecessary Data Size
I am taking backups of my PostgreSQL database with PgBackrest, performing a full backup once a week and incremental backups for five days.
I store the backups on a separate backup server, apart from ...
0
votes
0
answers
105
views
Pgbackrest point in time restore, database does not start
I use pgBackRest 2.38 for postgresql 13 database backup and restore, I got a strange issue for point-in-time recovery. Once the point-in-time-recovery is done the pgbackrest kick starts postgresql ...
0
votes
0
answers
117
views
How to speed up postgresql point in time restore
I am using pgbackrest for a postgresql database backup and restore, do you know which database or pgbackrest parameters can be used to adjust the performance of postgresql database point in time ...
0
votes
0
answers
773
views
Postgresql Database cant start after restore using pgBackRest
I am doing backup with pgbackrest in the database server every day at night, I was testing to restore the backup in another server, the restore was successfully however the database cant start
...
0
votes
0
answers
793
views
Postgres point-in-time restore issue with pgbackrest
I use pgbackrest 2.43 for postgresql 14.6 database backup and restore, I got a strange issue for point-in-time recovery. Below are steps I followed to perform the test.
(1) First run a full database ...
0
votes
0
answers
456
views
TimescaleDB archiving with retention policy
I’m looking at archiving data with TimescaleDB.
Typically, I want to have TimescaleDB running on a box with little disk space and continuously archive it to an S3 bucket.
To do so, I’m using ...
0
votes
1
answer
2k
views
Error when using TLS server with pgBackRest : [113] No route to host
I´m trying to implement the TLS server feature available with pgBackRest to use a secure connection between the DB server and the repo server, replacing the previous SSH passwordless setup (that was ...
0
votes
2
answers
5k
views
Solutions for restarting Postgres when pg_wal full
This question is a follow up on a previous question I posted about efficient ways to max up Postgres pg_wal directory (for training purposes) : How to bloat pg_wal?.
I'm now wondering what are the ...
3
votes
2
answers
5k
views
PGBACKREST: Local backup works but remote backup to S3 FAILS
I am setting up pgbackrest to save wal archives to S3. I have two machines. When I used to take backup on the localhost, I am able to save it to S3. However, when I initiate backup from 'backup server'...
1
vote
0
answers
974
views
Restore backups to postgres instance on another server through pgbackrest
I'm trying to backup/restore from one postgres instance on one virtual machine to another postgres on another vm. How to give paths in pg_hba.conf?
[global]
repo1-path=/var/lib/pgsql/12/backups/
log-...
4
votes
1
answer
747
views
how to get a max per group and subgroup using jq
jq is an amazing tool and it does a lot.
as input I have
[
{
"backup": [
{
"timestamp": { "start": 1642144383, "stop": 1642144386 },
...
0
votes
1
answer
82
views
how to get a clean array as output
As input I have:
[
{
"backup": [
{
"timestamp": { "start": 1642144383, "stop": 1642144386 },
"info": { "size": ...
0
votes
2
answers
185
views
how to denormalise this json structure
I have a json formatted overview of backups, generated using pgbackrest. For simplicity I removed a lot of clutter so the main structures remain. The list can contain multiple backup structures, I ...
6
votes
1
answer
3k
views
Difference between incremental backup and WAL archiving with PgBackRest
As far as I understood
WAL archiving is pushing the WAL logs to a storage place as the WAL files are generated
Incremental backup is pushing all the WAL files created since the last backup
So, ...