Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Bricoleur
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

how to configure Odoo 8.0 for automatic backup including filestore

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
backup
10 Réponses
10271 Vues
Avatar
Garth Mathers

I need some advice on how to configure Odoo 8.0 for automatic backup.

From what I’m reading online, it appears that this version of Odoo now needs both a pg_dump backup and a filestore backup (and the Manage Databases option in the log in dialog automatically puts both in a .dump file).

How can I automate this and schedule it to happen once or twice a day? The script examples I’m seeing online appear to only deal with the pg_dump part of the backup – not the filestore portion.

Another possibility I have noticed would be to implement this change http://anybox.fr/blog/postgresql-large-object-storage-for-odoo so that the large objects just get stored in the pg database and I can then just use the pg_dump scripts method without worrying about a separate filestore.

0
Avatar
Ignorer
Garth Mathers
Auteur

Thank you for your answer. Sorry i don't have enough karma yet to mark it as answered.....

Pascal Tremblay

If you are un Ubuntu, I can put all my script here for you. Just ask it. Have a good day.

Pascal Tremblay

If you are on Ubuntu, I can put all my script here for you. Just ask it. Have a good day.

Garth Mathers
Auteur

Please do, Pascal - i would really appreciate it. I'm surprise that Odoo doesn't have automatic backup builtin consider how important it is....

Pascal Tremblay

I will publish my scripts in an other post. Did you try http://24.226.196.31:8069/web/database/manager ??? You can backup there. But it is not automatic.

Pascal Tremblay

https://www.odoo.com/forum/help-1/question/how-to-script-database-backup-on-ubuntu-70165

Avatar
George Mengelberg
Meilleure réponse

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.

1
Avatar
Ignorer
Benjamin

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

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

Avatar
Benjamin
Meilleure réponse

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 192.168.1.17/mnt/freenas/odoo.

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.    

0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Database backup error: Postgres subprocess ('/usr/bin/pg_dump', '--no-owner', '--file=/tmp/tmpAa0O5Q/dump.sql', u'ahlain_db01') error 1 Résolu
backup
Avatar
Avatar
Avatar
Avatar
Avatar
9
juil. 25
67787
how to backup ? Résolu
backup
Avatar
Avatar
Avatar
Avatar
Avatar
9
juil. 24
104521
Backup Odoo 12 database using Ubuntu command line
backup
Avatar
Avatar
1
juil. 22
5940
how to backup a saas database and restore on a local server Résolu
backup
Avatar
Avatar
Avatar
Avatar
Avatar
12
juin 24
23294
i can't delete
backup
Avatar
0
avr. 22
50
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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