What is the password for user 'git'?

Hi,
What is the password for the built in ‘git’ user on the machine that Gitlab is installed on?
Is this the user that is used when backups are created?

I am attempting to backup to a share mount and running into permissions problems :’(

You don’t use/have a password for the ‘git’ user, you usually use a SSH key for that and the ‘git’ user is used for generic Git operations.
If you need to backup I believe that this is the correct way to backup a GitLab installation: sudo gitlab-rake gitlab:backup:create

Edit: Some information on creating backups: https://github.com/gitlabhq/gitlabhq/blob/master/doc/raketasks/backup_restore.md

Hi Jeroen

Many thanks for the info. I do already have gitlab itself backing up locally just fine.

The issue is that I would like to backup the gitlab backups from the local machine to a NAS. to do this I was trying to mount a directory from the NAS on the gitlab machine.

However, if I change the gitlab.rb to try to write the backups to the mounted directory it cannot as it does not have the correct permissions (running gitlab-ctl reconfigure appears to attempt chmod 700 on the mount even though the directory already has 777 permissions, this fails as [I think] it does not have ownership). It seems I need to have the git user mount the directory when the gitlab box is started, then it will own access to the mounted directory and should be able to write to it.

T

You could try to use rsync or cp to get it over there.

Jeroen,

Yes I just switched to trying rsync this morning, once we got the SSH keys untangled it works well
TY, T