Andreas Jordan
Andreas Jordan
Hi @kirzas - are you still around? Would you like to work on that? Will change this from a bug to a feature request...
So Clear-DbaSuspectPages and Test-DbaSuspectPages are missing? @gbargsley : Are you working on this? Do you need help?
But that would maybe delete other backups as well, doesn't it?
Will change this from a bug to a documentation issue...
Why do you use -Force if you don't want to delete databases from the secondary? I currently see this as a no-bug.
Yes, I would be happy to help.
The error "Error occurred while establishing connection to AAEXTTESTDB" looks like it is coming from the source and not the destination. Is that correct? Is `$jobs = Get-DbaAgentJob -SqlInstance aatestdb`...
Have you tried to first create the connections and then use them? ``` $source = Connect-DbaInstance -SqlInstance aaexttestdb $destination = Connect-DbaInstance -SqlInstance "atsqlext\aaexttestdb,14340" Copy-DbaAgentJob -Destination $destination -Source $source ```
This is the normal way in all commands. Will try to reproduce in my lab tomorrow...