-
Notifications
You must be signed in to change notification settings - Fork 86
Incorrect behavior during partial recovery #647
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi, can you provide specific example? Are these system tables? Are they located in a tablespace? |
Additional tablespaces are not used. We are talking about user (non-system) tables. |
@bomuva we would be grateful for any additional information. If this is indeed a bug in probackup we should fix it. On our side we would take another look at the code for excluded table nullification. |
@fukanchik I was able to reproduce similar behavior, here are the steps
The pg_switch_wal() command is important because without it this bug does not appear. |
@bomuva thanks alot! We would take a few days to investigate on our side. |
I confirm the problem exists. Will investigate further. |
@bomuva I was wrong, I can't reproduce this on 2.5 and 2.6. What versions of PG/probackup/OS do you have? |
PostgreSQL 15.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-18), 64-bit |
I want to use a partial recovery to save disk space and recovery time when I need to recover just single db.
But when I specify
--db-include=db_1
in some situations, several tables from other databases (db_2, db_3 etc.) eventually have non-zero sizes, defeating the purpose of partial restore.The text was updated successfully, but these errors were encountered: