-
Notifications
You must be signed in to change notification settings - Fork 6
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
Dump Format invalid #22
Comments
Also, stray .env file left in backup directory by extracting a backup, was listed as a backup called .env. Should probably limit listing to *.zip |
Hello, |
Hello @plutocrat, For the problem with the mysqldump warning you could do me a favor and test if the warning disappears when you add this in the file kimai2\var\plugins\EasyBackupBundle\Controller\EasyBackupController.php
I cannot test it myself at the moment because it does not appear in my environment. Please tell me if this will help. |
#22 Prevent warnings from being logged into the sql dump
Hi,
The dump as produced on an Ubuntu 18 server contained the line
"mysqldump: [Warning] Using a password on the command line interface can be insecure."
At the top of the file, which means that when you try to restore it, it fails with a format error. Removing the line makes restoring the database possible.
Suggestion: An automated restore from the web interface would be useful. Or at least, instructions on how to extract and restore a database from a dump.
The text was updated successfully, but these errors were encountered: