﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / Updates and Information / Samples and Solutions  / Backuping Up and Restoring SQL Server with SMO / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Thu, 24 Jul 2008 20:12:25 GMT</lastBuildDate><ttl>20</ttl><item><title>Backuping Up and Restoring SQL Server with SMO</title><link>http://forum.strataframe.net/Topic15065-17-1.aspx</link><description>There have been some inquiries as to how to backup and restore SQL Server databases through an application in the field.  The best approach that we have learned for creating a reusable backup solution is to use SMO.  We have a service that runs within our medical application that automatically backs up the end-users database to a different file name each night...since they don't always do this themselves :D&lt;/P&gt;&lt;P&gt;You can modify this logic to backup and restore individual file groups.  But this sample will at least get you started and shows how to backup and restore a single database using SMO.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; You may need to adjust the output folder path and the server settings in order to get this sample to work for you.</description><pubDate>Thu, 20 Mar 2008 10:41:20 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>