diff --git a/scripts/backup b/scripts/backup index 9ef2d30..b6ff79f 100755 --- a/scripts/backup +++ b/scripts/backup @@ -46,6 +46,8 @@ ynh_backup --src_path="/etc/systemd/system/$app.socket" # BACKUP VARIOUS FILES #================================================= +ynh_backup --src_path="/var/log/$app/" + ynh_backup --src_path="/usr/local/lib/$app/" ynh_backup --src_path="/usr/local/bin/lxc" diff --git a/scripts/restore b/scripts/restore index d4461f8..8ec11b7 100755 --- a/scripts/restore +++ b/scripts/restore @@ -75,6 +75,8 @@ yunohost service add $app --log="/var/log/$app/$app.log" --needs_exposed_ports=6 # RESTORE VARIOUS FILES #================================================= +ynh_restore_file --origin_path="/var/log/$app/" + ynh_restore_file --origin_path="/usr/local/lib/$app/" ynh_restore_file --origin_path="/usr/local/bin/lxc"