mirror of
https://github.com/YunoHost-Apps/libreerp_ynh.git
synced 2024-09-03 19:36:13 +02:00
[enh] Backup oca addons
This commit is contained in:
parent
76a2f2bd3d
commit
9a008bbd67
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ define_paths
|
|||
|
||||
# Backup sources & data
|
||||
ynh_backup "${source_path}addons" "$1${source_path}addons"
|
||||
mkdir -p /opt/odoo-oca-addons
|
||||
ynh_backup "/opt/odoo-oca-addons" "$1/opt/odoo-oca-addons"
|
||||
|
||||
# Backup configuration
|
||||
ynh_backup "$conf_file" "$1$conf_file"
|
||||
|
|
Loading…
Reference in a new issue