-
-
Notifications
You must be signed in to change notification settings - Fork 829
Databases with same name on multiple instances #3916
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
Comments
Thank you for the bug report @pmsousa ! @marcingminski can you please take a look? also, i'll be sending you an invite to the sqlcollab so that you can be assigned 😅 |
Hi, yes, for some reason this had skipped my radar. It was only brought to my attention couple of days ago on slack. Technically not a bug as it wasn’t designed to handle multi server and it only groups by database name. Since dbatools however have multisever at heart, I will make this work but looking for some input how you guys want it to work:
Or maybe I’ll do both cos I don’t like compromises. |
LOL, either way you choose works for me. all options seem reasonable. Thanks so much! |
Hi @marcingminski, From both proposed solution, I think the best approach is the first. If we wanted separate charts, then we just add to run the cmdlet one instance at a time and get separate graphs. If I run the cmdlet for multiple SQL instances, one should assume that I want an overview of all those instances in just one graph. So the composite key and one chart seems the best solution. What do you think? Makes sense? |
Yep. I was thinking multiple charts but on the same page. It may be easier to read that’s all but happy to experiment and see what works. Don’t think it’s a big change anyway. |
This issue has been automatically marked as stale because it has not had recent activity. If you would like this issue to remain open:
|
This issue has been automatically closed because it has not had activity in the last three months. If this issue is still valid, please add a comment |
Bad bot. |
Steps to Reproduce
powershell
Expected Behavior
The expected behavior should be a timeline for each database, with no aggregation by database name or an added column to the results with the servername/instancename to separate the databases.
Actual Behavior
Has you can see, looking at the chart it seems that WSS_Logging database had 2 Full Backup on the same day at different hours. The reality is that both SQL Server instances have a WSS_Logging database and different schedules for the Full Backup on the same weekday.
Final Notes
GREAT WORK!!!!! Kudos for this... 🥇
The text was updated successfully, but these errors were encountered: