Skip to content

fix: Fix download blobxfer when BLOBXFER_REMOTE_PATH has folders#474

Open
eoehen wants to merge 1 commit into
nfrastack:mainfrom
eoehen:feature/fix-blobxfer-download
Open

fix: Fix download blobxfer when BLOBXFER_REMOTE_PATH has folders#474
eoehen wants to merge 1 commit into
nfrastack:mainfrom
eoehen:feature/fix-blobxfer-download

Conversation

@eoehen
Copy link
Copy Markdown
Contributor

@eoehen eoehen commented Apr 28, 2026

Problem

When Blobxfer was configured with a nested remote path (for example /test/weekly/), each backup cycle could reintroduce the same path segment and produce recursive nesting over time (for example /test/weekly/test/weekly/...).
The root cause was the download + upload flow: remote content was first downloaded into the local backup directory, then the same directory was uploaded back to the same remote path, so mirrored subfolders could be re-uploaded repeatedly.

First run
'/environment/weekly/'
Second run
'/environment/weekly/environment/weekly/'
...

What was changed

Added path-safety logic to prevent recursive re-upload of the downloaded remote mirror when nested remote paths are used.

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

Successfully merging this pull request may close these issues.

1 participant