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]: Invalid DB Backups #3513

Closed
arshx86 opened this issue Sep 19, 2024 · 1 comment
Closed

[Bug]: Invalid DB Backups #3513

arshx86 opened this issue Sep 19, 2024 · 1 comment

Comments

@arshx86
Copy link

arshx86 commented Sep 19, 2024

Error Message and Logs

Database creations are working well, but not the backups. When I try to backup a DB (or with scheduled backups) it installs a corrupt, unreadable tar.gz archive. Database configuration is untouched, I only enabled public Uri's.
There is no exceptions or any error messages, it succeeds but backup file is correct. I'm also sure about file size is incorrect.

MongoDB, self hosted - Ubuntu 22.04.1 LTS (coolify v4.0.0-beta.331)

image

The DB configuration is default and untouched.
image

Steps to Reproduce

  1. Create a new database (MongoDB in this case)
  2. Schedule daily backups and click trigger 'backup now'
  3. Try unzip and see the error

Example Repository URL

No response

Coolify Version

v4.0.0-beta.331

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 22.04.1 LTS

Additional Information

No response

@arshx86 arshx86 added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Sep 19, 2024
@djsisson
Copy link
Contributor

djsisson commented Sep 20, 2024

its not something you can open in winzip
use the import backup function or u can use
mongorestore --gzip --archive=backup_db.tar.gz newdb

@peaklabs-dev peaklabs-dev removed 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Sep 20, 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