1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Merge pull request #268 from YunoHost-Apps/smaller

Smaller
This commit is contained in:
yalh76 2021-08-14 20:48:35 +02:00 committed by GitHub
commit 523099533a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -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
} }

View file

@ -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