Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install-DbaMaintenanceSolution: Add Parameter for @ChangeBackupType #9455

Open
bs-sgr opened this issue Aug 29, 2024 · 0 comments
Open

Install-DbaMaintenanceSolution: Add Parameter for @ChangeBackupType #9455

bs-sgr opened this issue Aug 29, 2024 · 0 comments
Labels
feature triage required New issue that has not been reviewed by maintainers

Comments

@bs-sgr
Copy link

bs-sgr commented Aug 29, 2024

Summarize Functionality

I use the Install-DbaMaintenanceSolution function when installing my SQL and configure the SQL Server Agent jobs at the same time. For our log and diff backups, we have added the additional @ChangeBackupType = 'Y' to the jobs to make up for a missing full backup at the next backup attempt.
An extension of the Install-DbaMaintenanceSolution command to include the ChangeBackupType function would help us a lot to avoid having to adjust the jobs manually.

Is there a command that is similiar or close to what you are looking for?

Yes

Technical Details

We currently use the following command for installation

Install-DbaMaintenanceSolution -SqlInstance localhost -Database $Database -CleanupTime $CleanupTime -LogToTable -ReplaceExisting -InstallJobs -BackupLocation $BackupLocation

It would be possible, for example, to add the parameter -ChangeBackupType to the Install-DbaMaintenanceSolution command, e.g. to select that this function is required. This option can remain deactivated by default

Example of implementation
Install-DbaMaintenanceSolution -SqlInstance localhost -Database $Database -CleanupTime $CleanupTime -LogToTable -ReplaceExisting -InstallJobs -BackupLocation $BackupLocation -ChangeBackupType $true

@bs-sgr bs-sgr added feature triage required New issue that has not been reviewed by maintainers labels Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature triage required New issue that has not been reviewed by maintainers
Projects
None yet
Development

No branches or pull requests

1 participant