https://confluence.atlassian.com/display/STASH/Using+Stash+DIY+Backup
The above page bullet items listing what is backed up. The second item is 'Managed Git Repositories' but I don't see where the repositories are being backed up or where you are supposed to put such code.
Oh, that Stash Home Directory. My mistake with the terminology. I also have a user named atlstash, who's home directory is separate from stashdata, but both are owned by atlstash.
Anyway, I don;t believe I can view the source yet as I am still in evaluation (https://www.atlassian.com/licensing/purchase-licensing#source-2) But I would like to know some details of the backup procedure, if possible.
Thanks
Mark
Our git repository is not in the atlstash home directory. So are the git repositories being backed up via this curl command?
.STASH_BACKUP_RESULT=`curl -s -f ${STASH_HTTP_AUTH} -X POST -H "X-Atlassian-Maintenance-Token: ${STASH_LOCK_TOKEN}" -H "Accept: application/json" -H "Content-type: application/json" "${STASH_URL}/mvc/admin/backups?external=true"`
What mechanism does this use? Is it 'git bundle' ? Can I see the code that is run here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am puzzled as to why your Stash repositories are not stored in your Stash home directory (https://confluence.atlassian.com/display/STASH/Stash+home+directory). If they are not, then most probably no. If you want to know what the code does, download the source code and check it out I guess.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In once sentence, more or less everything. It does the DB and the home directory which contains the repositories. Read the rsync script to know what is not backed up in the home directory. The vars script defines where the archive location is.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.