Skip to content
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

Barman Cloned into Standby node but it is not uncompressed. #882

Open
wasiualhasib opened this issue Jan 17, 2025 · 2 comments
Open

Barman Cloned into Standby node but it is not uncompressed. #882

wasiualhasib opened this issue Jan 17, 2025 · 2 comments

Comments

@wasiualhasib
Copy link

After cloning using repmgr using barman backup I was unable to start the PostgreSQL server. Later I found it is due to base.tar.gz which is not completely uncompressed. I backup it in compressed format. Looking for solution of this.

[postgres@PRO ~]$ ls -l /data/pgsql/16/data
total 216284
-rw-------. 1 postgres postgres 1121737 Jan 17 20:49 backup_manifest
-rw-------. 1 postgres postgres 220342845 Jan 17 20:49 base.tar.gz
drwx------. 2 postgres postgres 6 Jan 17 21:17 pg_commit_ts
drwx------. 2 postgres postgres 6 Jan 17 21:17 pg_dynshmem
drwx------. 4 postgres postgres 39 Jan 17 21:17 pg_logical
drwx------. 2 postgres postgres 6 Jan 17 21:17 pg_notify
drwx------. 2 postgres postgres 6 Jan 17 21:17 pg_replslot
drwx------. 2 postgres postgres 6 Jan 17 21:17 pg_serial
drwx------. 2 postgres postgres 6 Jan 17 21:17 pg_snapshots
drwx------. 2 postgres postgres 6 Jan 17 21:17 pg_stat
drwx------. 2 postgres postgres 6 Jan 17 21:17 pg_stat_tmp
drwx------. 2 postgres postgres 6 Jan 17 21:17 pg_subtrans
drwx------. 2 postgres postgres 6 Jan 17 21:17 pg_tblspc
drwx------. 2 postgres postgres 6 Jan 17 21:17 pg_twophase
drwx------. 2 postgres postgres 6 Jan 17 21:17 pg_wal
-rw-------. 1 postgres postgres 298 Jan 17 21:17 postgresql.auto.conf
-rw-------. 1 postgres postgres 20 Jan 17 21:17 standby.signal

@martinmarques
Copy link
Collaborator

Which version of repmgr are you using? This was a known issue that we solved over a year ago. You will be required to use pgbackupapi.

See #800

@wasiualhasib
Copy link
Author

wasiualhasib commented Jan 17, 2025

Which version of repmgr are you using? This was a known issue that we solved over a year ago. You will be required to use pgbackupapi.

See #800

Thanks for your information. I will try it and also let you know. I am using repmgr_16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants