Hello,
I had the problem with the database backup on Ubuntu 9.10 I becam a backup file with size 0, but as described I created a .pgpass file on /home/openerp and not on my user account and now it works.
The next problem is after restore this database under another new database name, I receive the error message:
Quote:
Access denied!
You can not connect to the system!
Ask the administrator to check
that your user has a defined action
In the postgres log file there are following error entries:
Quote:
2010-02-12 10:14:14 CET FATAL: the database « test » don't exist.
2010-02-12 10:14:22 CET ERROR: a value NULL violates the constraint NOT NULL of the column « name »
2010-02-12 10:14:22 CET CONTEXTE : COPY ir_act_window, ligne 174 : « 243 \N ir.actions.act_window \N \N account.analytic.line form [('account_id','child_of',[active_id])... »
2010-02-12 10:14:22 CET INSTRUCTION : COPY ir_act_window (id, name, type, usage, view_id, res_model, view_type, domain, create_uid, create_date, write_date, write_uid, auto_refresh, view_mode, target, src_model, "limit", context) FROM stdin;
2010-02-12 10:14:28 CET ERROR: an instruction insert ou update on the table « ir_act_window_view » violates the contraint foreign key
« ir_act_window_view_act_window_id_fkey »
2010-02-12 10:14:28 CET DÉTAIL: The key (act_window_id)=(13) is not present on the table « ir_act_window ».
All tables are succesfully created, I see this on the postgres log file and with the tool pgadmin3.
Somebody has an idea how can I restablish a restore database?
Regards
red