Hi.
Thank you for this good backup script and excuse me for my bad english
This line
if [ -d "$WEB_DIR/$PUBLIC_HTML_DIR_NAME/cache" ]; then
echo "$WEB_DIR/$PUBLIC_HTML_DIR_NAME/cache" >> $EXCLUDE
fi
that is for exclude Dropal data cache wrongly exclude cache scripts that moodle use these to cache data. In moodle cached data is in moodledata directory and cache in public_html include scirpts for caching.
generally this line is not good because some sites may use this directory for scripts that make caching not for cached data.
Hi. Thank you for this good backup script and excuse me for my bad english This line
that is for exclude Dropal data cache wrongly exclude cache scripts that moodle use these to cache data. In moodle cached data is in moodledata directory and cache in public_html include scirpts for caching. generally this line is not good because some sites may use this directory for scripts that make caching not for cached data.