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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for odoo-database-backup-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f668777feb718bb1030d171feca268f4a27de5c264dcf38d0993afb9fda0375 |
|
MD5 | 7a39b9ae38d8aaaec6492a4c8ae142ac |
|
BLAKE2b-256 | f31dd6914bfeb7bac65b49532d9f464ed106ce3e435ddd1a7db19f741bf10eae |
Hashes for odoo_database_backup-1.0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3542599ad4aeaa25e347f886a2f247b554c19d7c94c2dccdcaafc590223b346b |
|
MD5 | de0c2a1414f23e2ce2fc60b4ab57b746 |
|
BLAKE2b-256 | 8eb8e640b204df8829ab800af7f5e79eeeb2cd3a3741855b49b3c846b0540b40 |