Fernando, pelo que entendi vc esta fazendo o backup físico com o banco em funcionamento.....
Veja o que copiei do link que vc mesmo mandou : 1. The database server *must* be shut down in order to get a usable backup. Half-way measures such as disallowing all connections will *not* work (mainly because tar and similar tools do not take an atomic snapshot of the state of the file system at a point in time). Information about stopping the server can be found in Section 16.5<http://www.postgresql.org/docs/8.1/static/postmaster-shutdown.html>. Needless to say that you also need to shut down the server before restoring the data. Procure informações sobre o pg_start_backup e pg_stop_backup, e estude bem sobre este assunto, vc não vai se arrepender. Em 30 de novembro de 2010 16:26, Fernando Avena <[email protected]>escreveu: > vendo ai scripts, que pessoal comentou, textos e pra me livrar de > preocupação > > http://www.postgresql.org/docs/8.1/static/backup.html > http://www.postgresql.org/docs/8.1/static/backup-file.html > > usei o dumpall o físico tudo em .tar.bz2 (pensei em aplicar o lzma) > > e scp pra outra maquina. rsync + ssh. > > mas bem mando ai pois não usei este script e queria saber da opinião do > pessoal que já tem lida se isso seria bom. > > uso de dumpall ou as vezes separar o dados um dump de outras info sem > dados. > > pois se ficar legal...vou colocar pra rodar na madruga no micros. > > > > _______________________________________________ > pgbr-geral mailing list > [email protected] > https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral > >
_______________________________________________ pgbr-geral mailing list [email protected] https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
