Unsolved

This post is more than 5 years old

2 Posts

535

November 26th, 2014 05:00

How to backup sql logs and truncate them?

does any one know how to backup SQL logs and truncate them after backup finishes?

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

November 26th, 2014 06:00

Truncating backups is not recommended by MS any longer after backups.  What you have is rotation of space in log file after TLOG backup run so with good enough frequency you should never get in position to truncate them.

2 Posts

November 26th, 2014 06:00

and what should i do to get point in time restore??

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

November 26th, 2014 07:00

Browse to point to which you wish to restore.  If using GUI, you will get list of TLOGs and you pick up the one you need.  If using CLI, use -t for it.  If you wish to trim log outside NW, you can do it, but this is manual action and you must run DB full backup after that.

0 events found

No Events found!

Top