Test latest backups with CopyFile param using striped backups #8865
-
I am using latest dbatools version 1.1.146. Afte some debug process I realized this code(allcomands.ps1): The object $lastbackup has the names of the striped backup files, I mean it is an array: Then when the process tries to get the filename in order to copy, it gets the name in a wrong name, gets the all file names in one liine: This only happens when I use Copyfile, without this param, the process runs like charms! Please any advice about how to use the param copy file when the backup files are striped. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Thanks for this detail, ill take a look |
Beta Was this translation helpful? Give feedback.
hey @mchuc7719 -- the fix is in dbatools 2.0.0-preview7
#8868
Please note that 2.0 has a bunch of changes which you can read about more at my blog https://blog.netnerds.net (there's like 3 diff posts that talk about it)