dbatools icon indicating copy to clipboard operation
dbatools copied to clipboard

Expand-SqlTlogResponsibly backups when -WhatIf is declared

Open MikeFal opened this issue 10 years ago • 2 comments

If I run this command with the -WhatIf switch to validate what it's going to do, it backs up anyway. This could be problematic and generate uneeded backups, along with possibly disrupting the log backup chain. I suggest that this get altered that if -WhatIf is declared it will provide a message that a log backup will be taken, but not execute.

MikeFal avatar Aug 10 '16 23:08 MikeFal

added whatif support in two areas

potatoqualitee avatar Aug 11 '16 07:08 potatoqualitee

fixed

potatoqualitee avatar Aug 16 '16 20:08 potatoqualitee