<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Git / GitLab :: Ay Docs</title>
    <link>https://ops.docs.72602.space/buckup/git/index.html</link>
    <description>GitLab Backup GitLab via Omnibus # 创建备份（Omnibus 安装） sudo gitlab-rake gitlab:backup:create # 备份文件位置 ls -la /var/opt/gitlab/backups/ # 恢复 sudo gitlab-rake gitlab:backup:restore BACKUP=&lt;timestamp&gt; Backup GitLab on Kubernetes # 备份数据库 kubectl -n gitlab exec deploy/gitlab -- gitlab-backup create # 复制备份到本地 kubectl -n gitlab cp gitlab-pod:/var/opt/gitlab/backups/&lt;backup-file&gt; ./ GitHub (General) 当前项目托管在 GitHub 上，数据安全由 GitHub 保障。&#xA;如需额外备份：&#xA;# 备份所有仓库 gh repo list --limit 100 --json nameWithOwner -q &#39;.[].nameWithOwner&#39; | \ while read repo; do git clone --mirror &#34;https://github.com/$repo&#34; &#34;backups/$repo.git&#34; done</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Mon, 07 Oct 2024 19:58:45 +0800</lastBuildDate>
    <atom:link href="https://ops.docs.72602.space/buckup/git/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>GitLab</title>
      <link>https://ops.docs.72602.space/buckup/git/gitlab/index.html</link>
      <pubDate>Mon, 07 Oct 2024 19:58:45 +0800</pubDate>
      <guid>https://ops.docs.72602.space/buckup/git/gitlab/index.html</guid>
      <description>https://docs.gitlab.com/charts/backup-restore/</description>
    </item>
  </channel>
</rss>