olahallengren / sql-server-maintenance-solution

SQL Server Maintenance Solution
https://ola.hallengren.com
MIT License
2.91k stars 756 forks source link

DirectoryStructure for Mirror Backups #124

Open andrewtobin opened 6 years ago

andrewtobin commented 6 years ago

I'd like to be able to set up a Mirror Directory Structure similar to the functionality of Directory Structure, but separate, so I can set a different structure.

At the moment I do log shipping via SQLBACKUP and I have it set up to go to a share and then "...\_LS\" I would like to be able to do the same, creating a COPYTO/Mirror using the Maintenance Solution to simplify things.

olahallengren commented 6 years ago

I'd like to be able to set up a Mirror Directory Structure similar to the functionality of Directory Structure, but separate, so I can set a different structure.

Today the directory structure is the same for the @Directory, @MirrorDirectory, @URL and @MirrorURL.

gafoorgk commented 4 years ago

I do vote for this feature. Though for a simple reason, it's nice to have control there.

olahallengren commented 3 weeks ago

Then I would need new parameters for @MirrorDirectoryStructure and @MirrorAvailabilityGroupDirectoryStructure.