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

Errors loading config files (relative paths) and in tail syntax #1

Open
48design opened this issue Sep 14, 2023 · 0 comments
Open

Errors loading config files (relative paths) and in tail syntax #1

48design opened this issue Sep 14, 2023 · 0 comments

Comments

@48design
Copy link

Thank you for this nice backup script!

I ran into some trouble using it because the config files could not be loaded. I had to change the paths to the .main.config .sh and .database.config.cnf inside matomo_backup.sh from relative to absolute paths. Otherwise they could not be loaded.

Maybe this has something to do with server security or similar but the only way to make this work was this small change.

There is also an errors with the "delete old backups" code. "tail" gets the option for the number of files passed with two minus signs (--) which results in an error "unknown option".

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