Re: automatic backup - Mailing list pgadmin-support
From | Jeferson Alberto Rodrigues |
---|---|
Subject | Re: automatic backup |
Date | |
Msg-id | f260eff9882137ddad6f1214105e7e5d@expresso.pr.gov.br Whole thread Raw |
In response to | automatic backup ("Jefferson Bonamim - Glan Data Sistemas" <jefferson@glandata.com.br>) |
List | pgadmin-support |
Fala xará! Como vai?<br /><br />Eu já fiz um esquema assim, para fazer backup de um determinado banco de dados, em Linux,utilizando o CRON, que não passa de um Agendador de Tarefas, assim como também tem no Windows.<br /><br />Pelo queeu vi, no Painel de Controle deve ter um ícone para o Agendador de Tarefas, e nele você adiciona uma tarefa nova, colocandoa seguinte linha de comando, por exemplo:<br /><br />C:\PostgreSQL\pg_dump -F p -d nome_bd -f arq_saida.sql<br /><br/>Como este é só um exemplo, não coloquei muitos parâmetros, mas o pg_dump tem vários. Uma documentação mais completavc encontra aqui:<br /><br />http://pgdocptbr.sourceforge.net/pg80/app-pgdump.html<br /><br />Uma dica bacana quevc pode utilizar também é gerar um dump através do PgAdmin3, e na tela de debug do dump, ele mostra a sintaxe que foiutilizada. Copia ela e cola na tarefa agendada. É bem mais fácil assim.<br /><br />Qualquer coisa estou a disposição.<br/><br />Att.<br /><br />Jeferson Rodrigues<br /><br />Em 19/11/2010 às 11:34 horas, "Jefferson Bonamim - GlanData Sistemas" <jefferson@glandata.com.br> escreveu:<blockquote style="border-left: 1px solid rgb(204, 204, 204);margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><span> <span background="cid:image004.gif@01CB87D7.CB926B00" bgcolor="white"lang="PT-BR" link="#6666FF" vlink="#339933"> <img class="shape" height="0" src="cid:2118tfih4obh" style="display:none; width: 0pt; height: 0pt;" v:="" v:shapes="_x0000_Mail" width="0" /><div class="Section1"><p class="MsoNormal"style="margin: 0px;"><span style="font-family: "Trebuchet MS","sans-serif"; color: windowtext;">Hello,</span><pclass="MsoNormal" style="margin: 0px;"><span lang="EN-US" style="font-family: "Trebuchet MS","sans-serif";color: windowtext;">My name is Jefferson and I am an user of Postgres.</span><p class="MsoNormal" style="margin:0px;"><span lang="EN-US" style="font-family: "Trebuchet MS","sans-serif"; color: windowtext;">I use the Postgresql8.0.15 for Windows in some clients and I have a question.</span><p class="MsoNormal" style="margin: 0px;"><spanlang="EN-US" style="font-family: "Trebuchet MS","sans-serif"; color: windowtext;">I needed to know how to configuratethe automatic backup on PG Admin 1.10.</span><p class="MsoNormal" style="margin: 0px;"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif"; color: windowtext;"> </span><p class="MsoNormal" style="margin: 0px;"><spanlang="EN-US" style="font-family: "Trebuchet MS","sans-serif"; color: windowtext;">I see the FAQ, but I dont understoodanything.</span><p class="MsoNormal" style="margin: 0px;"><span lang="EN-US" style="font-family: "Trebuchet MS","sans-serif";color: windowtext;">How do I configure this? </span><p class="MsoNormal" style="margin: 0px;"><span lang="EN-US"style="font-family: "Trebuchet MS","sans-serif"; color: windowtext;">Can you help me please?</span><p class="MsoNormal"style="margin: 0px;"><span lang="EN-US" style="font-family: "Trebuchet MS","sans-serif"; color: windowtext;"> </span><pclass="MsoNormal" style="margin: 0px;"><span lang="EN-US" style="font-family: "Trebuchet MS","sans-serif";color: windowtext;">Thanks, </span><p class="MsoNormal" style="margin: 0px;"><span lang="EN-US" style="font-family:"Trebuchet MS","sans-serif"; color: windowtext;">Jefferson.</span><p class="MsoNormal" style="margin:0px;"><span lang="EN-US" style="font-family: "Trebuchet MS","sans-serif"; color: windowtext;"> </span><p class="MsoNormal"style="margin: 0px;"><span lang="EN-US"> </span></div></span></span></blockquote>
pgadmin-support by date: