Skip to content

ghy-x64/bash-backup-odoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

bash-backup-odoo

  • This script backups odoo database, modules folder, /var/lib/odoo folder.
  • It protects database file with a password using 7zip package by recompressing it with a password.
  • Transfer backups to a remote FTP server.
  • Remove local backups.
  • Variables to update:
FTP_SERVER=XXX.XXX.XXX.XXX
FTP_USER=username
FTP_PASSWORD="ftp_password"
ADMIN_PASSWORD="admin_db_password"
FILE_PASSWORD="zip_password"
BCK_FOLDER=/odoo/backups
LOG=/root/backup.log