July 5, 2018 at 3:42 pm
Comments posted to this topic are about the item User Stored Procedure for Backup of user databases
July 6, 2018 at 1:01 am
Hi Galvao,
Is there any way to compress the backup along with this proc?
Thanks
Subhash
July 6, 2018 at 5:38 am
Subhash Chandra - Friday, July 6, 2018 1:01 AMHi Galvao,Is there any way to compress the backup along with this proc?
Thanks
Subhash
Hi Subhash,
Yes, just add the Compression option in this line:
Select SD. DbId, ' Backup Database [' + Sd.name + '] To Disk = ' + ' ' S:MSSQL-2017Backup ' + SD. Name + '. Bak ' + ' ' ' With Init, noformat, Compression, Description = ' + ' ' ' ' Backup for storage-Database-' + SD. Name + ' ' ' ' + Char (13) As ' Command '
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy