1.0.5 • Published 3 years ago
odoo-backup v1.0.5
Installation
With yarn
yarn global add odoo-backup
With npm
npm i -g odoo-backup
Usage
You need to set the following enviroment variables before running odoo-backup.
Variable | Description | Example |
---|---|---|
ODOO_BACKUP_DIR | Directory where the backups will be saved | ~/backups |
ODOO_URL | The odoo instance URL | http://localhost/ |
ODOO_DATABASE_NAME | The odoo database name | odoo |
ODOO_ADMIN_PASSWORD | The odoo master password | odoo |
ODOO_DRIVE_DIR | Google drive directory where the backups will be saved | /backups |
Then run:
odoo-backup