I m trying to make backup. i have master password and i double confirm master password from its main configuration file at /etc/openerp-server.conf . Its centos 6.5 final.
When i Try to make backup from its Backup function in "Manage Databases". it shows popup message "Access Denied".
I also try to make backup via command line. here is the output result i got.
bash-4.1$ pg_dump -f database1.tar -F tar -O database1
could not change directory to "/root"
pg_dump: [tar archiver] could not open TOC file "database1.tar" for output: Permission denied
OPenerp verision: openerp-7.0-latest
EDIT: 4 - SEP - 2014, After helping suggestion i got actual error.
pg_dump: server version: 9.2.9; pg_dump version: 8.4.20
pg_dump: aborting because of server version mismatch
How can i fix this issue ?
ANy help appreciated.
Just ran into this same issue. For me, the answer was to chown the owner of the backup destination directory to the PostgreSQL user and group, in my case 'postgres:postgres'.
$> sudo chown -R postgres:postgres /Postres/Odoo/Backups/Directory/
Once that was in place, backups completed successfully.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 9/3/14, 9:47 AM|
|Seen: 8309 times|
|Last updated: 6/1/16, 6:32 AM|