Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Best practices for backup
Best practices for backup [message #819901] Tue, 13 March 2012 13:15 Go to next message
Matthias Friedrich is currently offline Matthias FriedrichFriend
Messages: 2
Registered: March 2012
Junior Member
Hi everybody,

I was wondering if there are best practices for backing up a Hudson instance. The Hudson book only suggests backing up $HUDSON_HOME and lists some plugins that I'd rather not use.

For our use case (more about it [1]), I don't want to back up all of $HUDSON_HOME because there are rather large workspaces that take lots of unnecessary space in the backup. Also, restore has to be quick because we don't have an HA setup. Most backup tools support excluding certain directories, but since workspaces are inside the job directories this makes things more complicated than necessary.

Is there a way to move the workspaces out of $HUDSON_HOME (an environment variable $HUDSON_WORKSPACES would be ideal)? Right now, our solution is to not build on the master at all and instead run a build slave on the same machine. It works, but it feels like a hack.

Thanks in advance,
Matthias

[1] http://blog.mafr.de/2011/12/27/hudson-vs-jenkins-revisited/ (sorry, apparently I'm not allowed to post links)
Re: Best practices for backup [message #821351 is a reply to message #819901] Thu, 15 March 2012 08:36 Go to previous messageGo to next message
Duncan Mills is currently offline Duncan MillsFriend
Messages: 36
Registered: August 2011
Member

Personally I use the ThinBackup plugin which scrapes the correct bits out of Hudson_Home, however, that been said I see where you're coming from. It makes eminent sense to provide the option to separate configuration from the working data. As far as I'm aware there is no way to do this right now (although I could be wrong)
Anyway, I've logged an enhancement on this one bugs.eclipse.org/bugs/show_bug.cgi?id=374342
It's a good thing to discuss in the next community meeting as well I think that it would garner a lot of support. I've added it to the agenda there.


Duncan Mills
Eclipse Hudson team
Re: Best practices for backup [message #821497 is a reply to message #821351] Thu, 15 March 2012 12:46 Go to previous message
Matthias Friedrich is currently offline Matthias FriedrichFriend
Messages: 2
Registered: March 2012
Junior Member
Thanks for your reply and also for creating the enhancement request! BTW, this feature would also make it easier to sync HUDSON_HOME to a hot standby machine using DRBD or something similar, taking us a step further towards an HA setup.

Regards,
Matthias
Previous Topic:SvnTag Plugin issue Hudson v. 2.2.0
Next Topic:using parameters for scm plugins
Goto Forum:
  


Current Time: Fri Nov 28 00:53:13 GMT 2014

Powered by FUDForum. Page generated in 0.06446 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software