Douglas, aquele problema foi resolvido. Obrigado.
Meu drama agora é conseguir fazer o backup e a restauração do alfresco 5.0.a
O que tenho:
1) Máquina física com o alfresco instalado: 1 hd para o linux e 2 para o alfresco (estes 2 fazendo raid).
Instalei o pgAdminIII para o backup do postgres.
Consigo fazer o backup.
Mas não consigo restaurar.
Dá este erro:
pg_restore: setting owner and privileges for FK CONSTRAINT fk_tskctrl_deleg
pg_restore: setting owner and privileges for FK CONSTRAINT fk_tskdef_start
pg_restore: setting owner and privileges for FK CONSTRAINT fk_tskins_prcins
pg_restore: setting owner and privileges for FK CONSTRAINT fk_var_tskinst
pg_restore: setting owner and privileges for FK CONSTRAINT fk_varacc_procst
pg_restore: setting owner and privileges for FK CONSTRAINT fk_varacc_script
pg_restore: setting owner and privileges for FK CONSTRAINT fk_varacc_tskctrl
pg_restore: setting owner and privileges for FK CONSTRAINT fk_varinst_prcinst
pg_restore: setting owner and privileges for FK CONSTRAINT fk_varinst_tk
pg_restore: setting owner and privileges for FK CONSTRAINT fk_varinst_tkvarmp
pg_restore: setting owner and privileges for DEFAULT ACL DEFAULT PRIVILEGES FOR TABLES
pg_restore: [archiver (db)] Error from TOC entry 2031; 826 27749 DEFAULT ACL DEFAULT PRIVILEGES FOR TABLES postgres
pg_restore: [archiver (db)] could not execute query: ERROR: must be member of role "postgres"
Command was: ALTER DEFAULT PRIVILEGES FOR ROLE postgres REVOKE ALL ON TABLES FROM PUBLIC;
ALTER DEFAULT PRIVILEGES FOR ROLE postgres REV…
WARNING: errors ignored on restore: 732
Process returned exit code 1.
Montei uma máquina virtual, para testar o backup da máquina da produção com restauração nesta máquina virtual: também dá erro.
Douglas, usei os comandos pg_dump e psql -l , para backup e restore pela linha de comando e também dá erro…
Se souber como faço o backup e o restaure, me dá um help …por favor !!!
rss
Abraços!