mirror of
https://github.com/YunoHost-Apps/lxd_ynh.git
synced 2024-09-03 19:45:53 +02:00
fix backup/restore
This commit is contained in:
parent
927495f98f
commit
90fd4c284c
2 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue