mirror of
https://github.com/YunoHost-Apps/borgserver_ynh.git
synced 2024-09-03 20:36:20 +02:00
[fix] Missing file in backup
This commit is contained in:
parent
b79bfafd67
commit
dd1bfba2e3
2 changed files with 2 additions and 2 deletions
|
@ -21,4 +21,4 @@ ynh_abort_if_errors
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
|
ynh_backup "/etc/yunohost/hooks.d/backup/17-data_home"
|
||||||
|
|
|
@ -65,5 +65,5 @@ echo "command=\"borg serve $extra --restrict-to-repository /home/$ssh_user/backu
|
||||||
#=================================================
|
#=================================================
|
||||||
touch $home/.nobackup
|
touch $home/.nobackup
|
||||||
mkdir -p /etc/yunohost/hooks.d/backup
|
mkdir -p /etc/yunohost/hooks.d/backup
|
||||||
cp -f ../conf/17-data_home /etc/yunohost/hooks.d/backup/17-data_home
|
ynh_restore
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue