• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Website backup

Status
Not open for further replies.
No.
That's perfectly normal.
The site is backing up it's data in-case something goes wrong.
If something were to go wrong, we wouldn't lose a ton of data because then we could simply restore from the last backup.

It takes time because the site's database is about 100GB.
The server has to read 100GB of data and write it to another disk.
 
Level 22
Joined
Dec 31, 2006
Messages
2,216
I guess that could cause complications. I don't know much about how these servers work, nor do I know anything about MySQL (other than it being used for databases and stuff). However, I assume that you wouldn't want any writing to the SQL database while backing it up. Basically, some of the data relies on other data, or at least requires synchronization with it, and so if some values change while backing up, a desynchronization could occur (as already backup data would not be updated).

Just my guess though.
 

Ralle

Owner
Level 77
Joined
Oct 6, 2004
Messages
10,106
There is something called binary replication, where every edit to the database is logged to a binary log which is then synced to slave servers. Then you can stop the slave server from syncing and dump its contents without affecting the master. I may set this up at one point. We had it until this server went unstable. The problem is that basically every time it crashes, the binary log would be corrupt. This means you have to re-sync the databases (dump the main, copy over to slave, load the file, start syncing), which is a very painful process.

There also exists something called mysqlhotcopy which takes a copy of the database without locking anything. This means you could potentially backup a recent thread but not the first post and race conditions like that. It is not pretty.
 
Status
Not open for further replies.
Top