Skip to main content

This Python package designed to simplify and automate the process of backing up Odoo databases and filestores. With this package, you can easily create database backups, compress filestores, and transfer the backups to remote servers via SFTP.

Project description

This Python tool makes it easy to back up Odoo databases and filestores. It helps create database backups, compress file stores, and send backups to remote servers using SFTP.

Once you install it, you'll find a configuration file in the /etc directory.(/etc/db_backup.json) You just need to edit this file and add your login details.

sample file

{
  "db_name": "Odoo Database Name",
  "db_user": "Odoo Database User Name",
  "db_password": "Database Password",
  "db_host": "localhost",
  "filestore_path": "~/.local/share/Odoo/filestore",
  "sftp_host": "SFTP server IP address or domain name",
  "sftp_port": 22,
  "sftp_username": "SFTP User Name",
  "sftp_password": "SFTP Password",
  "sftp_directory": "~/Videos/odoo_backup/"
}

here you need to change the values of db_name, db_user, db_password, db_host, filestore_path, sftp_host, sftp_port, sftp_username, sftp_password, sftp_directory.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odoo-database-backup-1.0.1.tar.gz (1.7 kB view hashes)

Uploaded Source

Built Distribution

odoo_database_backup-1.0.1-py2-none-any.whl (2.0 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page