Skip to Content
Menu
This question has been flagged
3258 Views

i want to take backup of odoo database i write following code but nor my folder is created or backup is executed please guide me in above issue.Thanks in advance.


#!/bin/bash

# vars
BACKUP_DIR=~/odoo_backups
ODOO_DATABASE=crm
ADMIN_PASSWORD=

# create a backup directory
mkdir -p bkup

# create a backup
curl -X POST \
-F "master_pwd=$ root" \
-F "name=${crm}" \
-F "backup_format=zip" \
-o bkup.date + %F.zip \
http://localhost:8069/web/database/backup

crontab -e 



Avatar
Discard
odoo 11

On Thu, Aug 8, 2019 at 1:39 PM Saloua.sahnoune <saloua.sahnoune@emploitic.com> wrote:

what version of odoo are you using?

Envoyé par Odoo S.A. using Odoo.

Author
is it any free app available for this ?  you have no free to download debranding app for odoo 13 or 14 

On Wed, Mar 3, 2021 at 11:50 AM Hilar Andikkadavath <hilarak@gmail.com> wrote:

you can backup Odoo using this module.

\https://apps.odoo.com/apps/modules/14.0/auto_backup_odoo/


Sent by Odoo S.A. using Odoo.