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

[Bug]: Container backups are either non-existent or not scheduling #3681

Closed
graphiostudio opened this issue Oct 3, 2024 · 3 comments
Closed

Comments

@graphiostudio
Copy link

graphiostudio commented Oct 3, 2024

Error Message and Logs

This issue has been asked numerous times on Discord channel but none of them got proper replies and fixes. There are similar open issues as well.
-Some container databases doesn't come with a backup option when you go into their settings.
-The ones that have a backup option in their settings do not keep the schedules saved. It DOES work when you set and hit backup now, but a quick refresh or server restart deletes them (not the backup files but the scheduling).

  • Hitting the download button doesn't download the backup on any part of the whole system.

Steps to Reproduce

  1. Install Mixpost and observe there's no backup option on MySQL database
  2. Install Plane (for example) and if there's a backup option, schedule one.
  3. Click backup now, and observe it works.
  4. Refresh the page or restart the server, schedule is empty.
  5. Hit download and observe that is not downloading

Example Repository URL

No response

Coolify Version

v4.0.0-beta.349

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 22

Additional Information

Schedule set, backup working and uploaded to S3:
image

A quick refresh, or server restart, and that schedule is gone. This applies to all container backups, postgres, DB, and MySQL on multiple servers.
image

And some templates like Mixpost for instance, don't even have the backup option on the container, this also applies to the most recent template on Directus, when I use an old version of the Directus template, backup appears but still, doesn't schedule.
image

@graphiostudio graphiostudio added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Oct 3, 2024
@andrasbacsai
Copy link
Member

Yes, it is because Coolify detects that if the service is a database or not by the image name. mysql-server is not in the list. I will update the image list.

(If you know a better way to do this, let me know)

@graphiostudio
Copy link
Author

Hey @andrasbacsai, thanks for the reply. That 'mysql-server' was a default by Mixpost template.
image
I guess, I need to double-check the template compose before deploying. However, the backups disappearing issue still persists. On 355, most databases now have a backups link but setting one doesn't really do anything, they will disappear like the example above. Also, keep getting these discord messages like in this issue: #3395

@peaklabs-dev
Copy link
Member

Not all DBs have backup options yet. It is planned to implement a full backup manager in the future. I am not able to reproduce the backup disappearing problems, so I will close this issue. If this comes up again and backups start disappearing, please open a new issue with more detailed reproduction steps.

@github-actions github-actions bot removed 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Nov 14, 2024
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

3 participants