Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrongly exclude moodle cache scripts #15

Open
mojtaba82 opened this issue Feb 21, 2021 · 0 comments
Open

wrongly exclude moodle cache scripts #15

mojtaba82 opened this issue Feb 21, 2021 · 0 comments

Comments

@mojtaba82
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant