This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (5 pts)
693 Views 11 Replies Last post: Jul 17, 2009 7:49 AM by BrendonHiggins RSS
marcconeley Master 49 posts since
Jan 16, 2009
Currently Being Moderated

Jul 1, 2009 9:31 AM

Another SMSQL question regarding "retainsnapofsnapinfo".

A quick question which I hope someone can help me with.

 

I using SMSQL & running daily FULL backups at 00:00 every day and 18x hourly tlog only backups.

I want to keep backups going back 4 days.

 

Therefore I have 2 separate SMSQL jobs scheduled: 1 for the FULL backups (which include Tlogs also) and 1 for the hourly tlog only backups.

The SQL job params look like this:

 

TLogs params:          -RetainBackupDays  4 -lgbkonly -bksif -RetainSnapofSnapInfoDays 4 -trlog  -noutm  –mgmt standard

Full backup params: -RetainBackupDays  4 -lb -bksif -RetainSnapofSnapInfoDays 4 -trlog  -noutm  –mgmt daily

 

Now:

 

- By default a backup also forces a "snapshot of the snapinfo LUN" - this means that after every backup (whether it be a tlog or full) the vol holding the snapinfo LUN is snapshot! Is there a better way to configure this? Maybe only do volume level snapinfo snapshots once per day i.e. when my full backup runs & not after every tlog backup?

 

My problem is that the SnapIno LUN always has plenty of space and can hold 4 days of SQL backups no problems - but the volume snapshots didn't seem to get deleted when I was using the default "-RetainSnapofSnapInfo 8" command (it wasn't keeping only the last 8 - it was keeping more than 10days worth which eventually filled my volume). When this happens SMSQL doesn't generate an error as the backup worked - only the snapshot of the vol failed. Instead I get a Filer volume warning telling me my volume is 100% full.

 

The only option in SMSQL is to either turn "create snapshot of snapinfo drive after backup" on or off - which means after every hourly transaction log backup it also snapshots the snapinfo drive. Is this not overkill? I have 4 days of streamed backups on the LUN, then can I simply keep 1 day of snapinfo snapshots?? Why are the snapinfo snaps so important if we have the backups available on the LUN anyway?

 

I've read a great post about FR and SMSQL, but I can't find much regarding this "-RetainSnapofSnapInfo" and how it should be used when performing regular SMSQL backups.

 

Thanks,


Marc

Tags: smsql, retainsnapofsnapinfo, smsql, retainsnapofsnapinfo
BrendonHiggins Guru 473 posts since
Mar 26, 2008
Currently Being Moderated
Jul 3, 2009 3:34 AM in response to: marcconeley
Re: Another SMSQL question regarding "retainsnapofsnapinfo".

Hi

 

I have my data and TLs on different LUNs.  I do a full backup 3 times a day but also snapmirror the TLs every 15 minutes.  This does not have the snapinfo issue.

 

Bren

BrendonHiggins Guru 473 posts since
Mar 26, 2008
Currently Being Moderated
Jul 3, 2009 7:30 AM in response to: marcconeley
Re: Another SMSQL question regarding "retainsnapofsnapinfo".

1).  SQL2005, SMSQL5 & Snapdrive 6.02 - We also have SQL2000, SMSQL 2.1

and snapdrive 4.2.1

 

2).  Between 2 and 4 weeks.  We also have 2 years of snapvaults

 

3).  Yes it does go into the snapinfo and take filer storage

 

We use the SQL Agent to pass the command

C:\Program Files\NetApp\SnapManager for SQL Server\SmSqlBi.exe -H

"DMSQV01" -D 30 -L -J -K 30 -S "DMSQV01" -C 0 -N -UN -UM

 

every 15 minutes

 

Hope it helps

 

Bren

BrendonHiggins Guru 473 posts since
Mar 26, 2008
Currently Being Moderated
Jul 6, 2009 2:14 PM in response to: marcconeley
Re: Another SMSQL question regarding "retainsnapofsnapinfo".

Sorry

 

posted script from SQL2000 and SMSQL2.1

 

Will post correct version tomorrow.

 

Bren

BrendonHiggins Guru 473 posts since
Mar 26, 2008
Currently Being Moderated
Jul 17, 2009 5:16 AM in response to: marcconeley
Re: Another SMSQL question regarding "retainsnapofsnapinfo".

Sorry forgot all about it.  Wait one.

BrendonHiggins Guru 473 posts since
Mar 26, 2008
Currently Being Moderated
Jul 17, 2009 5:22 AM in response to: BrendonHiggins
Re: Another SMSQL question regarding "retainsnapofsnapinfo".

C:\Program Files\NetApp\SnapManager for SQL Server\SmsqlJobLauncher.exe new-backup  –svr 'S1SQV01'  -d  'S1SQV01', '19', 'master', 'model', 'msdb', 'SharedServices_DB', 'SharedServices_KC_DB', 'SharedServices_KC_Search_DB', 'SharedServices_Search_DB', 'SharePoint_AdminContent', 'SharePoint_AdminContent_5', 'SharePoint_Config', 'SharePoint_KC_Config', 'WSS_Content', 'WSS_Content_Fusion', 'WSS_Content_mySites', 'WSS_KC_Content_KMCentre', 'WSS_KC_Content_mySites', 'WSS_KC_Content_SSP1', 'WSS_KC_Search_SPKC01', 'WSS_Search_SPMOS01' -ver  –verInst 'S1SQN01' -mp  –mpdir 'C:\Program Files\NetApp\SnapManager for SQL Server\SnapMgrMountPoint' -RetainBackups  7 -lb -bksif -RetainSnapofSnapInfo 0 -trlog  -updmir  -verdest  –mgmt daily

 

From a Windows 2003 server running SQL 2005, snapdrive 6.02 and smsql 5.

BrendonHiggins Guru 473 posts since
Mar 26, 2008
Currently Being Moderated
Jul 17, 2009 7:40 AM in response to: marcconeley
Re: Another SMSQL question regarding "retainsnapofsnapinfo".

Full

 

Sorry did not re-read the thread.  Wait one

BrendonHiggins Guru 473 posts since
Mar 26, 2008
Currently Being Moderated
Jul 17, 2009 7:49 AM in response to: BrendonHiggins
Re: Another SMSQL question regarding "retainsnapofsnapinfo".

Sorry I only have the scripts for TL on the older SMSQL versions.  I guess this is a new issue I will also have to resolve, as we are going to upgrade some more servers next month.

 

Good luck and please post back when you have the answer.  As I will need it.  ;-)

 

Bren

More Like This

  • Retrieving data ...

Bookmarked By (0)