cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Restore deleted databricks jobs and job runs

iptkrisna
New Contributor III

Hi All,

Is there a way to restore deleted databricks jobs?

Thank you.

5 REPLIES 5

Takuya-Omi
Valued Contributor III

@iptkrisna 

Unfortunately, as far as I know, there is no way to restore a deleted job cluster. I recommend reaching out to support for assistance.

The job run history is retained for 60 days, so I suggest exporting the results before they expire if needed.

Export Job Run Results Documentation

--------------------------
Takuya Omi (ๅฐพ็พŽๆ‹“ๅ“‰)

Walter_C
Databricks Employee
Databricks Employee

Hello, as @Takuya-Omi has mentioned, as of now there is no way to restore a deleted job. 

What you need is the code used for the job so you can create a new one?

iptkrisna
New Contributor III

Hi @Takuya-Omi @Walter_C ,

Thank you for your help, fortunately I just need the job run history and is still there for 60 days as you mentioned, just extracted it. And @Walter_C yeah I do have the code to create the new one. Thanks!

Walter_C
Databricks Employee
Databricks Employee

Great to hear you where able to get what was needed.

hari-prasad
Valued Contributor II

Hi @iptkrisna ,

Currently, there is no option to recover deleted items. In architectures, it not necessary to control or manage the final code available in the system. Instead, the focus should be controlling and managing how code and jobs are deployed using version control and CI/CD.

 

For going on,

As a best practice, you can leverage "Databricks Asset Bundle" or Terraform to deploy and manage Databricks jobs, ensuring idempotency. I would prefer Asset Bund as they simplify Terraform as it uses Terraform under the hood.

Regards,
Hari Prasad



Regards,
Hari Prasad

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now