I'll check the flags latter but yes pgdump is the right tool.<br>It can be done live thanks to PostgreSQLs MVCC but you may experience brief pauses to any operations that request a exclusive table lock on a table currently being backed up.<br><br>Also you may want to consider using an external PostgreSQL 9.x database for streaming replication. In 9.2 you can do cascading streaming replication which allows you to use pgpool as a proxy the connections, pool the connection (many to one connection), loadballance the reads, and automate your failover and live recovery of a cluster of 3 or more if 2 of them have quorum.<br>The one bathing about using 9.x is you need to recreate the links to the default PostgreSQL jdbc driver to the one for 9.x or you will run into errors.<br><br><span style="font-family:Prelude, Verdana, san-serif;"><br><br></span><span id="signature"><div style="font-family: arial, sans-serif; font-size: 12px;color: #999999;">-- Sent from my HP Pre3</div><br></span><span style="color:navy; font-family:Prelude, Verdana, san-serif; "><hr align="left" style="width:75%">On Mar 21, 2013 3:35 AM, Pierre Casenove <pcasenove@gmail.com> wrote: <br><br></span><div dir="ltr">Hello,<div>On the wiki, the following guide gives directions to backup oracle-xe:</div><div><a href="https://fedorahosted.org/spacewalk/wiki/SpacewalkBackup">https://fedorahosted.org/spacewalk/wiki/SpacewalkBackup</a><br>
</div><div><br></div><div style>I'm using, postgresql 8.4, and currently, I'm backing up the application using pg_dump command, to backup spacewalk database and postgres database.</div><div style>pg_dump spaceschema -Fc -f /data/backup/spaceschema.dmp</div>
<div style>pg_dump postgres -Fc -f /data/backup/postgres.dmp<br></div><div style><br></div><div style>Is it sufficient to recover the database in case of a crash?</div><div style>Can the pg_dump be run with spacewalk running, or does it have to be a cold backup?</div>
<div style><br></div><div style>Thanks in advance,</div><div style><br></div><div style>Pierre</div></div>