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

Setting up automatic backups for OpenERP 7

Subscribe

Get notified when there's activity on this post

This question has been flagged
windowsautomatedbackup
1 Reply
10390 Views
Avatar
Laurens

I am very interested in setting up an automatic backup, so I don't have to manually backup the database multiple times a day. After taking a look at this and this post, I'm not sure whether I can use such a solution on my platform. I am using Windows Server 2003 to host my OpenERP package, can I make use of crontab as explained by Arif in the second post?

I never did something like this before, so any information given on this topic would be very much appreciated. I love using and learning from OpenERP, but it's not easy to do so when nearly all information seems to be written specifically for Linux.

1
Avatar
Discard
Avatar
Brett Lehrer
Best Answer

This is something you'd want to read through. http://wiki.postgresql.org/wiki/Automated_Backup_on_Windows

At any rate, I'd still suggest at least running a virtual machine with Ubuntu (or whatever other *nix distro you'd prefer otherwise) to host OpenERP on, rather than directly on Windows. The performance gain even in that scenario is worth looking into, and the support is much better. OpenERP is written on and for Linux, just ported to Windows.

3
Avatar
Discard
Laurens
Author

Thank you, Brett. This information is exactly what I was looking for!

I am aware hosting the server on a linux machine will boost the performance and loading times. I'll look into a guide to facilitate such a transition a little later, right now I'm cautious (read: afraid) of losing any data of our production database or creating too much down-time during the execution. I guess I'm still a newbie compared to some posters here, but I'm learning a lot each day.

Either way I greatly appreciate you taking the time to supply me this information. Thanks again, Brett. :)

Mike Lindsay

The nifty thing about OpenERP's data management, take a backup of your database on your Windows box, then restore that backup to your Linux box. You can leave your windows box running until your 100% satisfied with your linux box, then just repeat the procedure when your ready to go live.

KOMIT COMPANY LIMITED, Jean-Charles Drubay

Hi, for a full backup, you should backup: - Database - Source code - Attached files: this is true in the case you decided to store documents outside of the database

Gopal Patel

@Jean I thought openerp saves everything in database ?

Brett Lehrer

You can choose to store binaries/files outside of the database. The database record would still be there, but the binary field would be left empty.

Nadeem Ahmed

Thanks Brett, thats what I was looking for. For me I have no experience on Linux and trouble is I have plenty of other software which runs only on windows and that need a backup too.

Sheilon Wunder

Dear Brett, I too am running OpenERP in Windows Server 2003. However, I was not able to follow the steps to create a backup. I ran into all sorts of issues including error messages that indicated me not being able to communicate to DB Template1. Hence, I tried to use pg_dumpall.exe from the command line. This also caused issues as I don't know what would be all the parameters. Shouldn't I try to backup as the superuser? If so what is the user name? Could you please help?

Gilles Lehoux

If you've installed a module manually, by copying it to an addons folder, then be careful to copy that module before attempting to restore your database or else...

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
Related Posts Replies Views Activity
Automated Backup -- for Odoo to Synology
automated synology backup
Avatar
Avatar
2
Nov 19
6104
auto backup windows
windows backup pysftp
Avatar
Avatar
1
Jul 17
6969
Migrated odoo to the new laptop and the CRM app is not working anymore (UncaughtPromiseError > TypeError)
windows crm migration backup
Avatar
0
May 23
2168
Trying to automatically update analytic distribution in purchase order Solved
automated
Avatar
Avatar
Avatar
3
Jun 25
3559
Database backup error: Postgres subprocess ('/usr/bin/pg_dump', '--no-owner', '--file=/tmp/tmpAa0O5Q/dump.sql', u'ahlain_db01') error 1 Solved
backup
Avatar
Avatar
Avatar
Avatar
Avatar
9
Jul 25
67161
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