Their protestations are because you shouldn't constantly shrink the log if it's an appropriate size...growing and shrink the files will cause overhead and slow down your appWith that knowledgeBACKUP DATABASE [<db_Name>] TO DISK = N'<File_Path>\<Backup_Name>_Dyyyymmdd_THHMMSS.BAK' WITH NOFORMAT, NOINIT, NAME = N'<Backup Name>', SKIP, NOREWIND, NOUNLOAD, STATS = 10GOBACKUP LOG <dbname> WITH TRUNCATE_ONLYGOUSE [dba]GODBCC SHRINKDATABASE(N'<db_Name>' )GOUSE [dba]GODBCC SHRINKFILE (N'<db_Name>_Data' , 0, TRUNCATEONLY)GOUSE [dba]GODBCC SHRINKFILE (N'<db_Name>_Log' , 0, TRUNCATEONLY)GO
Brett8-)Hint: Want your questions answered fast? Follow the direction in this linkhttp://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspxAdd yourself!http://www.frappr.com/sqlteam