SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Backup Striping
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kish
Starting Member

45 Posts

Posted - 03/25/2004 :  08:30:10  Show Profile  Reply with Quote
Hi,

Can we stripe backups so that they can span multiple drives.

For instance:

Backup of a database on C:\ and D:\.

Pls. help.


robvolk
Most Valuable Yak

USA
15655 Posts

Posted - 03/25/2004 :  08:33:50  Show Profile  Visit robvolk's Homepage  Reply with Quote
You can backup a database to any local hard drive or accessible UNC path. If the drive volume you're backing up to is striped, then you'll get the benefits, but the backup file itself can only reside on one logical file.
Go to Top of Page

MuadDBA
Aged Yak Warrior

USA
628 Posts

Posted - 03/25/2004 :  11:22:51  Show Profile  Reply with Quote
If you create multiple backup devices on different drives, you can backup to more than one device and gain the benefits of striping.
Go to Top of Page

kish
Starting Member

45 Posts

Posted - 03/26/2004 :  01:58:12  Show Profile  Reply with Quote
I am still not getting the exact way.
I have 2 backup devices :

Deviceone (C:\)
Devicetwo (D:\)

Now i want ot backup database pubs to both these devices by using striping..so what will be the t-sql syntax for it.

Pls. assist
Go to Top of Page

meenu_sow
Starting Member

India
5 Posts

Posted - 03/26/2004 :  02:59:17  Show Profile  Reply with Quote
Device
Backup database pubs to [Device1],[Device2]
Restore database pubs from [Device1],[Device2]

Disk
Backup database pubs to disk ='c:\sa1.bak',disk='D:\sa2.bak'
Backup database pubs from disk ='c:\sa1.bak',disk='D:\sa2.bak'

Meenakshi
Go to Top of Page

robvolk
Most Valuable Yak

USA
15655 Posts

Posted - 03/28/2004 :  12:07:34  Show Profile  Visit robvolk's Homepage  Reply with Quote
quote:
Originally posted by crazyjoe

If you create multiple backup devices on different drives, you can backup to more than one device and gain the benefits of striping.
Damn, I did not know that. That's pretty damn handy. Thanks Joe!
Go to Top of Page

LearningSQLDBA
Starting Member

USA
10 Posts

Posted - 03/28/2004 :  20:37:04  Show Profile  Visit LearningSQLDBA's Homepage  Reply with Quote
Please take this with a grain of salt. I think I read somewhere, that in general, you should avoid disk striping backups where SQL Server is confined to the use of a single processor.

This may have something to do with a possible performance decrease due to excessive context switching when only a single processor is available for backup thread processing.

I believe if you can use disk striping for backups, you can decrease the amount of time it takes to perform a backup. This could be very important for large databases.

Anyone care to experiment?

LearningSQLDBA

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000