Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does Xcode server store the bots? How can bots be transferred to another machine?

Tags:

xcode-server

I have created multiple bots using Xcode and Xcode server. I'd like to backup these bots and transfer it to another machine. How can this be done?

like image 815
Awsed Avatar asked Feb 24 '16 08:02

Awsed


1 Answers

All of the Xcode Server bot information is stored in a CouchDB. The path (Current as of Server.app 5.2, and Xcode.app 8.2.1) is:

 /Library/Developer/XcodeServer/Database/*
 /Library/Developer/XcodeServer/Database/xcs.couch

You can probably copy & paste the entire 'XcodeServer' folder from one server to another and startup the Xcode Server Service.

A couple other helpful hints when dealing with Xcode Server:

  • The CouchDB instance for Xcode Server can be accessed at: http://localhost:10355/_utils/
  • Check out this great series of articles on the nuts and bolts of Xcode Server: https://honzadvorsky.com/articles/2015-05-04-under-the-hood-of-xcode-server/
like image 118
richardpiazza Avatar answered Oct 03 '22 06:10

richardpiazza