You are here: Retain/expiration inside a backup device. « MsSQL Server « IT news, forums, messages
Retain/expiration inside a backup device.

Posted by David Gray on 04/10/07 13:33

Hi,

SQL Server 2005 Standard (X64) edition.

Have a database which has its log backed up every hour during the
normal business day and each evening a full backup is performed.

After two days we would like the the log backups to be automatically
overwritten in the backup device [WebAdmin], is this possible?

This is the command being used.

BACKUP LOG [WebAdmin] TO [WebAdmin]
WITH RETAINDAYS = 2,
NOFORMAT,
NOINIT,
NAME = N'WebAdmin',
SKIP,
NOREWIND,
NOUNLOAD



Currently the backup device has log backups going back to 18/02/2007
which is position number 1 in the device. Basically nothing is being
overwritten.

Thanks in advance.
Dave

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация