Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

[Public release] Automated backup module

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
backupdumpautomatizeodoo8.0dumps
1 Rispondi
7622 Visualizzazioni
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
Abbandona
Avatar
Yenthe Van Ginneken (Mainframe Monkey)
Autore Risposta migliore

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
Abbandona
Luke Branch

@Yenthe,

Awesome work, thanks!

Yenthe Van Ginneken (Mainframe Monkey)
Autore

@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)
Autore

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)
Autore

@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)
Autore

@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.

Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Automated backups
backup dump
Avatar
Avatar
Avatar
2
dic 24
2117
When using backup script, I get an error Risolto
backup odoo8.0
Avatar
Avatar
2
giu 16
4043
Odoo 8 How backup .dump
backup dump
Avatar
Avatar
2
mar 15
11261
[odoo14]Database backup error: Command `pg_dump` not found.
databases backup dump
Avatar
5
ott 20
9385
Back up or Failover feature for Odoo 8.0
failover backup odoo8.0
Avatar
0
mag 19
2885
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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