Forum Discussion
Power BI Git Integration - Everything is Gone
- 1 year ago
Hi dbeavon3 ,
Thanks for posting in Microsoft Fabric Community,
I completely understand your frustration. Git in Fabric is designed for managing source code, not large datasets, which is why it can sometimes lead to unintended deletion of untracked resources like datasets. Git integration should ideally not affect datasets or important data by default.To help prevent something like this in the future, here are a couple of suggestions:
- Store Datasets Separately: To avoid losing critical data, try storing datasets and other key resources outside of Git-controlled elements, like in Lakehouses or other dedicated storage solutions.
- Use Backup Strategies: Regularly back up your workspace resources, especially datasets, to ensure nothing important gets lost during syncs with Git.
Just wanted to check in—were you able to restore your workspace through Mindtree?
Since the "hot" recycle bin retention is 7 days, I hope you were able to recover everything. Let me know if you need any further assistance!Best regards,
Vinay. - 1 year ago
Hi dbeavon3
It seems that while using Git integration in Power BI, you committed some assets (like notebooks and pipelines) to a Git repo and forgot to detach it afterward. This caused Power BI to sync your workspace with the Git repo, likely removing datasets, dataflows, and other assets not tracked in Git. Git doesn’t handle data storage, so it might have overwritten or deleted datasets in the process.
Since this wasn’t in a production workspace, you should contact Mindtree or Microsoft Support to see if they can restore your lost data. Going forward, always ensure Git is detached after use and back up datasets separately to avoid this issue.
Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂Kind Regards,
Poojara
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS
Hi dbeavon3 ,
Thanks for posting in Microsoft Fabric Community,
I completely understand your frustration. Git in Fabric is designed for managing source code, not large datasets, which is why it can sometimes lead to unintended deletion of untracked resources like datasets. Git integration should ideally not affect datasets or important data by default.
To help prevent something like this in the future, here are a couple of suggestions:
- Store Datasets Separately: To avoid losing critical data, try storing datasets and other key resources outside of Git-controlled elements, like in Lakehouses or other dedicated storage solutions.
- Use Backup Strategies: Regularly back up your workspace resources, especially datasets, to ensure nothing important gets lost during syncs with Git.
Just wanted to check in—were you able to restore your workspace through Mindtree?
Since the "hot" recycle bin retention is 7 days, I hope you were able to recover everything. Let me know if you need any further assistance!
Best regards,
Vinay.
Hey mate, thanks for your post.
Did you manage to recover the deleted files, eventually? It happened the same to me, contacted the MS Support and they said there is no way to recover deleted artifacts from a workspace when deleted via git.... which sounds weird to me, but it could be the case. Just checking if you eventually managed somehow to recover the lost data. I was so surprised a company like MS doesn't have a disaster recovery option for this sort of actions they deployed on publicly available products.
Thanks.