Saturday, February 25, 2012

MSSQL Server Backups

I would like to modify the amount of backups that the sql server keeps on
record. My reasoning is that I am trying to minimize the size of my full
backups. I was made aware that the server keeps a certain time period of
backups and that I could modify this and lessen the time period that it keeps
backups. I hope this makes sense. Thanks in advance.
hi,
cc.az wrote:
> I would like to modify the amount of backups that the sql server
> keeps on record. My reasoning is that I am trying to minimize the
> size of my full backups. I was made aware that the server keeps a
> certain time period of backups and that I could modify this and
> lessen the time period that it keeps backups. I hope this makes
> sense. Thanks in advance.
all the retaintion for backups can be set manually in the Backup
operation...
you can specify the
RETAINDAYS = 1 -- no of days
or
EXPIREDATE = N'2005/02/03' -- an actual date...
if those 2 settings are not provided, the default expiration is determined
by the media retention configuration setting of sp_configure..
http://msdn.microsoft.com/library/de...ba-bz_35ww.asp
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.10.0 - DbaMgr ver 0.56.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply

No comments:

Post a Comment