[5.0 ] document module lost link with backup

Asked by Nhomar - Vauxoo

replicate..:

Make a backup.

-- pg_dump NAMEBD > origin.bkp

Create a new Db.

-- createdb -O openerp -E UTF8 -T template0 newbd

Load bkp.

-- psql -f origin.bkp -d newbd

Until this all fine.

Go in to BD and try to explore files using FTP.
Document Management > "Browse Files Using FTP"

Directory is there.

Try to explore... "Nothing, directory empty...." it is fine i didn't make any backup o !bin/filestore!

Go to filesystem, and copy your original "NAMEBD" folder to newbd.... Nothing, all link was lost.....

2 option IMHO:

-- I made incorrectly the backup! [No more documentation available.] I can hear advise!
-- The document module has not consider backup procedure.....

Thanks folks.

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
Nhomar - Vauxoo
Solved:
Last query:
Last reply:

This question was originally filed as bug #686824.

Revision history for this message
Nhomar - Vauxoo (nhomar) said :
#1

I love when I'm wrong.

Document module is fine.

Only for records.

You must after load the backup, make a -u all -d newdb all links are reload.

The problem is when the filesystem needs to be rebuild..... this is other problem.

Revision history for this message
Nhomar - Vauxoo (nhomar) said :
#2

The problem was with one more step.

Revision history for this message
Nhomar - Vauxoo (nhomar) said :
#3

Solved