Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
kish
Starting Member
45 Posts |
Posted - 2004-03-25 : 08:30:10
|
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
15732 Posts |
Posted - 2004-03-25 : 08:33:50
|
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. |
|
|
MuadDBA
628 Posts |
Posted - 2004-03-25 : 11:22:51
|
If you create multiple backup devices on different drives, you can backup to more than one device and gain the benefits of striping. |
|
|
kish
Starting Member
45 Posts |
Posted - 2004-03-26 : 01:58:12
|
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 |
|
|
meenu_sow
Starting Member
5 Posts |
Posted - 2004-03-26 : 02:59:17
|
DeviceBackup database pubs to [Device1],[Device2]Restore database pubs from [Device1],[Device2]DiskBackup database pubs to disk ='c:\sa1.bak',disk='D:\sa2.bak'Backup database pubs from disk ='c:\sa1.bak',disk='D:\sa2.bak'Meenakshi |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2004-03-28 : 12:07:34
|
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! |
|
|
LearningSQLDBA
Starting Member
10 Posts |
Posted - 2004-03-28 : 20:37:04
|
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 |
|
|
|
|
|
|
|