From 40ee686a495e40ea5064843f9ea25fcb2d51b603 Mon Sep 17 00:00:00 2001 From: Chrissy LeMaire Date: Fri, 12 May 2023 11:23:10 +0200 Subject: [PATCH] 2.0.2 --- bin/dbatools-index.json | Bin 8700438 -> 8703374 bytes dbatools.psd1 | 2 +- public/Install-DbaMaintenanceSolution.ps1 | 8 ++++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/bin/dbatools-index.json b/bin/dbatools-index.json index 0f69c7ee76605b93fb02fac02ed3b86618206c54..430e2c126553ed9f69d325589485c8b769c91288 100644 GIT binary patch delta 2591 zcmdtkdrVu`9S87xgSj>?IJUt&Yyu9X1SsK=2ccQw0A@gJlJF`?2_c3631Glr(=;U` zCS1)@TeWW3_@>=dxmo(ymZfNmaw{!Lh&m}<6-`v@mMn`FXPNrP)X-?sHmR-HzSns) z)v8JRcd|Y<_ndpr>-Rh7GAqw$Ui!g|CMb*YGC5Ax$nmlyYh|6BAnWDFIevdK;>DTi`t z6+KRQO8CO+!e8RxNWKBz-KjUgWzI@Rsc4mO`fQ~cuTP~Wid|S)VM-PoQFZ-bGP1t# zN(ldPrv|?f+ohS#L5?7t6W@zhD=3@v2uCWa(j{HdgC}Y2229;D93)r`jD2Sjei@BkS{c z9lmsFQxLsu)x{U{(N=smpk0Y`2B#68i%w0M+LK)vV=Ke_J@iP+cA@WH+d>g*dW0^a zU+oc9H?to{_0?)K#zNgz%)g+E1td#U&U+ovY?Ss&lIcH&k6Sk<>h7grq*%)^vGe5v z52vI~atwDS0%-+9?8(a>1MF{z<0%$8IJR$^^HjUTmixaCIa_V7H8yWQSFvC4#pc(~ z`Sx*ri(r}`wIqxPHLPM0svMgwvl(Vd>*rY1CH%-1XThr0?sQWx$ErrjP9w1?bfsD| z@ceTldTj?+l|7;AYPAKCbxsX>QsRxK`g=FVg4e*m4?Juie`;pDDz}bna(iRZ_^+7& z@r9?8(U{a^K-Tlz7*TX#h zj4~4H1l7@xa0q^U^hHLl;`>`og^1S&+`7Gw>>Ory&4b*2u$x%6gHPU10AAI`QX#-r z)yQm*O-$XTy+SO6yyKCuqH8>-WF}%rMD&L1Sr)9Ywp3_5{P&zoEhvSCB z6R;6S45I+lBe% zVjFzFbJyURYwkR4GjoTh4a!=E_9e8$E_n2z>9=lMT&Ym@{ad;f82-ImkEOVs5^lJM z%%~jb)ZlzuFW)I?wL0flhnkvu`h#J5S6=|ZO55K)=qtB;kH{@xZNOKhG#U+I{VMzPY~|$PloL8Zl@iJ{oS4G zU*#J!TY{msu@d%(K?Ko~(QbO0+Le>_dmb{ z)8Q+0=EL*xHajldcIz^SsQ-2p@wMEMHxvC{G3M5H1mJ7h%&N)x#&N!Mj8s(vv_RL9!n!BeUHRNZkGj$-0oPW-3UMPN0VJoKb_0?g2#Fb1c6qojjeO>tGLUR zMj^WXq=~OTX_oHONa2n~^50Jh&vuLC7xhKt`>w@C>Uyq`MU?boap8XZmB*6;k(;D=r$NPs1v-K@eVr5WEIqcpVNxI~?Lq!yWM-xxalZ z%gC2@YS||4zau|1QhY4~Ym{p<0y%yt?xEO5#X-^x)go1PZZpmQZ1GTHEF{oGd9y&O zQIirdm%T?el%7>OEr2osh{{qC~>RHN@}gDJ^|(tEc!4$3=?$t4UGx;4pN;8*l`=;7#a;9ykiU@D}tzKfDdc zU;y5M2n@myybHr{97f;-jKX_x5>CMwybmA1I84B4n1nNMmU{zJXKm#FTe(H6{mL+1 zZ&zfR?ktcf`-DA{QxaiBrCYc;iu~26U%%UixOGcI$=d zDl)I6ZyqPBTyvwF1JZ_kr4>H9$wQ7?4 aMsuc(v}6y8v@xnE(Rlw9kN2~`y8j0}g2O8S diff --git a/dbatools.psd1 b/dbatools.psd1 index d72b5e4b55..880aeafff1 100644 --- a/dbatools.psd1 +++ b/dbatools.psd1 @@ -11,7 +11,7 @@ RootModule = 'dbatools.psm1' # Version number of this module. - ModuleVersion = '2.0.1' + ModuleVersion = '2.0.2' # ID used to uniquely identify this module GUID = '9d139310-ce45-41ce-8e8b-d76335aa1789' diff --git a/public/Install-DbaMaintenanceSolution.ps1 b/public/Install-DbaMaintenanceSolution.ps1 index 54b2446b53..346ad1a389 100644 --- a/public/Install-DbaMaintenanceSolution.ps1 +++ b/public/Install-DbaMaintenanceSolution.ps1 @@ -48,6 +48,9 @@ function Install-DbaMaintenanceSolution { To skip diffs, specify NoDiff in the values. To perform log backups each hour instead of every 15 minutes, specify HourlyLog in the values. + When AutoScheduleJobs is used, this time will be used as the start time for the jobs unless a schedule already + exists in the same time slot. If so, then it will add an hour until it finds an open time slot. Defaults to 1:15 AM. + Recommendations can be found on Ola's site: https://ola.hallengren.com/frequently-asked-questions.html .PARAMETER StartTime @@ -144,6 +147,11 @@ function Install-DbaMaintenanceSolution { This will create the Queue and QueueDatabase tables for uses when manually changing jobs to use the @DatabasesInParallel = 'Y' flag + .EXAMPLE + PS C:\> Install-DbaMaintenanceSolution -SqlInstance sql01 -InstallJobs -AutoScheduleJobs WeeklyFull + + This will create the Ola Hallengren's Solution objects and the SQL Agent Jobs. The jobs will be scheduled to run weekly full, daily differential and 15 minute log backups. + #> [CmdletBinding(SupportsShouldProcess, ConfirmImpact = "Medium")] [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseSingularNouns", "", Justification = "Internal functions are ignored")]