SQLSafe Freeware Edition – Log Backup

So, back to the Freeware Edition of SQL Safe.

In order to create a log backup using the extended stored procedures, the script is almost identical to the one used for a Full Backup, but with one simple change which you can see on line 5 in the code below

 

EXEC [master].[dbo].[xp_ss_backup]
@database = 'AdventureWorks',
@filename = 'D:\Backup\AdventureWorks.safe',
@backuptype = 'Log'

 

And also, not forgetting the additional parameter if you are working on a named instance of SQL Server rather than the default

 

EXEC [master].[dbo].[xp_ss_backup]
@database = 'AdventureWorks',
@Instancename = 'Instance',
@filename = 'D:\Backup\AdventureWorks.safe',
@backuptype = 'Log'

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.