DATETIME SELECT SELECT INTO DATE PAD STRING DYNAMIC SQL CURSOR MONEY FORMAT PERCENT STORED PROCEDURE SQL SERVER AGENT JOB OPTIMIZATION WHILE LOOP OVER PARTITION BY UPDATE
 
 
SITE SEARCH SQLUSA.com VIDEOS
 
 
SQL E/BOOKS   WORLD, USA & SQL NEWS   FORMAT
SCRIPTS SQL 2005 SQL 2008 ARTICLES
How to backup a terrabyte database to tape?

Assume a huge one terrabyte database or several databases adding up to one terrabyte. With today's (2005) technology, it takes around 20 hours to back it up to tape. To speed it up, one would have to configure more tape drives. Multiple backup devices e.g. \\.\TAPE0, \\.\TAPE1, \\.\TAPE2, \\.\TAPE3 and \\.\TAPE4, work in parallel thus reducing backup time to 4 hours in this example.

-- SQL Server create 2 database backups on different tape drives for redundancy
-- Compiled on SQL Server 2008

BACKUP DATABASE FINANCE

TO TAPE = '\\.\TAPE0'

MIRROR TO TAPE = '\\.\TAPE1'

WITH    FORMAT,    MEDIANAME = 'FinanceTPBK'


Exam Prep 70-461
SQL 2016 DESIGN & PROGRAMMING
 
 
 
DATETIME SELECT SELECT INTO DATE PAD STRING DYNAMIC SQL CURSOR MONEY FORMAT PERCENT STORED PROCEDURE SQL SERVER AGENT JOB OPTIMIZATION WHILE LOOP OVER PARTITION BY UPDATE