<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: SQL Server 2005 Compressed Backup</title>
	<atom:link href="http://clay.lenharts.net/blog/2008/06/14/sql-server-2005-compressed-backup/feed/" rel="self" type="application/rss+xml" />
	<link>http://clay.lenharts.net/blog/2008/06/14/sql-server-2005-compressed-backup/</link>
	<description>A blog on .Net and SQL Server</description>
	<lastBuildDate>Sun, 05 Sep 2010 06:31:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kumar</title>
		<link>http://clay.lenharts.net/blog/2008/06/14/sql-server-2005-compressed-backup/comment-page-2/#comment-15509</link>
		<dc:creator>Kumar</dc:creator>
		<pubDate>Thu, 02 Sep 2010 04:54:15 +0000</pubDate>
		<guid isPermaLink="false">http://clay.lenharts.net/blog/?p=37#comment-15509</guid>
		<description>declare @res varchar(2000)  
set @res=&#039;D:\dump\msbp\MSSQLCompressedBackup-1.2-20100117_x64\msbp.exe restore &quot;local(path=D:\dump\_1_testdb.bak.zip)&quot; &quot;zip64&quot; &quot;db(database=testdb;instancename=INST01;replace=yes;KEEP_REPLICATION;filegroup=primary;MOVE=&#039;&#039;testdb&#039;&#039;TO&#039;&#039;D:\MSSQL\data\testdb.mdf&#039;&#039;;MOVE=&#039;&#039;testdb_log&#039;&#039;TO&#039;&#039;E:\MSSQL\Tranlogs\testdb_log.ldf&#039;&#039;;)&quot;&#039;
print @res
exec master..xp_cmdshell @res</description>
		<content:encoded><![CDATA[<p>declare @res varchar(2000)<br />
set @res=&#8217;D:\dump\msbp\MSSQLCompressedBackup-1.2-20100117_x64\msbp.exe restore &#8220;local(path=D:\dump\_1_testdb.bak.zip)&#8221; &#8220;zip64&#8243; &#8220;db(database=testdb;instancename=INST01;replace=yes;KEEP_REPLICATION;filegroup=primary;MOVE=&#8221;testdb&#8221;TO&#8221;D:\MSSQL\data\testdb.mdf&#8221;;MOVE=&#8221;testdb_log&#8221;TO&#8221;E:\MSSQL\Tranlogs\testdb_log.ldf&#8221;;)&#8221;&#8216;<br />
print @res<br />
exec master..xp_cmdshell @res</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kumar</title>
		<link>http://clay.lenharts.net/blog/2008/06/14/sql-server-2005-compressed-backup/comment-page-2/#comment-15508</link>
		<dc:creator>Kumar</dc:creator>
		<pubDate>Thu, 02 Sep 2010 04:52:13 +0000</pubDate>
		<guid isPermaLink="false">http://clay.lenharts.net/blog/?p=37#comment-15508</guid>
		<description>Hi Clay,
KEEP_REPLICATION option is not working using msbp. , if I create a dummy database ,and restore with KEEP_REPLICATION using msbp , “The backup set holds a backup of a database other than the existing &#039;Adventureworks&#039; database.” Error . I have rowguid columns populated in the database.
If I create a dummy database , and use native back up with keep_replication I am getting rowGUID values after restore 
Thanks</description>
		<content:encoded><![CDATA[<p>Hi Clay,<br />
KEEP_REPLICATION option is not working using msbp. , if I create a dummy database ,and restore with KEEP_REPLICATION using msbp , “The backup set holds a backup of a database other than the existing &#8216;Adventureworks&#8217; database.” Error . I have rowguid columns populated in the database.<br />
If I create a dummy database , and use native back up with keep_replication I am getting rowGUID values after restore<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clay Lenhart</title>
		<link>http://clay.lenharts.net/blog/2008/06/14/sql-server-2005-compressed-backup/comment-page-2/#comment-15482</link>
		<dc:creator>Clay Lenhart</dc:creator>
		<pubDate>Thu, 05 Aug 2010 13:56:28 +0000</pubDate>
		<guid isPermaLink="false">http://clay.lenharts.net/blog/?p=37#comment-15482</guid>
		<description>Kamazi,
Unfortunately this scenario was not considered.  The utility creates new files each time.
-Clay</description>
		<content:encoded><![CDATA[<p>Kamazi,<br />
Unfortunately this scenario was not considered.  The utility creates new files each time.<br />
-Clay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kamazi</title>
		<link>http://clay.lenharts.net/blog/2008/06/14/sql-server-2005-compressed-backup/comment-page-2/#comment-15481</link>
		<dc:creator>Kamazi</dc:creator>
		<pubDate>Thu, 05 Aug 2010 13:11:28 +0000</pubDate>
		<guid isPermaLink="false">http://clay.lenharts.net/blog/?p=37#comment-15481</guid>
		<description>Hi Clay,

could you help me - I have a problem using the utility. I should place two bases in a zip-archive as a result. Вut only one base appeares in the zip-file though 7-zip allows to attach the second base. Does the utility allow to do this? I  could not find any mention of this in the manual.

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi Clay,</p>
<p>could you help me &#8211; I have a problem using the utility. I should place two bases in a zip-archive as a result. Вut only one base appeares in the zip-file though 7-zip allows to attach the second base. Does the utility allow to do this? I  could not find any mention of this in the manual.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mehul</title>
		<link>http://clay.lenharts.net/blog/2008/06/14/sql-server-2005-compressed-backup/comment-page-2/#comment-15457</link>
		<dc:creator>Mehul</dc:creator>
		<pubDate>Thu, 01 Jul 2010 13:32:32 +0000</pubDate>
		<guid isPermaLink="false">http://clay.lenharts.net/blog/?p=37#comment-15457</guid>
		<description>Hi Clay,

While running the utility, it always shows GMT timings. I am running this in IST timings. But it always shows 5:30 Hrs back from IST timings.

Any clue to fix this ?

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi Clay,</p>
<p>While running the utility, it always shows GMT timings. I am running this in IST timings. But it always shows 5:30 Hrs back from IST timings.</p>
<p>Any clue to fix this ?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clay Lenhart</title>
		<link>http://clay.lenharts.net/blog/2008/06/14/sql-server-2005-compressed-backup/comment-page-2/#comment-15438</link>
		<dc:creator>Clay Lenhart</dc:creator>
		<pubDate>Thu, 20 May 2010 16:44:12 +0000</pubDate>
		<guid isPermaLink="false">http://clay.lenharts.net/blog/?p=37#comment-15438</guid>
		<description>There are actually two connections to SQL Server. The second one is via a DLL, and it has to be the currently running user. </description>
		<content:encoded><![CDATA[<p>There are actually two connections to SQL Server. The second one is via a DLL, and it has to be the currently running user.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mehul</title>
		<link>http://clay.lenharts.net/blog/2008/06/14/sql-server-2005-compressed-backup/comment-page-2/#comment-15437</link>
		<dc:creator>Mehul</dc:creator>
		<pubDate>Thu, 20 May 2010 10:57:22 +0000</pubDate>
		<guid isPermaLink="false">http://clay.lenharts.net/blog/?p=37#comment-15437</guid>
		<description>A small query. We dont have any provision to provide user &amp; password to connect to SQL Server while running the msbp utility. 
Whenever we run this utility, it is running with local system credentials.

any alternate to this ?

Thanks.</description>
		<content:encoded><![CDATA[<p>A small query. We dont have any provision to provide user &amp; password to connect to SQL Server while running the msbp utility.<br />
Whenever we run this utility, it is running with local system credentials.</p>
<p>any alternate to this ?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clay Lenhart</title>
		<link>http://clay.lenharts.net/blog/2008/06/14/sql-server-2005-compressed-backup/comment-page-2/#comment-15435</link>
		<dc:creator>Clay Lenhart</dc:creator>
		<pubDate>Fri, 07 May 2010 19:34:18 +0000</pubDate>
		<guid isPermaLink="false">http://clay.lenharts.net/blog/?p=37#comment-15435</guid>
		<description>Only with duck tape. ;)

Not pretty, but you could write a program to copy msbp.exe and dependencies to the database server, then run it remotely using schtask.exe (http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/schtasks.mspx?mfr=true).  That is, you can use schtask.exe to run the program on another machine.</description>
		<content:encoded><![CDATA[<p>Only with duck tape. <img src='http://clay.lenharts.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Not pretty, but you could write a program to copy msbp.exe and dependencies to the database server, then run it remotely using schtask.exe (<a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/schtasks.mspx?mfr=true" rel="nofollow">http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/schtasks.mspx?mfr=true</a>).  That is, you can use schtask.exe to run the program on another machine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mehul</title>
		<link>http://clay.lenharts.net/blog/2008/06/14/sql-server-2005-compressed-backup/comment-page-2/#comment-15432</link>
		<dc:creator>Mehul</dc:creator>
		<pubDate>Thu, 06 May 2010 23:42:55 +0000</pubDate>
		<guid isPermaLink="false">http://clay.lenharts.net/blog/?p=37#comment-15432</guid>
		<description>Thanks Clay.

I want to run msbp.exe on a central server to get the database backed up from all other SQL Server machines. Like client server architecture.

any clue to achieve that target ?

Thanks.</description>
		<content:encoded><![CDATA[<p>Thanks Clay.</p>
<p>I want to run msbp.exe on a central server to get the database backed up from all other SQL Server machines. Like client server architecture.</p>
<p>any clue to achieve that target ?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clay Lenhart</title>
		<link>http://clay.lenharts.net/blog/2008/06/14/sql-server-2005-compressed-backup/comment-page-2/#comment-15431</link>
		<dc:creator>Clay Lenhart</dc:creator>
		<pubDate>Thu, 06 May 2010 22:10:13 +0000</pubDate>
		<guid isPermaLink="false">http://clay.lenharts.net/blog/?p=37#comment-15431</guid>
		<description>Mehul, The code needs to use a DLL which is on the server.  Perhaps one day this applicaiton would be split so that some code runs on the server and some code runs on a remote client).

You can, however, run msbp.exe on the server and write to a network share.  I believe the command would be something like:

msbp.exe backup &quot;db(database=model)&quot; &quot;local(path=\\\\server\share\model.bak)&quot; 

That is, &quot;\\&quot; needs to be &quot;\\\\&quot;.</description>
		<content:encoded><![CDATA[<p>Mehul, The code needs to use a DLL which is on the server.  Perhaps one day this applicaiton would be split so that some code runs on the server and some code runs on a remote client).</p>
<p>You can, however, run msbp.exe on the server and write to a network share.  I believe the command would be something like:</p>
<p>msbp.exe backup &#8220;db(database=model)&#8221; &#8220;local(path=\\\\server\share\model.bak)&#8221; </p>
<p>That is, &#8220;\\&#8221; needs to be &#8220;\\\\&#8221;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
