UndercoverToolbox icon indicating copy to clipboard operation
UndercoverToolbox copied to clipboard

sp_RestoreScript: full backup filename is followed by '0' (zero) character

Open rubaboo opened this issue 4 years ago • 1 comments

Describe the bug Generated script has an extraneous 0 (zero) character after the full backup filename. No zero after a log backup filename.

To Reproduce Run sp_RestoreScript. Observe the command … FROM DISK = '…\filename.bak'0 WITH NORECOVERY…

Additional context Latest version sp_RestoreScript 1.8

rubaboo avatar Sep 02 '21 09:09 rubaboo

Thanks for raising this, I'll have a look into it.

UndercoverDavid avatar Sep 13 '21 13:09 UndercoverDavid

Fixed in https://github.com/SQLUndercover/UndercoverToolbox/commit/d84f32a6984efe60cc0be77779c429743b64da0c. Thank you.

rubaboo avatar Oct 13 '22 07:10 rubaboo