What's required to back up?

Hi all,

What should we be backing up from our TeamCity install? Backing up the whole thing is pretty big, we don't mind reinstalling but we'd like to be able to back the configuration up at least. Is that just the .BuildServer dir?

Thanks,
Colin

5 comments
Comment actions Permalink

Hello Colin,

That's what I back-up as well (.BuildServer dir) when I need to.

HTH,
Andrei

CF> Hi all,
CF>
CF> What should we be backing up from our TeamCity install? Backing up
CF> the whole thing is pretty big, we don't mind reinstalling but we'd
CF> like to be able to back the configuration up at least. Is that just
CF> the .BuildServer dir?
CF>
CF> Thanks,
CF> Colin


0
Comment actions Permalink

Colin,

.BuildServer/config contains information about projects and configuration
.BuildServer/system contains artifacts, messages, HSQLDB files (database)
If you use MySQL (highly recommended in production environment), you should backup it as well.

Information about users and build history is stored in the database, so you have to backup it as well.

To keep size of your data small, use corresponding cleanup policy (configured in Administration interface).

Hope this helps,
KIR

0
Comment actions Permalink

And which .BuildServer directory?

I'm suffering from WindowsXP at the moment and Tomcat is installed as a service.

I have .BuildServer directories in both the drive root and the Windows directory tree. Today, after a restart, Team City got a trifle confused, and was missing license, user and project configuration . I was able to resolve the problem by replacing the entire directory with a copy of the one at /.BuildServer

0
Comment actions Permalink

Great, thanks Kirill. Sorry I took so long to reply, I got distracted and had forgotten about this question.

Cheers,
Colin

0
Comment actions Permalink

Dave,

We've created backup documentation:
http://www.jetbrains.net/confluence/display/TCD/TeamCityDataBackup

HTH,
KIR

0

Please sign in to leave a comment.