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

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

Conversation

@eoehen

@eoehen eoehen commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

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.

@tiredofit
tiredofit force-pushed the main branch 2 times, most recently from 51cee5f to c2fccc6 Compare August 24, 2026 16:50
@tiredofit
tiredofit force-pushed the main branch 2 times, most recently from b9505ad to 1d93939 Compare September 23, 2026 20:19
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