Odoo Help


10 Answers
George Mengelberg United States
12/5/14, 11:48 PM

You can use Barman (http://www.pgbarman.org/) to provide continuous backup with PITR capability.  For filestore you could use rsync.

I would not recommed putting binary objects in the database.  It makes backups much larger, recover to take longer, and negatively affect DB performance.

Benjamin United States
5/12/16, 1:47 PM

Hi George, i am new to servers in general and how much more so to odoo. when you say filestore use rsync, how do i do that? where are the files located? where is the database located? I have a freenas on my network that i want to use to backup the databse and filestore!

George Mengelberg United States
5/12/16, 7:56 PM

Hi Benjamin, Check your configuration file (https://goo.gl/s2iBvS) to see if the 'data_dir' directive is set. If so, this will be the root of where your files are stored. Otherwise, on linux it will be in your home directory under '.local'. There is a directory for each database and within each will be a 'filestore' directory The attachments are stored there. For the database, you can run 'pg_config' or 'pg_conftool show all' to get a good picture of your PostgreSQL installation. Here are some links for you: Barman: http://www.pgbarman.org/ Duply (uses rsync): https://goo.gl/gO3VLi Filestore info: https://goo.gl/2ydDm4

Benjamin United States
5/16/16, 2:10 PM

thank you for your help on this.

can i please ask you for a favor, i now have my folder with the filestores in them.  what is the rsync code to rsync them to a local freenas on my network at

also is there a way to use barman on freenas?  or whats the test way to backup postgres sql to freenas on my network?

also i need some custom work done in odoo, do you offer such services?  if yes can you please give me your email so we can chat more there.

  thank you again for everything.    

Ask a Question
Keep Informed
3 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now