-
Notifications
You must be signed in to change notification settings - Fork 106
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
Exception when trying to back up tables with more than 2GB #110
Comments
Have you tried the connection string option of
|
Where did you execute mysqldump and mysqlbackup.net? |
Backup or executed with MySQLBackup.net, I already set up the Timeout on the connection string, and using MySQLBackup.net happens the exception (error when backing on tables with over 2GB) Scenario: Backup application is on a Windows 2019 server, developed in .net Windows Forms |
Which section raised the timeout exception? Do you have a screenshot of the error? Can you post the full error message? If the timeout is raised by the WinForms UI operation, then you can use a background worker to run MySQLBackup.net on a separate thread. Then, you can execute MySQLBackup.net for as long as you need. *Just a side note, MySqlBackup.NET can run on CentOS, if you wish to. You can read my blog for instructions of running MySqlBackup.net on CentOS: https://adriancs.com/c-sharp-mysql/332/run-mysqlbackup-net-on-centos/ |
I see, can you try again with MySqlConnector instead: you can write a simple small app just for this testing |
Hello.
I have a database running since 2008, some tables are very large, between 2 to 4.5 GB and the total database has 19GB, is currently in a Server Linux Centos 8 32GB RAM, the MySQL versions have been evolving and being migrated with Over the years, starting in version 5.1 and currently in version 8.
Using the library, when backing up the database, when it starts backing up the larger tables occurs Timeout errors, it is not always in the same table. I've increased the timeout and yet persists in these mistakes.
Does anyone have any tips, not to happen this kind of exception when performing the backup using the library?
Note: Backup via command line, it works perfectly.
Example of the command used via command line:
mysqldump -u USET -pPASS DATABASE - -adddrop -database - -adddrop -table -x -a -e -k -r -b> directory\backup_database_yyymddhmmm.sql
The text was updated successfully, but these errors were encountered: