lsdwyl 发表于 2018-9-17 06:51:24

GIt的备份和恢复

# cd /var/opt/gitlab/  
# ls
  
backups       gitlab-ci   gitlab-workhorsepostgresql
  
bootstrappedgitlab-railslogrotate         redis
  
git-data      gitlab-shellnginx             trusted-certs-directory-hash
  
# cd git-data/
  
# ls
  
repositories
  
# cd repositories/
  
# ll
  
total 0
  
drwxrwx--- 2 git git6 May7 14:09 dev1
  
drwxrwx--- 2 git git6 May7 15:12 dev2
  
drwxrwx--- 4 git git 41 May 14 21:19 Group1
  
drwxrwx--- 2 git git6 May 14 21:12 GYH
  
drwxrwx--- 2 git git6 May7 15:12 pm
  
drwxrwx--- 2 git git6 May7 14:05 proje1
  
drwxrwx--- 4 git git 43 May7 14:03 root
  
drwxrwx--- 2 git git6 May 14 21:11 YH01
  
drwxrwx--- 2 git git6 May 14 21:11 YH02
  
#


页: [1]
查看完整版本: GIt的备份和恢复