![]() |
Quote:
|
Erwin: You just "cp" the MySQL database(s) directory?
i.e. cp -R /var/lib/mysql /other/cool/backup/directory ? |
Essentially. I do it in a script, rm -Rf the old directory, mv dir1 to dir2 etc to keep up with a whole list of backups etc., then cp.
|
Thanks for the recommendations everyone... We're moving to our new server tomorrow. It's only a 300 MB database, so hopefully it shouldn't be too hard.
|
Hello guys, I'm in a rather serious situation here. My server has gone haywire and I can not do any SSH or FTP to it. The only thing that seems to be working is vBulletin. Everything else such as mail server or cronjobs are not functioning. What's worst is that all the database I backup every night are not accessible. What I need to do is to backup the current database (somehow) so we can re-instate the server to the beginning.
Now I have tried to download the file by using vBulletin's admin cp panel but I think because php has this timeout feature, it got to about 45MB and stopped. Database should be around 250MB. Does someone have any idea of how to do this? Can we modify this timeout feature by uploading a plugin script? I'm using vBulletin 3.5.4. |
Quote:
If your server is having that many major issues, I would have your server provider mount the current disk as slave and install a new primary drive with a fresh install of the operating system of your choosing. I would then get the new server configured and start to just copy information off of the slave drive such as the database, files, logs, etc. |
Quote:
is it vb.org? xD I just use SSH and do a mysqldump |
Not vB.org.
No, attachments/avatars/profilepics etc is another 20 Gb, in the file system. ;) |
Prohacker how is the replication setup ? I'm not very famililar with this method.
|
Quote:
http://dev.mysql.com/books/hpmysql-excerpts/ch07.html We have several database servers for our sites, so we have a single slave server called dbbackup. It runs multiple instances of Mysql all running as slaves replicating data from their respective master. From there we have a perl/shell script locks all tables on the slave process and copies all binary files and then unlocks all tables when done. We actually have 6 master DB servers, so its rater interesting to get everything to replicate to a single server from which you can create backups. This eliminates the table locking issue on the master server and possibly taking your sites offline for backups. I highly recommend getting the book High Performance MySQL which the above chapter is from.. -Mat |
All times are GMT. The time now is 08:31 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|