Skip to content

Fix prefix handling in rsync_tmbackup importer#83

Closed
hiijoshi wants to merge 5 commits intoborgbackup:masterfrom
hiijoshi:fix-rsync-tmbackup-prefix-handling
Closed

Fix prefix handling in rsync_tmbackup importer#83
hiijoshi wants to merge 5 commits intoborgbackup:masterfrom
hiijoshi:fix-rsync-tmbackup-prefix-handling

Conversation

@hiijoshi
Copy link
Copy Markdown
Contributor

Summary

Fixed prefix handling in the rsync_tmbackup importer.

Changes

  • Stripped the configured prefix before parsing timestamps
  • Kept backup.marker lookup scoped to the provided root directory
  • Resolved the latest symlink relative to the importer root directory

Reason

Previously, timestamp parsing could fail when backup folder names included the configured prefix. This change makes prefix-based folder names work correctly and keeps path handling relative to the provided importer root.

@hiijoshi hiijoshi force-pushed the fix-rsync-tmbackup-prefix-handling branch from 309057e to bfab102 Compare March 21, 2026 09:04
@hiijoshi hiijoshi force-pushed the fix-rsync-tmbackup-prefix-handling branch from bfab102 to fee5314 Compare March 21, 2026 09:06
@ThomasWaldmann ThomasWaldmann marked this pull request as draft March 24, 2026 13:43
@ThomasWaldmann
Copy link
Copy Markdown
Member

How about cleaning up the mess here? You have 5 PRs open here that are still unfinished and have a big overlap. I suggest closing them all and doing some new, clean PRs without overlap and without any TODO left that I already gave feedback about.

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.

2 participants