|Best practices for backup [message #819901]
||Tue, 13 March 2012 09:15
| Matthias Friedrich
Registered: March 2012
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 ), 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,
 http://blog.mafr.de/2011/12/27/hudson-vs-jenkins-revisited/ (sorry, apparently I'm not allowed to post links)
Powered by FUDForum
. Page generated in 0.15809 seconds