tran log backups in SQL 7

  • How can I setup tran log backups in SQL 7 every 2 hours?

     

     

  • You can use a database maintenance plan or you can use a script to backup and schedule is for every two hours.

    Here is an example:

    Management-> Database Maintenance Plans-> New Maintenance Plan-> Choose the Database->

    Uncheck the backup and then check the transaction log.

    Click on the schedule button and then set it up to the time of your liking.

    Example 2:

    Do the following:

    Management-> SQL Server Agent-> Jobs-> New Job

    Create a job and include the following script in steps:

    BACKUP LOG MyNwind

    TO MyNwind_log2

    Create a schedule under schedules:

    Schedule the job at the appropriate time.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply