Hello Everyone.
I want to migrate the jenkins I had on an old vm, to a new vm. i installed jenkins and java, the exact same version. and I migrate the jenkins_home directory but i am missing the datas of my builds for the past year.
I checked to see where /var/lib/jenkins was located:
df -h /var/lib/jenkins
Filesystem Size Used Avail Use% Mounted on
/dev/sdc1 2.0T 239G 1.7T 13% /mnt/storage
So I understood that it is located on a separate volume which is mounted on /mnt/storage. however i do not find this directory /var/lib on /mnt/storage.I found a symlink. when i checked:
ls -l /var/lib
lrwxrwxrwx. 1 root root 8 Mar 5 2019 lib → /var/lib
on my separate volume I have :
lib:
jenkins
JENKINS:
BUILDS
GIT
in lib/jenkins, i have everything that exists already on /var/lib/jenkins and in JENKINS/BUILDS I have name of all the jobs and some builds. the number of builds are different than the ones on lib/jenkins/jobs!!!
in JENKINS/GIT , I have files like this : (I am using bitbucket)
auto-weekly-report_feat_SSD-1366@tmp
Can anyone help me figure out the relations between these folders.