Best practices for backup [message #819901] |
Tue, 13 March 2012 09:15  |
Eclipse User |
|
|
|
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 #821497 is a reply to message #821351] |
Thu, 15 March 2012 08:46  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.21899 seconds