Custom data/Log file location for Add-DbaAgDatabase #7076
Unanswered
MuruArumugam
asked this question in
General
Replies: 1 comment
-
For custom file locations recommended path is to use the raw backup/restore functions and run add the database to the AG using the AG function. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In Add-DbaAgDatabase function Restore-DBADatabase does not use DestinationDataDirectory or DestinationLogDirectory. Any reason?
If I want to add those 2 parameters and create my own function, shred functions like Test-Bound, Write-Message etc don't work(tried to add it on dbatool.psd1 and Import-Module, didn't help),
Thanks in advance
Muru
Beta Was this translation helpful? Give feedback.
All reactions