01-08-2013 05:39 AM
Hi there,
I have a question, my backupjob should truncate teh sql log from the database. Should i use the sql option "log" or diffrent. I think right is the log option but i am not sure.
thank you
01-08-2013 05:54 AM
You should use Log method to have the logs truncated. Only the data contained in transaction logs will be backedup and logs will be truncated once done.
01-08-2013 05:56 AM
ok, so i have all two hours a sql backup job with the option diffrent, in the evening i have a seperate job with full and after this job is complete i have a backup job with log ?. T
hank you
01-08-2013 06:23 AM
I think it is opposite...
See the note present in the screenshot!
01-08-2013 06:55 AM
01-08-2013 09:44 AM
Hi, take a look at this document that explains the methods for backing up SQL databases. http://www.symantec.com/business/support/index?page=content&id=HOWTO73852#v53937423
do
1. Full 2. Daily Differential 3.after the Differential do a Incremental Log Backup
01-08-2013 05:56 PM
SQL transaction logs are used to do point-in-time restores. Normally, once you have done either a full or incremental backup, the transaction logs are of not much use. There is no fixed interval whereby you need to truncate the logs, but you must truncate the logs. Otherwise they will grow until your disk is full.
A database backup will not truncate the logs. You must run a log backup job with the truncate log option to truncate the logs.
For me, I schedule a log backup after my full backup so that the logs are truncate after each full backup. I don't do incremental database backups, but if I do, I would also schedule a log backup after each incremental backup.