1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wallabag2_ynh.git synced 2024-10-01 13:35:06 +02:00

Exclude cache file from backup

It deletes them - it's simpler that not using the helper to backup the files.
This commit is contained in:
lapineige 2019-05-10 23:43:35 +02:00 committed by GitHub
parent 9649bdc73b
commit ca396c9781
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,8 @@ db_name=$(ynh_app_setting_get $app db_name)
#=================================================
# BACKUP APP MAIN DIR
#=================================================
# Clean cache files before backup (saved some disk space)
ynh_secure_remove --file=${final_path}/var/cache/prod/
CHECK_SIZE "$final_path"
ynh_backup "$final_path"