Backup Templates

We are starting a new project and make frequent changes to our template.  Is there a way to backup just the template incase we need to revert the changes?

1 comment
Comment actions Permalink

Hi Jeremy,

The recommended approach is to create a custom backup with "server settings, projects and builds configurations, plugins" data, templates will be also included.

The second approach (not recommended): The templates along with the build configurations are stored under .BuildServer/config/projects/<projectID>/buildTypes directory. You can back up the template as a file and restore it in case of necessity.To restore it you can overwrite the existing template file but you can accidentally break the physical or logical structure of data directory so do it with extreme caution. It is also strongly not recommended to change file names in the Data directory as they are used as templates/build configuration IDs.

0

Please sign in to leave a comment.