This question has been flagged
1 Reply
7303 Views

Odoo 10.0

Accidentally deleted FileStore folder, due to which all those saved filestore attachment-files got deleted.

Although I retriggered the generation of Less/JS related attachments, I was unable to do the same for the physical-files attached in MessageLog/Chatter. Such as saved Invoice-Reports.


Avatar
Discard
Best Answer

The only possible way to recover it for now, though it's a bit dirty and "hacky" is to restore your old backup provided it was taken from Odoo database manager.

1. Take the backup of the latest database

2. Drop the latest database, but make sure you have taken the backup first.

3. Restore your old backup that have the filestore

4. Drop the database from postgres SQL

5. Create the database back and restore the sql dump from the latest backup.

Avatar
Discard