Created a new script called Prepare-ExportDatabaseJobFile.ps1. This will use normal DBA connection language to get source and target SQL Server information. That with other parameters, the script will produce a JSON file that will be fed to Export-RubrikDatabaseJob.ps1
Export-RubrikDatabaseJob.ps1 will now take input from Prepare-ExportDatabaseJobFIle.ps1 or one that is created manually.
Motivation and Context
This is an enhancement to make working with Rubrik and database restores easier.
How Has This Been Tested?
Script has been run against multiple instances and versions in the Gaia and Ranger Lab
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:
[X] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
Go over all the following points, and put an x in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!
[X] My code follows the code style of this project.
[X] My change requires a change to the documentation.
Description
Created a new script called Prepare-ExportDatabaseJobFile.ps1. This will use normal DBA connection language to get source and target SQL Server information. That with other parameters, the script will produce a JSON file that will be fed to Export-RubrikDatabaseJob.ps1
Export-RubrikDatabaseJob.ps1 will now take input from Prepare-ExportDatabaseJobFIle.ps1 or one that is created manually.
Motivation and Context
This is an enhancement to make working with Rubrik and database restores easier.
How Has This Been Tested?
Script has been run against multiple instances and versions in the Gaia and Ranger Lab
Types of changes
What types of changes does your code introduce? Put an
x
in all the boxes that apply:Checklist:
Go over all the following points, and put an
x
in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!