How can we help you today? How can we help you today?
Mindflux
Hello. Thank you for the answer, however that does not seem to have worked? SQL Backup log file 5.2.0.2824 10/8/2007 3:00:00 PM: Backing up DHL (transaction log) to: 10/8/2007 3:00:00 PM: C:\SQLBACKUP\Daily\TRN\DHL\LOG_(local)_DHL_20071008_150000.sqb 10/8/2007 3:00:00 PM: BACKUP LOG [DHL] TO DISK = 'C:\SQLBACKUP\Daily\TRN\<database>\<AUTO>.sqb' WITH NAME = '<AUTO>', DESCRIPTION = '<AUTO>', VERIFY, ERASEFILES = 4, COPYTO = 'E:\SQLBACKUP\Daily\TRN\<Database>\', FILEOPTIONS = 3, COMPRESSION = 1, THREADCOUNT = 3 10/8/2007 3:00:04 PM: Backup data size : 39.000 MB 10/8/2007 3:00:04 PM: Compressed data size: 6.294 MB 10/8/2007 3:00:04 PM: Compression rate : 83.86% Processed 3869 pages for database 'DHL', file 'DHL_Log' on file 1. BACKUP LOG successfully processed 3869 pages in 1.306 seconds (24.263 MB/sec). 10/8/2007 3:00:04 PM: 10/8/2007 3:00:04 PM: Validating files: 10/8/2007 3:00:04 PM: C:\SQLBACKUP\Daily\TRN\DHL\LOG_(local)_DHL_20071008_150000.sqb 10/8/2007 3:00:04 PM: 10/8/2007 3:00:04 PM: RESTORE VERIFYONLY FROM DISK = 'C:\SQLBACKUP\Daily\TRN\DHL\LOG_(local)_DHL_20071008_150000.sqb' The backup set is valid. 10/8/2007 3:00:07 PM: Copied C:\SQLBACKUP\Daily\TRN\DHL\LOG_(local)_DHL_20071008_150000.sqb to E:\SQLBACKUP\Daily\TRN\DHL\LOG_(local)_DHL_20071008_150000.sqb. 10/8/2007 3:00:07 PM: SQL Backup process ended. 10/8/2007 3:00:07 PM: Deleted msdb entries older than 8/9/2007 3:00:07 PM 10/8/2007 3:00:07 PM: Deleted local history entries older than 8/9/2007 3:00:07 PM I have backups from 10/3/07 still in my copyto folder, which is older than 4 days old (which is what my ERASEFILES) is set to. / comments
Hello. Thank you for the answer, however that does not seem to have worked?SQL Backup log file 5.2.0.2824 10/8/2007 3:00:00 PM: Backing up DHL (transaction log) to: 10/8/2007 3:00:00 PM: ...
0 votes
Ah yes. Forgive me, it's early morning here yet. I had my truncate and shrink mixed up. Thanks again for the help. The backup test I did last night took a less than a third of the time the SQLEM backup took, so this is promising. The only thing I cannot seem to do with the GUI scheduling is use the 'copyto' function, I can use mirror.. but that will not allow me to copy to another attached drive (backup) on the system. can this only be done with the dos command or the stored procedure? Jason Cook wrote: Truncating the log / "Remove inactive entries from transaction log" will indeed remove the inactive entries, but it will not shrink the file size down. If you want to physically shrink the size of the file(s) there are two options, one shrinks a single file (e.g. the log file), one shrinks all of the files in a database: DBCC SHRINKDATABASE (http://msdn2.microsoft.com/en-us/library/ms190488.aspx) DBCC SHRINKFILE (http://msdn2.microsoft.com/en-us/library/ms189493.aspx) Due to the nature of the command, the CPU usage and I/O load can be noticable for a sustained period of time (which depends on the size of the files in question), so should only be executed during a period of low utilisation. Hope that helps, Jason / comments
Ah yes. Forgive me, it's early morning here yet. I had my truncate and shrink mixed up. Thanks again for the help. The backup test I did last night took a less than a third of the time the SQLEM...
0 votes