You 'can' use the new API <https://api.go.cd/current/#clone-the-configuration-repository> to back up only the GoCD configuration file. GoCD uses an internal git repository to store changes made to the config xml, using this API you can clone that internal repository to inspect changes, view history or maybe implement some soft hooks to act on new changes.
If you want a full backup of the configuration along with all the pipeline run information etc use https://api.go.cd/current/#create-a-backup On Tue, Jun 28, 2016 at 2:07 AM Jason Rowe <[email protected]> wrote: > Is this new feature related? > > "#2240 <https://github.com/gocd/gocd/pull/2240> - Added a URL endpoint to > grab a snapshot of the GoCD config git repository. For example, backup the > config repo 'config-repository' using: > > git clone https://ci.example.com/go/api/config-repository.git" > > > https://github.com/gocd/gocd/pull/2240 > > > On Saturday, June 25, 2016 at 3:31:37 PM UTC-5, David Rice wrote: > >> Have you looked at the API docs <https://api.go.cd/current/>? >> >> >> On Sat, Jun 25, 2016 at 12:14 PM Евгения Гусакова <[email protected]> >> wrote: >> > Hi! >>> >>> I have 3 questions: >>> >>> 1. Are any possibility to do full backup of Go CI configuration using >>> API? >>> >>> 2. How can I download/upload/update templates using API? >>> >>> 3. How can I get full list of pipelines (e.g. to do same change to >>> multiple pipelines using API, like change git server or change variables >>> etc) >>> >>> Thank you! >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "go-cd" group. >>> >> To unsubscribe from this group and stop receiving emails from it, send an >>> email to [email protected]. >> >> >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
