Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for [Point In Time Restore of a deleted Azure Sql Database] #11749

Open
jayat66 opened this issue May 17, 2021 · 1 comment
Open

Support for [Point In Time Restore of a deleted Azure Sql Database] #11749

jayat66 opened this issue May 17, 2021 · 1 comment
Labels
enhancement service/mssql Microsoft SQL Server

Comments

@jayat66
Copy link

jayat66 commented May 17, 2021

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Currently the resource azurerm_ssql_database offers 2 options

Restore - works with the option 'restore_dropped_database_id'
PointInTimeRestore works with the option 'creation_source_database_id'

However,
Restore does not work with restore_point_in_time.
Similarly PointInTimeRestore does not work with restore_dropped_database_id

Which means, We cannot restore to a desirable time for a dropped database. This can be done through GUI but not Terraform. Need ability to perform restores of a deleted database to a desirable time.

New or Affected Resource(s)

  • azurerm_mssql_database

Potential Terraform Configuration

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

References

  • #0000
@jayat66
Copy link
Author

jayat66 commented May 17, 2021

Currently the resource azurerm_ssql_database offers 2 options

  1. Restore - works with the option 'restore_dropped_database_id'
  2. PointInTimeRestore works with the option 'creation_source_database_id'

Restore does not work with restore_point_in_time.
Similarly PointInTimeRestore does not work with restore_dropped_database_id

Which means, We cannot restore to a desirable time for a dropped database. This can be done through GUI but not Terraform. Need ability to perform restores of a deleted database to a desirable time.

@katbyte katbyte added enhancement service/mssql Microsoft SQL Server labels Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement service/mssql Microsoft SQL Server
Projects
None yet
Development

No branches or pull requests

2 participants