简体   繁体   English

如何备份整个gitlab.com帐户

[英]How to backup entire gitlab.com account

Is there any way to backup a gitlab account (all repositories)? 有什么方法可以备份gitlab帐户(所有存储库)吗?

I can't seem to find any documentation beyond the self-hosted versions. 除了自托管版本外,我似乎找不到任何文档。

Gitlab did have a catastrophic data data loss in 2017 that couldn't be recovered, and I'm worried about accidental or malicious deletion of data. Gitlab在2017年确实发生了灾难性的数据丢失,无法恢复,我担心数据的意外或恶意删除。

Has anyone had any luck with this? 有人有运气吗?

I believe on gitlab.com you can export your repositories (projects) one at a time. 我相信您可以在gitlab.com上一次导出一个存储库(项目)。 That is, it's doable, but it might be time-consuming depending on the number of repositories you have. 也就是说,它是可行的,但是可能会很耗时,具体取决于您拥有的存储库数量。 As you mention, on self-hosted versions it's possible to backup a whole installation . 如您所述,在自托管版本中,可以备份整个安装

That said, there's an open issue to provide a batch export for projects on gitlab.com, based on the groups they're in: https://gitlab.com/gitlab-org/gitlab-ce/issues/13503 就是说,存在一个未解决的问题,即根据项目所在的组为gitlab.com上的项目提供批量导出: https ://gitlab.com/gitlab-org/gitlab-ce/issues/13503

Regarding the database incident, a lot was learnt and a number of measures were taken to avoid it happening in the future, as per the original report and post-mortem . 关于数据库事件,根据原始报告和验尸 ,学到了很多东西,并采取了许多措施来避免将来发生。

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

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