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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Backup Striping

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.
Go to Top of Page

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.
Go to Top of Page

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
Go to Top of Page

meenu_sow
Starting Member

5 Posts

Posted - 2004-03-26 : 02:59:17
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

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!
Go to Top of Page

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

Go to Top of Page
   

- Advertisement -