dbaclone
dbaclone copied to clipboard
`New-DcnImage`: Add options for diff / log backups
Right now there is -UseLastFullBackup
which uses the last full backup. I think there should also be an option to be able to apply diff and transaction logs as well. Basically, instead of using -LastFull
switch for Get-DbaDbBackupHistory
, we use -Last
It might be nice to even be able to pipe in the output of Get-DbaDbBackupHistory
into New-DcnImage
so that it knows exactly how to run the restoration plan. I have no idea how to accomplish that tho