Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Clearing and Keeping the Log

$
0
0

Hi All
I am doing a program where at the end of everyday there is a backup.

BACKUP DATABASE [BASE] TO  DISK = @path 
WITH NOFORMAT, NOINIT,  NAME = N'BASE-Full Database Backup', SKIP, NOREWIND, NOUNLOAD,  STATS = 10

I am wondering if it is correct or advised that I clear the log before that backup is run. Mainly because if I need to restore I do so and point to the database. Is there an instance where I will need the log between these points?


Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>