I tend to use the custom foment mentioned here <a href="http://www.postgresql.org/docs/8.4/interactive/backup-dump.html#BACKUP-DUMP-LARGE">http://www.postgresql.org/docs/8.4/interactive/backup-dump.html#BACKUP-DUMP-LARGE</a><br>
but its not bad to do a dump all because the standard pg_dump does not back up the database user names and passwords<br><br>in general though its a good idea to read the full doc <a href="http://www.postgresql.org/docs/8.4/interactive/backup.html">http://www.postgresql.org/docs/8.4/interactive/backup.html</a> so you can find the right solution for you.<br>
<br>Also its important to read the documents for your version the links I included are for 8.4 but some of the options changed in 9.x such as the warm standby and the addition of the hot standby. I usually read the version with comments because there usually aren't too many if any and they tend to be helpful.<br>
<br>Finally If your not too familiar with how PostgreSQL works I highly suggest you read about vacuuming and analyzing <a href="http://www.postgresql.org/docs/8.4/interactive/maintenance.html">http://www.postgresql.org/docs/8.4/interactive/maintenance.html</a> this section is critical for long term performance especially if you are using the monitoring. one thing to note while auto vacuum helps reduce how often you need to do some of these things its not a full replacement for scheduling the tasks manually especially if there a lot of constant table updates which is the case if you have the monitoring feature turned on.<br>
I usually do a nightly standard non blocking vacuum analyze nightly and a full vacuum analyze weakly and and reindex every couple of months for good measure. but you will need to tune that based on you're environment there is always a bit of trial and error invloved in getting it right.<br>
<br>Im going to start putting the first presentation together over the next month or so. ive already got a location and an artist to help me make the slides more interesting. Im going to wait on scheduleing and sending out the announcement though I have every thing ready for the presentation.<br>
<br><br><div class="gmail_quote">On Tue, Sep 18, 2012 at 10:15 AM, Boyd, Robert <span dir="ltr"><<a href="mailto:Robert.Boyd@peoplefluent.com" target="_blank">Robert.Boyd@peoplefluent.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thank you for your reply.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">The idea of a video of your lectures sounds perfect.   You could post the handouts to a website and put a link in the description/comments posted with the video.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">So, in the pgsql documentation I will find clear easy to follow instructions on how to make regular backups of the spacewalk database?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thank you,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Robert<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.com</a> [mailto:<a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.com</a>] <b>On Behalf Of </b>Paul Robert Marino<br>
<b>Sent:</b> Friday, September 14, 2012 4:06 PM<br><b>To:</b> <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a><br><b>Subject:</b> Re: [Spacewalk-list] PostGreSQL Maintenance Guidelines for Spacewalk<u></u><u></u></span></p>
</div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p>Well you can find that scattered all over the web but. The best place is postgresqls documentation its self.<br>That being said I'm considering doing a series of lectures starting with initial basic configuration and maitnence then eventialy doing one on streaming replication, possibly even one covering some more advanced stuff like plsql and plperl. If I do would it be helpfull to video tape the lectures and put them on youtube or simmilar streaming video site.  My only problem with youtube is I can't attache the handouts directly to the video which is the only reason I would consider putting it somwhere else.<u></u><u></u></p>
<div><p class="MsoNormal">On Sep 14, 2012 2:29 PM, "Boyd, Robert" <<a href="mailto:Robert.Boyd@peoplefluent.com" target="_blank">Robert.Boyd@peoplefluent.com</a>> wrote:<u></u><u></u></p><div><div><p class="MsoNormal">
Since I’m not an experienced PostGreSQL admin, where can I find guidelines, scripts, etc for doing routine maintenance tasks like DB backups, storage tuning, etc like there is for the users who have Oracle as their back end?  <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal" style="line-height:11.25pt"><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif""><br><b>Robert Boyd</b><br>Senior Systems Engineer<br>
Phone: <a href="tel:919-645-2972" target="_blank">919-645-2972</a></span><u></u><u></u></p><p class="MsoNormal" style="line-height:11.25pt"><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif"">Mobile: <a href="tel:919-306-4681" target="_blank">919-306-4681</a></span><u></u><u></u></p>
<p class="MsoNormal" style="line-height:11.25pt"><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif"">Peoplefluent</span><u></u><u></u></p><p class="MsoNormal" style="line-height:11.25pt">
<span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif"">434 Fayetteville Street </span><u></u><u></u></p><p class="MsoNormal" style="line-height:11.25pt"><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif"">Raleigh, NC  27601</span><u></u><u></u></p>
<p class="MsoNormal" style="line-height:11.25pt"><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif""><br><a href="mailto:michael.dileonardo@peoplefluent.com" target="_blank">robert.boyd@peoplefluent.com</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial Narrow","sans-serif";color:#1f497d"> </span><u></u><u></u></p><table cellpadding="0" cellspacing="8" border="0"><tbody><tr><td style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><img src="cid:image001.png@01CD9586.910B0FF0" alt="Description: Description: Description: cid:image001.png@01CC344B.23823870" height="65" width="179" border="0"><u></u><u></u></p></td><td style="padding:0in 0in 0in 0in">
<p class="MsoNormal" style="line-height:11.25pt"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif""> </span><u></u><u></u></p></td></tr></tbody></table><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial Narrow","sans-serif";color:#333333">This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p></div></div><p class="MsoNormal"><br>_______________________________________________<br>Spacewalk-list mailing list<br><a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><u></u><u></u></p></div></div></div></div></div><br>_______________________________________________<br>

Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br>