View Full Version : mysql backup
pc_user
Feb 2nd 2007, 8:48 pm
can anyone recommend a mysql backup solution, I want to be able to run backups on the local mysql db and store them remotely in an encrypted manner. Preferably sftp transfer too.
The problem I Have is the tables are big, anything to do on that? Even selects lock the tables.
nirghum
Feb 3rd 2007, 1:28 am
Do you have root access? if then i have a good solution with which you can get the core backup of your mysql database.
pc_user
Feb 3rd 2007, 2:16 am
Well, I do but not interested in the raw files. Too many corruption issues, even if you repair the files post transfer. Let me know what you have.
nirghum
Feb 3rd 2007, 2:30 am
I was about to recommend you to use "rsync" for remote syncronising the mysql database from one server to another server. And that is the best policy although according my idea, as if you copy the databases with sql format, then the most bad thing is, the sql language corruption can hault your whole database restore.
aplus
Feb 3rd 2007, 3:53 am
i use mysqlblasy
I have a nightly cron job and it creates a single file like:
date-time.tar.gz
I recommend it. You can also backupninja. Backs up databases or files, or both
niloy
Feb 8th 2007, 12:32 pm
i use mysqlblasy
I have a nightly cron job and it creates a single file like:
date-time.tar.gz
I recommend it. You can also backupninja. Backs up databases or files, or both
taking backup of mysql datbases with sql format is really problematic. Sometimes it gets crapped, i realy agree with the raw files backup.
krakjoe
Feb 8th 2007, 2:24 pm
What server software are you using ?
pc_user
Feb 11th 2007, 11:51 pm
CentOS. I've used MySQL raw file backups before, the problem with that of course is that there is some corruption, not much but some, can't afford that ;) Any other suggestions? The problem with most is that they do a select * from which locks some larger tables. Thanks all.
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.