|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Today @ 6:38 PM
Points: 7,077,
Visits: 7,116
|
|
Interesting question.
Using .NET (Framework 2 or later) it can also be done using SMO, there are public functions to get and set the (default) backup directory. Documented for SQL 2005 at Settings.BackupDirectory Property.
Tom Que conclure à la fin de tous mes longs propos? C'est que les préjugés sont la raison des sots. (Voltaire, 1756)
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Tuesday, May 07, 2013 3:49 AM
Points: 383,
Visits: 199
|
|
I've just used the facets method with SSMS 2008 and SQL Server 2005. It is working! So you should give the points to the answer SSMS!
Greetings Christoph
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Tuesday, May 07, 2013 3:49 AM
Points: 383,
Visits: 199
|
|
Try it with SQL Server 2000! It's funny!
Cheers, Christoph
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Monday, May 13, 2013 9:07 AM
Points: 3,046,
Visits: 1,300
|
|
Thanks everyone for a lively discussion. I honestly thought this would be a nice uncontroversial question! Apart from it actually being incomplete (or incorrect, depending on your point of view), there are also issues with what the default location would actually be and so on.
Live and learn I suppose!
Duncan
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Yesterday @ 1:06 PM
Points: 469,
Visits: 192
|
|
Nice question and important to note that the default backup directory cannot be changed using SQL Management Studio but by modifying the registry in SQL Server 2005.
Thanks.
|
|
|
|