I'm having what I think is a minor problem, but since my MySQL is held together with bubble gum and prayers I want to make sure that it's minor before I do anything else.
When I backup MySQL for my largest account, this is the command I'm running via Putty (SSH):
mysqldump --single-transaction --quick my_db_name| gzip > /backup/my_db_name.sql.gz
The database is about 15G.
When I look at it via FTP, I can see that it's finished in about 20 minutes. The problem is that Putty appears to continue running for about 40 minutes after it has completed, so I can't do anything else until Putty times out!
I've logged in to a second session during this period, and it doesn't look like anything is actually running. So it's just Putty or SSH that's getting hung up.
I tried this alternative yesterday, but it did the same thing:
mysqldump --single-transaction --quick my_db_name > /backup/my_db_name.sql && gzip /backup/my_db_name.sql
I'm only assuming that the backup file is complete and error free, I'm not sure how I could check that.
Any ideas on why it's getting hung up? My server provider said they've never seen it happen before. It only started happening in February or early March, so maybe there's a timeout setting or something?
When I backup MySQL for my largest account, this is the command I'm running via Putty (SSH):
mysqldump --single-transaction --quick my_db_name| gzip > /backup/my_db_name.sql.gz
The database is about 15G.
When I look at it via FTP, I can see that it's finished in about 20 minutes. The problem is that Putty appears to continue running for about 40 minutes after it has completed, so I can't do anything else until Putty times out!
I've logged in to a second session during this period, and it doesn't look like anything is actually running. So it's just Putty or SSH that's getting hung up.
I tried this alternative yesterday, but it did the same thing:
mysqldump --single-transaction --quick my_db_name > /backup/my_db_name.sql && gzip /backup/my_db_name.sql
I'm only assuming that the backup file is complete and error free, I'm not sure how I could check that.
Any ideas on why it's getting hung up? My server provider said they've never seen it happen before. It only started happening in February or early March, so maybe there's a timeout setting or something?