generated from ansible-collections/collection_template
-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Describe the bug
When trying to restore a BAK which had the original MDF File stored on Azure Blob Storage, the restore fails with an Filepath IO Error:
Error restoring database: Cannot convert value
"https://redacted.blob.core.windows.net/managedserver-redacted-ddö-ss/data/redactted-xxxx-999-9999-xxxxxx_1.mdf"
to type "System.IO.FileInfo". Error: "The given path's format is not
supported.".
my Restore module looks like this:
- name: Restore Database
lowlydba.sqlserver.restore:
sql_instance: "{{ dst_host }}"
sql_username: "sa"
sql_password: "{{ sa_login_pw }}"
database: "{{ db_name }}"
path: "{{ restore_path }}/{{ src_bak_name }}"
use_destination_default_directories: true
replace_db_name_in_file: true
verify_only: false
with_replace: false
The Restore of the same file works well with SSMS.
To Reproduce
Restore any bak File which has the original mdf on azure blob storage.
Expected behavior
Restore completed successfully
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed