cloudnative-pg / cloudnative-pg/plugin-barman-cloud

Backup Restore fails if we use same name as source db pod

Open
#767 10 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
191
Forks
72
Avg merge
1d 16h
Merged PRs (30d)
18

Description

@dosu
I am using CNPG 1.26 with Barman Plugin 0.11.0 on ak8s.

I taken the backup of one of DB cluster on azure blob stoarage.

I restore db with different name from that backup and it worked.

Now i deleted that original db . tried to restore db from backup with same db cluster name and it is failing. why we cannot use same db name.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the restore with CNPG 1.26 and Barman Plugin 0.11.0 on Azure Blob Storage, using the same cluster name after deleting the original. Collect the restore failure output and compare it with the successful restore under a different name; done means identifying the cause and confirming whether same-name restoration works or documenting the limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, postgresql
Domain
cloud, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.