You are on page 1of 2

DATA MIGRATION

INTRODUCTION :- Data migration is the process of transferring data from one storage
system or computing environment to another.

Step1:
To start with we need to login to “Putty”
Putty :- Putty is a software for connecting to a Linux server, with this software you can
access your Linux server. This software also supports Telnet and Rlogin protocols. You need
to download and install this software to connect to your Linux server. PuTTY is used instead of
the default Linux systems.

After logging in with the credentials

step2:
now type the Command : ls

After that go into the directory where we have the data to migrate using the
Command: cd UploadResume Daxtra_1 (“directory name”)

In this directory we have upto 50,000 records(resumes) to move into another directory
if we try to upload all these resumes at a time it causes some “ issues”
so we are uploading less than 300 resumes to avoid “ issues”

step3:
After going into the directory using the
Command : ls 100*
It shows the records (resumes) that are starting with the 100
Count the number of records(resumes) in that list
Note that number of records (resumes) should not exceed 300

step4:
now we are moving those records( resumes) into another directory using the
Command: mv 905* /home/ubuntu/uploadResumeDaxtra (“directory name”)
Repeat the steps: 3&4 until we move 300 records (resumes)
Note that number of records (resumes) should not exceed 300 to avoid issues

step5:
Next we need to open swagger with the url [qa.power-recruit.net:8008/swagger-ui .html]
now we need to authorize using the “bearer token” from
qanetworkheadersRequestheadersauthorization
after authorizing into the” Manage Job Controller” we need to click on “bulk-upload-controller”
we will have two POST apis
step6:
click on first one named as /api/job/setupResumeUpload
click on try it out and go to “response body”
we will find all the moved records (resumes) in the response body

step7:
click on the other Api named as /api/job/uploadCandidateResumeViaDaxtra
there wii be two field jobid and thread count
jobid:JT2087
thread count: 10

after click try it out

======================================

Balance count thelusukovadaniki :- ls | wc -l

Status 0 - pending, 1 -completed, 2-candidate already exists on daxtra (candidateId may different
and may not in sequence), 3-error from daxtra.

0-13 0-102

1-8469 1-8984

2-257 2-398

3-4750 3-4774

================================

You might also like