Skip to content

Fix prefix handling in rsync_tmbackup importer#83

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

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

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
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