I have a Jenkins Server which I want to Backup using 7-zip.
I want to backup the full C:\JENKINS with all the sub directories with only one exception. The exception is that from the JOBS folder I only want to backup the config.xml files. There is a config.xml file for each "Child" folder (such as "JOB_1" in the example below) of the "Parent" JOBS folder.
An example of the Directory Structure is:
+ C:\ ---+ JENKINS ------+ PLUGINS ------+ JOBS ----------+ JOB_1 --------------+ BUILDS ------------------ file1 ------------------ file2 ------------------ file3 --------------- file1 --------------- file2 --------------- file3 --------------- config.xml