Link to home
Start Free TrialLog in
Avatar of marrowyung
marrowyung

asked on

The enhancement of litespeed SQL backup.

Dear all,

I have the following existing script using litespeed backup

Declare @filenumber int
exec master.dbo.xp_backup_database @database = N'iXCore_Port',
@GUID = N'7565C182-6AC1-4E5F-82B9-6136A3BAA782',
@filename = N'\\REPO\Litespeed\Batch02\iXCore_Port200903191122LiteSpeed_Full.BKP',
@backupname = N'Repository Daily iXCore_Port Full Backup',
@desc = N'Repository Daily iXCore_Port Full Backup',
@jobp = N'FlTb+IlqB9p9+MB4HPgZQg==', @cryptlevel = 6,
@compressionlevel = 11, @comment = '', @with = N'SKIP', @with = N'STATS = 10',
@filenumber = @filenumber output

exec master.dbo.xp_restore_verifyonly
@filename = N'\\REPO\Litespeed\Batch02\iXCore_Port200903191122LiteSpeed_Full.BKP',
@jobp = N'FlTb+IlqB9p9+MB4HPgZQg==', @filenumber = @filenumber

I have tried to add "@threads =16," and change compressionLevel to 11, but the total time doesn't change much.

Any suggestion on how to optimize that?

Also any link show me how to implemetn full backup + differential backup + retentation period using litespeed?

any way to improve the speed and size ,etc will be good !

DBA100.
Avatar of EvilPostIt
EvilPostIt
Flag of United Kingdom of Great Britain and Northern Ireland image

You could try backing up to multiple files? I have seen large performance increases when doing this, especially when writing out to separate file systems too.
ASKER CERTIFIED SOLUTION
Avatar of Aaron Shilo
Aaron Shilo
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of marrowyung
marrowyung

ASKER

ashilo,

Compresslevel=6 is the best ?

"@threads =2*your cpu count"

I tried that before but I don't see much increase! probably the backup verification still spend a lot of time.

Any thing to improve the verification speed ?


EvilPostIt,

Yes, but the litespeed do not have this option for me, am I miss anything. Redgat toolbelt can do this ? how can I do this in litespeed and after that I can still easily restore the MULTI backup files?
Which version of LiteSpeed are you using?
Any upgrade documentation for the litespeed ? I think I need to ugprade too


ashilo,

any doc detail say the best vaule of all parameter?

how to verify the backup file is good to store other than really try to restore?
EvilPostIt,

the version of Litespeed we are using are 4.8.3.00025. What is the highest version we can directly upgrade from ?

DBA100.