備份說明: gitlab備份分為配置備份和數(shù)據(jù)備份
- 執(zhí)行指令-數(shù)據(jù)備份
gitlab-backup create
- 執(zhí)行指令-配置備份
gitlab-ctl backup-etc <DIRECTORY>
提示: 運行sudo gitlab-ctl backup-etc <DIRECTORY>會將備份放置在指定目錄中。如果目錄不存在,將創(chuàng)建該目錄。建議使用絕對路徑。
備份說明: gitlab備份分為配置備份和數(shù)據(jù)備份
gitlab-backup create
gitlab-ctl backup-etc <DIRECTORY>
提示: 運行sudo gitlab-ctl backup-etc <DIRECTORY>會將備份放置在指定目錄中。如果目錄不存在,將創(chuàng)建該目錄。建議使用絕對路徑。