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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2

File details

Details for the file odoo-database-backup-1.0.1.tar.gz.

File metadata

  • Download URL: odoo-database-backup-1.0.1.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for odoo-database-backup-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4f668777feb718bb1030d171feca268f4a27de5c264dcf38d0993afb9fda0375
MD5 7a39b9ae38d8aaaec6492a4c8ae142ac
BLAKE2b-256 f31dd6914bfeb7bac65b49532d9f464ed106ce3e435ddd1a7db19f741bf10eae

See more details on using hashes here.

File details

Details for the file odoo_database_backup-1.0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for odoo_database_backup-1.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 3542599ad4aeaa25e347f886a2f247b554c19d7c94c2dccdcaafc590223b346b
MD5 de0c2a1414f23e2ce2fc60b4ab57b746
BLAKE2b-256 8eb8e640b204df8829ab800af7f5e79eeeb2cd3a3741855b49b3c846b0540b40

See more details on using hashes here.

Supported by

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