mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
commit
523099533a
2 changed files with 5 additions and 1 deletions
|
@ -64,5 +64,9 @@ install_sources() {
|
||||||
set +$u_arg;
|
set +$u_arg;
|
||||||
deactivate
|
deactivate
|
||||||
set -$u_arg;
|
set -$u_arg;
|
||||||
|
|
||||||
|
# Remove Rust to reduce backup size
|
||||||
|
ynh_secure_remove --file=$final_path/.rustup
|
||||||
|
ynh_secure_remove --file=$final_path/.cargo
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -115,7 +115,7 @@ ynh_backup --src_path="$data_path" --is_big=1
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_print_info --message="Backing up synapse log..."
|
ynh_print_info --message="Backing up synapse log..."
|
||||||
|
|
||||||
ynh_backup --src_path="/var/log/matrix-$app"
|
ynh_backup --src_path="/var/log/matrix-$app" --is_big=1
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP HOOKS
|
# BACKUP HOOKS
|
||||||
|
|
Loading…
Reference in a new issue