forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: chenxiaoxiong <chenxiaoxiong@huawei.com> Co-committed-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
7.6 KiB
7.6 KiB
Exporting and Importing Scripts
Exporting Scripts
You can export one or more script files from the script directory. The exported files store the latest content in the development state.
- Log in to the DataArts Studio console by following the instructions in Accessing the DataArts Studio Instance Console.
- On the DataArts Studio console, locate a workspace and click DataArts Factory.
- In the left navigation pane of DataArts Factory, choose .
- Click
in the script directory and select Show Check Box. - Select scripts, click
, and select Export Script. After the export is successful, you can obtain the exported .zip file.
- In the displayed Export Script dialog box, set Export Status and click OK.
Importing Scripts
This function is available only if the OBS service is available. If OBS is unavailable, scripts can be imported from the local PC.
You can import one or more script files in the script directory. After a job is imported, the content in the development state is overwritten and a new version is automatically submitted.
- Log in to the DataArts Studio console by following the instructions in Accessing the DataArts Studio Instance Console.
- On the DataArts Studio console, locate a workspace and click DataArts Factory.
- In the left navigation pane of DataArts Factory, choose .
- Click
and select Import Script. In the displayed dialog box, select the file to import and set Duplicate Name Policy.
If you select Overwrite for Duplicate Name Policy but the hard lock policy is used and the script is locked by another user, the overwriting will fail. For details about soft and hard lock policies, see Configuring the Hard and Soft Lock Policy.
- Click Next.
Parent topic: (Optional) Managing Scripts


