Closed maltaf1 closed 5 months ago
Hi @maltaf1, thanks for opening the issue.
the backup files' name is managed by the service, which can not be managed by Terraform. So we might not able to change them. I personally suggest open a support ticket on Azure, which might help.
For any further questions please leave comments. Thanks
Thank you for taking the time to raise this! I am going to close this with @ziyeqf ‘s response as an answer since this is not managed by Terraform. If you do create a support ticket on Azure, feel free to link it here.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.3.7
AzureRM Provider Version
3.77.0
Affected Resource(s)/Data Source(s)
azurerm_mssql_virtual_machine
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
I have two sql server VMs and if want to backup the databases on each and also want to be able to identify the correct backup files from the same storage account in the event of a need to recover from these files. Currently I believe I cannot do that.
NOTE: The containers are created automatically by the extension.
The issue can be observed in the "backupcontainer"
automaticbackup:
vm-dev-eastus-dbtest1_Certificate_20231017093220.cer vm-dev-eastus-dbtest1_CertificatePvk_20231017093220.pvk vm-dev-eastus-dbtest1_MasterKey_20231017093220.key
vm-dev-eastus-dbtest2_Certificate_20231017093220.cer vm-dev-eastus-dbtest2_CertificatePvk_20231017093220.pvk vm-dev-eastus-dbtest2_MasterKey_20231017093220.key
backupcontainer:
master_vm-dev-eastus-dbtest1+00.bak model_vm-dev-eastus-dbtest1+00.log msdb_vm-dev-eastus-dbtest1+00.+00.bak
master_vm-dev-eastus-dbtest2+00.bak model_vm-dev-eastus-dbtest2+00.log msdb_vm-dev-eastus-dbtest2+00.+00.bak
Actual Behaviour
automaticbackup:
vm-dev-eastus-dbtest1_CertificatePvk_20231017093220.pvk vm-dev-eastus-dbtest1_MasterKey_20231017093220.key vm-dev-eastus-dbtest1_Certificate_20231017093220.cer
vm-dev-eastus-dbtest2_CertificatePvk_20231017093244.pvk vm-dev-eastus-dbtest2_MasterKey_20231026093353.key vm-dev-eastus-dbtest2_Certificate_20231017093244.cer
backupcontainer:
master_234c3f4c53ac45f28329615c2f5ddaba_20231018081455+00.bak msdb_9460b73522964c4fa38a7bc6ff89cacd_20231018081455+00.bak model_ebd0fe66f91f43f199c3b52d803bb136_20231018081505+00.bak model_ebd0fe66f91f43f199c3b52d803bb136_20231018101855+00.bak
Steps to Reproduce
No response
Important Factoids
No response
References
No response