How to restart an interrupted backup operation (Transact-SQL)

To restart an interrupted backup operation

Examples

This example restarts an interrupted database backup operation.

-- Create a database backup of the MyNwind database

BACKUP DATABASE MyNwind

    TO MyNwind_1

-- The backup operation halts due to power outage.

-- Repeat the original BACKUP statement specifying WITH RESTART

BACKUP DATABASE MyNwind

    TO MyNwind_1

    WITH RESTART

  

See Also
BACKUP Creating and Restoring a Database Backup

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.