<?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: Expecting a more complete backup</title>
	<atom:link href="http://nsrd.info/blog/2009/03/30/expecting-a-more-complete-backup/feed/" rel="self" type="application/rss+xml" />
	<link>http://nsrd.info/blog/2009/03/30/expecting-a-more-complete-backup/</link>
	<description>EMC NetWorker commentary from a long term backup consultant and theorist</description>
	<lastBuildDate>Mon, 14 May 2012 03:13:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: How much aren&#8217;t you backing up? &#171; NetWorker Blog</title>
		<link>http://nsrd.info/blog/2009/03/30/expecting-a-more-complete-backup/comment-page-1/#comment-151</link>
		<dc:creator>How much aren&#8217;t you backing up? &#171; NetWorker Blog</dc:creator>
		<pubDate>Mon, 05 Oct 2009 03:18:24 +0000</pubDate>
		<guid isPermaLink="false">http://nsrd.wordpress.com/?p=264#comment-151</guid>
		<description>[...] a datacentre &#8211; PABXs, switch configurations, etc. (Though in a well run backup environment, there&#8217;s no reason why you can&#8217;t configure scripts that, as part of the backup process, logs onto such devices and retrieves the configuration, [...]</description>
		<content:encoded><![CDATA[<p>[...] a datacentre &#8211; PABXs, switch configurations, etc. (Though in a well run backup environment, there&#8217;s no reason why you can&#8217;t configure scripts that, as part of the backup process, logs onto such devices and retrieves the configuration, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Preston</title>
		<link>http://nsrd.info/blog/2009/03/30/expecting-a-more-complete-backup/comment-page-1/#comment-150</link>
		<dc:creator>Preston</dc:creator>
		<pubDate>Sat, 18 Apr 2009 07:30:49 +0000</pubDate>
		<guid isPermaLink="false">http://nsrd.wordpress.com/?p=264#comment-150</guid>
		<description>Unfortunately PostgreSQL administration isn&#039;t my strong point – I know enough to allow for what I need to do, but past that unless I actually need to solve a particular problem myself I tend not to have a lot of exposure to the administration side of it. My guess would be that you still need to configure the user for encrypted access as well, as per the &quot;alter user&quot; command:

template1=# \help alter user;
Command:     ALTER USER
Description: change a database role
Syntax:
ALTER USER name [ [ WITH ] option [ ... ] ]

where option can be:

      SUPERUSER &#124; NOSUPERUSER
    &#124; CREATEDB &#124; NOCREATEDB
    &#124; CREATEROLE &#124; NOCREATEROLE
    &#124; CREATEUSER &#124; NOCREATEUSER
    &#124; INHERIT &#124; NOINHERIT
    &#124; LOGIN &#124; NOLOGIN
    &#124; CONNECTION LIMIT connlimit
    &#124; [ ENCRYPTED &#124; UNENCRYPTED ] PASSWORD &#039;password&#039;
    &#124; VALID UNTIL &#039;timestamp&#039;

After that though if that doesn&#039;t work I&#039;d suggest you touch base with members of the PostgreSQL administration community...</description>
		<content:encoded><![CDATA[<p>Unfortunately PostgreSQL administration isn&#8217;t my strong point – I know enough to allow for what I need to do, but past that unless I actually need to solve a particular problem myself I tend not to have a lot of exposure to the administration side of it. My guess would be that you still need to configure the user for encrypted access as well, as per the &#8220;alter user&#8221; command:</p>
<p>template1=# \help alter user;<br />
Command:     ALTER USER<br />
Description: change a database role<br />
Syntax:<br />
ALTER USER name [ [ WITH ] option [ ... ] ]</p>
<p>where option can be:</p>
<p>      SUPERUSER | NOSUPERUSER<br />
    | CREATEDB | NOCREATEDB<br />
    | CREATEROLE | NOCREATEROLE<br />
    | CREATEUSER | NOCREATEUSER<br />
    | INHERIT | NOINHERIT<br />
    | LOGIN | NOLOGIN<br />
    | CONNECTION LIMIT connlimit<br />
    | [ ENCRYPTED | UNENCRYPTED ] PASSWORD &#8216;password&#8217;<br />
    | VALID UNTIL &#8216;timestamp&#8217;</p>
<p>After that though if that doesn&#8217;t work I&#8217;d suggest you touch base with members of the PostgreSQL administration community&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SathiyaMoorthy</title>
		<link>http://nsrd.info/blog/2009/03/30/expecting-a-more-complete-backup/comment-page-1/#comment-149</link>
		<dc:creator>SathiyaMoorthy</dc:creator>
		<pubDate>Sat, 18 Apr 2009 07:17:40 +0000</pubDate>
		<guid isPermaLink="false">http://nsrd.wordpress.com/?p=264#comment-149</guid>
		<description>Thanks for the answer. But after doing the specified change too i don&#039;t get the correct result.

I changed the access method as &#039;md5&#039; and restarted the postgresql service. And now executed the expect script, again in the postgresql log, the same error &#039; Authentication failure &#039;.

Misc:
1. I can login to the psql prompt by providing the normal password only !
2. If so, How does the pg_dump knows whether the user is giving normal password or an encrypted password.
3. What is the identification does the pg_dump has to identify whether the password is being supplied is md5 or normal ...</description>
		<content:encoded><![CDATA[<p>Thanks for the answer. But after doing the specified change too i don&#8217;t get the correct result.</p>
<p>I changed the access method as &#8216;md5&#8242; and restarted the postgresql service. And now executed the expect script, again in the postgresql log, the same error &#8216; Authentication failure &#8216;.</p>
<p>Misc:<br />
1. I can login to the psql prompt by providing the normal password only !<br />
2. If so, How does the pg_dump knows whether the user is giving normal password or an encrypted password.<br />
3. What is the identification does the pg_dump has to identify whether the password is being supplied is md5 or normal &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Preston</title>
		<link>http://nsrd.info/blog/2009/03/30/expecting-a-more-complete-backup/comment-page-1/#comment-148</link>
		<dc:creator>Preston</dc:creator>
		<pubDate>Fri, 17 Apr 2009 11:36:46 +0000</pubDate>
		<guid isPermaLink="false">http://nsrd.wordpress.com/?p=264#comment-148</guid>
		<description>That would seem to me to indicate that either the account you&#039;re using is configured with an unencrypted password, or the database itself that you&#039;re trying to backup doesn&#039;t have md5sum authentication enabled. For instance, you might want to check the pg_hba.conf file to make sure that the access method is &#039;md5&#039;, though that will obviously affect how other user accounts can then access the database, without additional tweaking. (E.g., if all users currently access via the &#039;password&#039; method, you might set the backup user to instead access via the &#039;md5&#039; method.)</description>
		<content:encoded><![CDATA[<p>That would seem to me to indicate that either the account you&#8217;re using is configured with an unencrypted password, or the database itself that you&#8217;re trying to backup doesn&#8217;t have md5sum authentication enabled. For instance, you might want to check the pg_hba.conf file to make sure that the access method is &#8216;md5&#8242;, though that will obviously affect how other user accounts can then access the database, without additional tweaking. (E.g., if all users currently access via the &#8216;password&#8217; method, you might set the backup user to instead access via the &#8216;md5&#8242; method.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SathiyaMoorthy</title>
		<link>http://nsrd.info/blog/2009/03/30/expecting-a-more-complete-backup/comment-page-1/#comment-147</link>
		<dc:creator>SathiyaMoorthy</dc:creator>
		<pubDate>Fri, 17 Apr 2009 09:29:46 +0000</pubDate>
		<guid isPermaLink="false">http://nsrd.wordpress.com/?p=264#comment-147</guid>
		<description>I tried executing the pg_dump using expect.

When i give the password in &quot;send&quot; as plain text it dumps the given database correctly. But when i give the encrypted password, it does not dumps the database. And in log  &quot;Password authentication failure&quot; error is there. I encrypted the password using the md5sum command.

So how to send the encrypted password correctly to the pg_dump command ?</description>
		<content:encoded><![CDATA[<p>I tried executing the pg_dump using expect.</p>
<p>When i give the password in &#8220;send&#8221; as plain text it dumps the given database correctly. But when i give the encrypted password, it does not dumps the database. And in log  &#8220;Password authentication failure&#8221; error is there. I encrypted the password using the md5sum command.</p>
<p>So how to send the encrypted password correctly to the pg_dump command ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Preston</title>
		<link>http://nsrd.info/blog/2009/03/30/expecting-a-more-complete-backup/comment-page-1/#comment-146</link>
		<dc:creator>Preston</dc:creator>
		<pubDate>Wed, 01 Apr 2009 19:21:03 +0000</pubDate>
		<guid isPermaLink="false">http://nsrd.wordpress.com/?p=264#comment-146</guid>
		<description>That&#039;s a good example of where the &#039;adhoc&#039; nature of such backup decisions often fail; or if you want to be more generalised you could equally say that as soon as a person has to act to make the backup go ahead, you should assume a high failure rate – i.e., failure to automate means failure to backup.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a good example of where the &#8216;adhoc&#8217; nature of such backup decisions often fail; or if you want to be more generalised you could equally say that as soon as a person has to act to make the backup go ahead, you should assume a high failure rate – i.e., failure to automate means failure to backup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel King</title>
		<link>http://nsrd.info/blog/2009/03/30/expecting-a-more-complete-backup/comment-page-1/#comment-145</link>
		<dc:creator>Daniel King</dc:creator>
		<pubDate>Wed, 01 Apr 2009 13:15:13 +0000</pubDate>
		<guid isPermaLink="false">http://nsrd.wordpress.com/?p=264#comment-145</guid>
		<description>On the network/FC switch backup. They tend to be a &quot;set and forget&quot; config. We all hope that everyone has a change control process that will ensure the current config is saved (backed up) and then then new config is also saved. The later however always seems to get missed, since the change always seems to take place at 4am and that is the LAST thing on your mind at the time. Snuggles with your SO seem like a better choice ;)If they are awake.</description>
		<content:encoded><![CDATA[<p>On the network/FC switch backup. They tend to be a &#8220;set and forget&#8221; config. We all hope that everyone has a change control process that will ensure the current config is saved (backed up) and then then new config is also saved. The later however always seems to get missed, since the change always seems to take place at 4am and that is the LAST thing on your mind at the time. Snuggles with your SO seem like a better choice ;)If they are awake.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic

Served from: nsrd.info @ 2012-05-22 13:22:53 -->
