Closed xAnder1402 closed 2 years ago
This is working as designed.
We are here using backup mirroring and backup striping together.
The number of striped directories (comma in between) has to be the same for the directory and the mirror directory.
So this should also work:
@Directory = 'F:\MSSQL\BACKUP, \RESERVE\mssqlbackup$',
@MirrorDirectory = '\RESERVE\mssqlbackupmirror$, \RESERVE\mssqlbackupmirror2$',
I will improve the error message for this.
I have improved the error message here. https://ola.hallengren.com/versions.html
Don't work: @Directory = '\RESERVE\mssqlbackup$, \RESERVE\mssqlbackupmirror$', @MirrorDirectory = 'F:\MSSQL\BACKUP',
Don't work: @Directory = 'F:\MSSQL\BACKUP', @MirrorDirectory = '\RESERVE\mssqlbackup$, \RESERVE\mssqlbackupmirror$',
Don't work: @Directory = 'F:\MSSQL\BACKUP, \RESERVE\mssqlbackup$', @MirrorDirectory = '\RESERVE\mssqlbackupmirror$',
Working: @Directory = 'F:\MSSQL\BACKUP', @MirrorDirectory = '\RESERVE\mssqlbackupmirror$',