Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Atlas
Created by Guest
Created on Dec 14, 2021

mongodbatlas_cloud_backup_snapshot_restore_job should wait until the restore operation is complete

mongodbatlas_cloud_backup_snapshot_restore_job creates a job and returns immediately , but I think it should wait until the restore operation is complete. just like mongodbatlas_cluster that waits until the cluster is in ready state.
  • Attach files
  • Guest
    Nov 15, 2024
    How can we undestand when the restore job has finished? the only way I can think of right now is a script that wait until the field 'finished_at' of the restore job is populated. But this is not a perfect solution...
  • Guest
    Feb 24, 2022
    Hi Mohammad, Thank you for the submission. Due to the variability of the length of restore jobs, some can take significant amounts of time, we currently have no plans to wait until the job is complete as users have specifically not wanted to wait on the return. If you can share more about your use case and how this would be helpful to you it would help.