﻿<?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</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 26 Apr 2026 10:26:31 GMT</lastBuildDate><ttl>20</ttl><item><title>Backuping Up and Restoring SQL Server with SMO</title><link>http://forum.strataframe.net/FindPost15065.aspx</link><description>There have been some inquiries as to how to backup and restore SQL Server databases through an application in the field.&amp;nbsp; The best approach that we have learned for creating a reusable backup solution is to use SMO.&amp;nbsp; 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.&amp;nbsp; 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>