<?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: COPY_ONLY backup option more obvious in SQL Server 2008	</title>
	<atom:link href="https://lobsterpot.com.au/blog/2008/06/20/copy-only-backup-option-more-obvious-in-sql-server-2008/feed/" rel="self" type="application/rss+xml" />
	<link>https://lobsterpot.com.au/blog/2008/06/20/copy-only-backup-option-more-obvious-in-sql-server-2008/</link>
	<description></description>
	<lastBuildDate>Sat, 04 Apr 2009 20:02:17 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: robfarley		</title>
		<link>https://lobsterpot.com.au/blog/2008/06/20/copy-only-backup-option-more-obvious-in-sql-server-2008/#comment-607</link>

		<dc:creator><![CDATA[robfarley]]></dc:creator>
		<pubDate>Sat, 04 Apr 2009 20:02:17 +0000</pubDate>
		<guid isPermaLink="false">/blogs/robfarley/archive/2008/06/20/copy-only-backup-option-more-obvious-in-sql-server-2008.aspx#comment-607</guid>

					<description><![CDATA[Adam,

Yes, this is a very valid way of doing it. One of the things I love about EXECUTE AS is being able to make stored procedures to do things that users wouldn&#039;t normally have access to.

Rob]]></description>
			<content:encoded><![CDATA[<p>Adam,</p>
<p>Yes, this is a very valid way of doing it. One of the things I love about EXECUTE AS is being able to make stored procedures to do things that users wouldn&#8217;t normally have access to.</p>
<p>Rob</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Adam		</title>
		<link>https://lobsterpot.com.au/blog/2008/06/20/copy-only-backup-option-more-obvious-in-sql-server-2008/#comment-606</link>

		<dc:creator><![CDATA[Adam]]></dc:creator>
		<pubDate>Sat, 04 Apr 2009 13:43:10 +0000</pubDate>
		<guid isPermaLink="false">/blogs/robfarley/archive/2008/06/20/copy-only-backup-option-more-obvious-in-sql-server-2008.aspx#comment-606</guid>

					<description><![CDATA[If you want to allow developers to make backups and you do not want to disrupt the restore sequence then you can do what I did.

Using copy_only:
Create a stored procedure and give execute permissions to the developer group. Next when you create the stored procedure include execute as self in the create script so the stored procedure can run backups. This way developers dont need sysadmin or db_backupoperator rights and can still run backups. I have the sproc outputting backups to a share that the developers have access to.]]></description>
			<content:encoded><![CDATA[<p>If you want to allow developers to make backups and you do not want to disrupt the restore sequence then you can do what I did.</p>
<p>Using copy_only:<br />
Create a stored procedure and give execute permissions to the developer group. Next when you create the stored procedure include execute as self in the create script so the stored procedure can run backups. This way developers dont need sysadmin or db_backupoperator rights and can still run backups. I have the sproc outputting backups to a share that the developers have access to.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: robfarley		</title>
		<link>https://lobsterpot.com.au/blog/2008/06/20/copy-only-backup-option-more-obvious-in-sql-server-2008/#comment-605</link>

		<dc:creator><![CDATA[robfarley]]></dc:creator>
		<pubDate>Wed, 25 Mar 2009 18:05:21 +0000</pubDate>
		<guid isPermaLink="false">/blogs/robfarley/archive/2008/06/20/copy-only-backup-option-more-obvious-in-sql-server-2008.aspx#comment-605</guid>

					<description><![CDATA[Hi Alex,

Ok, so put &quot;Junior DBA&quot; in there instead of &quot;Developer&quot;. I&#039;d expect that a junior DBA would at least have db_backupoperator rights.

The situation still applies. A backup which might seem safe can still wreck the restore sequence, but this can be avoided using COPY_ONLY.

Rob]]></description>
			<content:encoded><![CDATA[<p>Hi Alex,</p>
<p>Ok, so put &#8220;Junior DBA&#8221; in there instead of &#8220;Developer&#8221;. I&#8217;d expect that a junior DBA would at least have db_backupoperator rights.</p>
<p>The situation still applies. A backup which might seem safe can still wreck the restore sequence, but this can be avoided using COPY_ONLY.</p>
<p>Rob</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: alex hatcher		</title>
		<link>https://lobsterpot.com.au/blog/2008/06/20/copy-only-backup-option-more-obvious-in-sql-server-2008/#comment-604</link>

		<dc:creator><![CDATA[alex hatcher]]></dc:creator>
		<pubDate>Wed, 25 Mar 2009 11:00:59 +0000</pubDate>
		<guid isPermaLink="false">/blogs/robfarley/archive/2008/06/20/copy-only-backup-option-more-obvious-in-sql-server-2008.aspx#comment-604</guid>

					<description><![CDATA[nice story, but you got bigger problems than that.

BACKUP DATABASE and BACKUP LOG permissions default to members of the sysadmin fixed server role and the db_owner and db_backupoperator fixed database roles. 

So, you are okay with developers having SYSADMIN or db_owner of DBs in production?



]]></description>
			<content:encoded><![CDATA[<p>nice story, but you got bigger problems than that.</p>
<p>BACKUP DATABASE and BACKUP LOG permissions default to members of the sysadmin fixed server role and the db_owner and db_backupoperator fixed database roles. </p>
<p>So, you are okay with developers having SYSADMIN or db_owner of DBs in production?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rob Farley		</title>
		<link>https://lobsterpot.com.au/blog/2008/06/20/copy-only-backup-option-more-obvious-in-sql-server-2008/#comment-603</link>

		<dc:creator><![CDATA[Rob Farley]]></dc:creator>
		<pubDate>Mon, 23 Jun 2008 07:58:09 +0000</pubDate>
		<guid isPermaLink="false">/blogs/robfarley/archive/2008/06/20/copy-only-backup-option-more-obvious-in-sql-server-2008.aspx#comment-603</guid>

					<description><![CDATA[Yes, like I said:

&quot;It&#039;s not a new option (it just wasn&#039;t part of the dialog box)...&quot;

You need to put &quot;WITH COPY_ONLY&quot; on your backup.

Rob]]></description>
			<content:encoded><![CDATA[<p>Yes, like I said:</p>
<p>&#8220;It&#8217;s not a new option (it just wasn&#8217;t part of the dialog box)&#8230;&#8221;</p>
<p>You need to put &#8220;WITH COPY_ONLY&#8221; on your backup.</p>
<p>Rob</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: thommo		</title>
		<link>https://lobsterpot.com.au/blog/2008/06/20/copy-only-backup-option-more-obvious-in-sql-server-2008/#comment-602</link>

		<dc:creator><![CDATA[thommo]]></dc:creator>
		<pubDate>Mon, 23 Jun 2008 00:28:46 +0000</pubDate>
		<guid isPermaLink="false">/blogs/robfarley/archive/2008/06/20/copy-only-backup-option-more-obvious-in-sql-server-2008.aspx#comment-602</guid>

					<description><![CDATA[is there anyway of doing the copy only backup in SQL 2005 then?]]></description>
			<content:encoded><![CDATA[<p>is there anyway of doing the copy only backup in SQL 2005 then?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
