Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

odoo community 15 manual backup

Subscribe

Get notified when there's activity on this post

This question has been flagged
1 Reply
4065 Views
Avatar
Danny Santiago

I am running Odoo 15.0-20220902 (Community Edition) on a TrueNAS-SCALE-22.12.0 installation using truecharts https://truecharts.org/charts/stable/odoo 


I am having a problem where odoo is running inside a Kubernetes environment and I cannot edit the /etc/odoo/odoo.conf file to adjust the default 


limit_time_cpu = 60

limit_time_real = 120


Because of this I am getting issues trying to make a system backup using the /web/database/manager portal.  The process times out and my backups are irregular sizes and fail to complete leaving the zip file in an error state where trying to open causes an “unexpected end of file” error.


I am curious if I can make a manual backup.  I know there needs to be an _manifest_.py, datastore, and pg_dump in the zip file.  The DB backup works as it is a small db and site.  The datastore pod I can mount and copy the data out manually.  I do not know where the _manifest_.py file is located though so I am not sure how to get it.  Would this process of manually zipping all the data even work? 


I am moving from community to enterprise since I cannot run the upgrade script in the Kubernetes environment I was hoping I could get a backup out of this environment and then install odoo 15 community onto a windows server and load the backup in, then process the upgrade.  Once complete I would take a backup and load that into the odoo.sh environment and redirect traffic up after testing. 


Any advice or help is greatly appreciated. 



0
Avatar
Discard
Avatar
Mahmoud El Bouyahyaoui
Best Answer

It sounds like you are running into some limitations with your current setup, where you are unable to edit the odoo.conf file and adjust the limit_time_cpu and limit_time_real settings. This is causing issues with making backups using the /web/database/manager portal.

To make a manual backup, you would need to have all the necessary components, as you mentioned: the manifest.py file, the datastore, and the pg_dump.

The manifest.py file is typically located in the odoo installation directory, such as /usr/lib/python3/dist-packages/odoo or /usr/lib/python3.8/site-packages/odoo. However, since you are running Odoo inside a Kubernetes environment, it may be located in a different location. You can check the deployment yaml file to see where the odoo image is being pulled from, and check the location of the manifest.py file in that image.

Regarding the datastore, you can mount the datastore pod and copy the data out manually. And for pg_dump, you can use the pg_dump command to backup the odoo postgresql database.

As for moving from community to enterprise, it might be possible to achieve that by following the steps you've described, but it will depend on the specifics of your setup. You can try following these steps, but it's worth noting that it's not a straightforward process, as you'll need to carefully test and troubleshoot along the way to make sure that everything is working correctly.

It's also worth mentioning that there is a Odoo enterprise version available on the truecharts website, you can check if that version can be used on your TrueNAS-SCALE-22.12.0 installation, it could save you some troubles.

It's always a good idea to make sure you have a good backup of your data, before attempting any major changes, so that you can restore your system if something goes wrong.

1
Avatar
Discard
Danny Santiago
Author

Thank you that helped a lot!
I was able to make the config file static by adding the storage /etc/odoo as a host path storage in the app settings and then make the file with nano and then add what I needed. I still ended up needing the manual backup and your direction here really helped!

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now