Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

difference between Job build and export items - logical

Hi
I'm trying to understand difference between job build and export item.
Seen and asked from so many people, but nobody could give me concrete answer. What's more difference is there apart from to run job in different system ?
Best !!
Labels (2)
4 Replies
Anonymous
Not applicable
Author

Hi,
The option of building (exporting) job is used to export the job script.
Export item option is used to export the item files, including jobs, metadatas, contexts, routines.
If the job requirement is to run your job on different systems,  you can export the job script(.bat/.sh)
Please have a look at the KB article about:TalendHelpCenter:Exporting a Job script and executing it outside of Talend Studio
Best regards
Sabrina
Anonymous
Not applicable
Author

which one is better for deploying to other system or backup persective
MPT
Contributor III
Contributor III

Replying to an old thread because I felt it was not very clearly answered previously.

 

Biggest difference is that one contains all previous versions of the items and the other doesn't.

 

  • Export Item(s). Creates a package of one or more items you select and includes all the previous versions of the items as well as the latest one. When you import that package to another environment, you can choose which if not all versions of the items you wish to import.
  • Build Job. Creates a package of one selected version of the job that contains eveything you need to run that version of that job on a machine of your choice. That means that it includes "launcher scripts", that help you execute the job in the target system.
    • You can also import that package to another Studio environment. The package contains everything the job needs and you can continue developing that job in the new environment. But you won't have access to previous versions of the items in the new environment.
SDHON
Contributor III
Contributor III

I just discovered it, I had a hell time trying to not lose my previous versions.

In fact I was doing the extract wrong. Build Job will only extract the selected version only (current which is active) whereas the Export Item will extract the job as a whole with previous and current versions. It is during the Import Item phase that we can choose from a list of all versions which version we want to keep, it has a checkbox.

 

Else if we do Build Job, when Import Item, here in the example below version 1 will disappear.

 

0695b00000qj6TDAAY.png 

0695b00000qj6YMAAY.png