简体   繁体   English

带有 Git 存储库的 Azure DevOps 数据库备份

[英]Azure DevOps Database backups w/ Git Repository

If we are using git for source control with an Azure DevOps server, what exactly is being backed up when you back up the database?如果我们在 Azure DevOps 服务器上使用 git 进行源代码控制,那么在备份数据库时究竟备份了什么? In other words, since Git is file-based, does the database for a project somehow contain the repository itself as well or just other project data only?换句话说,由于 Git 是基于文件的,项目的数据库是以某种方式包含存储库本身还是仅包含其他项目数据?

On the server, there is one significant change to be aware of.在服务器上,有一个需要注意的重大变化。 Files aren't stored on the file system like they would be when git is running on your local machine.文件不像在本地机器上运行 git 时那样存储在文件系统上。 Instead, they're stored in the Azure DevOps Server SQL Server database.相反,它们存储在 Azure DevOps Server SQL Server 数据库中。 Apart from that, it's the same as any other git server out there.除此之外,它与任何其他 git 服务器相同。

If you will login to Azure DevOps Server SQL DB you will see tbl_GitRepository table.如果您将登录到 Azure DevOps Server SQL DB,您将看到tbl_GitRepository表。

在此处输入图片说明

More useful information you can find here .您可以在此处找到更多有用的信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM