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:
parent
9649bdc73b
commit
ca396c9781
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,8 @@ db_name=$(ynh_app_setting_get $app db_name)
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP APP MAIN DIR
|
# 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"
|
CHECK_SIZE "$final_path"
|
||||||
ynh_backup "$final_path"
|
ynh_backup "$final_path"
|
||||||
|
|
Loading…
Add table
Reference in a new issue