WARNING: [Get-DbaDatabaseFile][18:03:04] Database [dba1] is not accessible. Skipping
WARNING: [Get-DbaDatabaseFile][18:03:06] Database [StagingCurrent] is not accessible. Skipping
WARNING: [Get-DbaDatabaseFile][18:03:06] Database [StagingTestRDM] is not accessible. Skipping
WARNING: [Get-DbaDatabaseFile][18:03:15] Database [SQLJOBTest] is not accessible. Skipping
WARNING: [Get-DbaDatabaseFile][18:03:19] Database [H1_LIVE] is not accessible. Skipping
progress bar still shows 0% as well when the DB is restored in the background.
]]>when i do Restore-DbaDatabase in above mentioned version a new thing started that was not there in previews versions of dbatools were something in the code will call Get-DbaDatabaseFile and i will start getting warnings about my offline DBs and skipping like (unable to access so and so) skipping and then the restore progress bar appears but stays on 0% and then will go off and the DB will be restored.
I dont know why the tools has to scan the offline DBs when i didnt call the command to do so and this way the restore takes longer and the progress bar is not working when it shows 0% and the restore is happening in the background.
Please advice
]]>