-
Notifications
You must be signed in to change notification settings - Fork 229
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
Update backup.sh to include complete /opt/zammad folder for file storage #390
Conversation
Hello @migasQ. Thank you very much for your contribution, we appreciate this very much! In the current case, I am not sure if it is the right way to go. The zammad directory is part of the docker image, and therefore a backup would be redundant. We could consider adding a separate backup file for the @monotek what's your opinion on this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
I'd like to suggest once again to use our onboard backup script instead of the super custom one. André mentioned that there was incompatibilities in the past, I don't remember exactly. Maybe it would be a great idea to correct this behavior to reduce maintenance. |
Which one are you referring to? |
|
Thanks. @mgruner do you remember why you used your own script? If you like, I could try to use the script from inside the container for backup in a dockerizd setup |
@migasQ that was before my time here, so I cannot answer the question about reasons. To use the included script would probably take two steps:
|
I can give it a try in the next weeks. My approach would be to change the compose-backup-entrypoint-script to
|
I may have been thinking too complex here. Can't we just modify the existing backup.sh script of zammad-docker-compose to not perform the actual backup itself, but instead first write the |
Jep, that would be my approach.
|
trying to write config in a read only fs might need other workarounds like new volumes again :/ |
I'll close this PR now. Feel free to open another one for a new approach. |
Small follow-up: Zammad's backup script
|
See #389