Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mount-DbaDatabase: Deduplicate filepaths if more that one backup is in the last backup file #9504

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

andreasjordan
Copy link
Contributor

Type of Change

  • Bug fix (non-breaking change, fixes # )
  • New feature (non-breaking change, adds functionality, fixes # )
  • Breaking change (affects multiple commands or functionality, fixes # )
  • Ran manual Pester test and has passed (.\tests\manual.pester.ps1)
  • Adding code coverage to existing functionality
  • Pester test is included
  • If new file reference added for test, has is been added to github.com/dataplat/appveyor-lab ?
  • Unit test is included
  • Documentation
  • Build system

In case there is more than one backup in the last backup file (that was the case when I started the test two times within the same minute), Read-DbaBackupHeader returns all the different paths more than once, resulting in a bad $FileStructure.

@potatoqualitee potatoqualitee merged commit 7eec680 into development Oct 14, 2024
13 checks passed
@potatoqualitee potatoqualitee deleted the MountDbaDatabase_fix branch October 14, 2024 08:10
@potatoqualitee
Copy link
Member

awesome 👌🏼

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