Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

[Public release] Automated backup module

Naroči se

Get notified when there's activity on this post

This question has been flagged
backupdumpautomatizeodoo8.0dumps
1 Odgovori
7639 Prikazi
Avatar
Yenthe Van Ginneken (Mainframe Monkey)

Hi guys,

Is there any tool available that automatically takes backups from my Odoo databases?
I'd like to automate this and keep my back-ups both locally and external on an FTP server.

Thanks,
Yenthe 

1
Avatar
Opusti
Avatar
Yenthe Van Ginneken (Mainframe Monkey)
Avtor Best Answer

Since a while I've been search for a back-up tool but didn't find what I wanted so I decided to build my own module. I've started from the Odoo V6.0 module and then started expanding it.

Where can I find it?

You can download it from the Odoo app store or from Github.

What does this module support?

  • Automated backups on your own server.

  • Choose when and how often the backups should be taken.

  • Automatically creates the directories you specify (note: directly under / is not permitted, so this is the only exception. If the first level folder exists my module can create the rest - if the user you authenticate with has enough system rights.)

  • Automatically removes old backups when they are older than you've specified.

  • Connection support to any FTP server that has SSH enabled.

  • Automatically create the directories on the FTP. (note: directly under / is not permitted, so this is the only exception. If the first level folder exists my module can create the rest - if the user you authenticate with has enough system rights.)

  • Automated backups on the FTP server.

  • Automatically removes old backups when they are older than you've specified.

  • Option to keep external backups longer then local ones, or the other way around.

  • Automatically e-mail when there is a connection or writing failure to the FTP. (Provided you have e-mail servers configured and have this option checked)

  • Fully translated in English, Dutch, Chinese and German.

  • ...

How should I install this?

  1. Download the module.

  2. Place it under ../addons/

  3. Install pysftp. This lib is needed to have access to an external FTP server. Open an Ubuntu terminal and run the command sudo pip install pysftp to install the lib.

  4. Update your modules (Settings > Update Modules List)

  5. Search for the module ("Database Auto-Backup") and install it.

  6. Configure the details as you wish under Settings > Configure Backup. Be sure to test the FTP connection!

  7. Go to Settings > Automation > Scheduled Actions and open the record "Backup scheduler". Set it to active and specify how often you want the back-ups to be taken.

  8. Profit! :)

Alternatively you can read a full tutorial here: http://www.odoo.yenthevg.com/automated-backups-in-odoo/

5
Avatar
Opusti
Luke Branch

@Yenthe,

Awesome work, thanks!

Yenthe Van Ginneken (Mainframe Monkey)
Avtor

@Luke, No problem! You're always free to give feedback or leave thoughts here about the module too :) Have you implemented it on yours?

TidyWay

Yenthe!! Its really awesome!!

Yenthe Van Ginneken (Mainframe Monkey)
Avtor

Thanks Tidy, great to hear that! :) Have you managed to get it working at your side? I'd love some feedback about this. & if you really like it, an upvote is always welcome if you feel it is justified!

Luke Branch

@Yenthe,

I've just implemented this on a development instance, it looks like a lot of work has gone into this. This looks like it's going to be a valuable part of every Odoo instance I work on. Thanks!

I'll comment back here once i've had more time to work with the module.

PY

Great job Yenthe ! I have a personal hacky script for this sort of thing, but never tried to build a module for this. I will definitely test yours when I have more time.

Yenthe Van Ginneken (Mainframe Monkey)
Avtor

@Luke thanks, thats great to hear! Keep me updated about your experiences. :) @PY: Thanks! Time for you to switch from buggy to my module then, one thing less to worry about. Let me know how it goes.

Ermin Trevisan

You are the man :-)

Mario Gielissen

Maybe you can add an option for backup the Odoo filestore?

Yenthe Van Ginneken (Mainframe Monkey)
Avtor

@Mario the module creates a .dump which both contains an sql file to restore the db and folder with your filestore, so both are included! :) @Ermin: thanks!

Arafat Ali

This is the best module so far from the Odoo boss.

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

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Automated backups
backup dump
Avatar
Avatar
Avatar
2
dec. 24
2124
When using backup script, I get an error Solved
backup odoo8.0
Avatar
Avatar
2
jun. 16
4057
Odoo 8 How backup .dump
backup dump
Avatar
Avatar
2
mar. 15
11278
[odoo14]Database backup error: Command `pg_dump` not found.
databases backup dump
Avatar
5
okt. 20
9396
Back up or Failover feature for Odoo 8.0
failover backup odoo8.0
Avatar
0
maj 19
2894
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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