Hi I can suggest two approaches here, All Jenkins configuration (jobs config, credentials,...etc) will be saved in <jenkins_home> directory.
If it is running on Linux it must in /var/lib/Jenkins/ folder On the same Linux machine install SVN/git client create a commnd to check-in files. You can run this command via Unix cron job. Another approach is via Jenkins backup plugin. Another approach is to use a seperate Jenkins job to run SVN/git check-in command from build command. But last approach may not work when all Jenkins executors are stuck while running other jobs. Thanks Rajendra On Tue 16 Oct, 2018, 6:33 AM , <[email protected]> wrote: > Hello, > > We are using Open Source Jenkins. We want to backup the configuration and > any changes happening in Jenkins everyday for recovery purpose. Is there > any scripts available for this purpose? Jenkins is on Linux VM. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/1e628851-fdad-46fe-b71c-ce5a4c494a17%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/1e628851-fdad-46fe-b71c-ce5a4c494a17%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMrg02RKfv%2Bh2pSAskmEG_NKc8Btn30Yh4evvL4EGOfSv2A5_Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
