| 
		
			
			
				
			
			
				 
			
			
				
			
		 | 
		
			
			
				 
			
				
			
		 | 
	||||
| 
				Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.  You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us.  | 
		
		 
		![]()  | 
	
		
			
  | 	
	
	
		
		|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. | 
| 
		 | 
	Thread Tools | 
| 
			
			 | 
		#1 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Industry Role:  
				Join Date: Jul 2001 
				
				
				
					Posts: 3,472
				 
				
				
				
				 | 
	
	
	
	
		
			
			 
				
				Hosting Gods: How do you keep a site up and running normally when performing a backup?
			 
			I have a site with a good amount of users on it. 
		
	
		
		
		
		
		
	
	Everyday when my site does a backup it creates a dump of the database. It takes about a minute to dump that database, so the tables can not be written to for that time. It bothers me when this happens because the site is down for 30-60 seconds. My members think my site sucks, tell each other it sucks, and they leave to go to my competitors. It happens everyday. That's bad for my business. Is this lock normal? Or can something be done about it? My competitors sites are much bigger than mine and I dont see them crash. So I dont understand how they do it. ![]() ![]() ![]() ![]() ![]() ![]()  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Totally Borked 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Feb 2005 
				
				
				
					Posts: 6,284
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Use mysql replication.... then backup from the slave. That way no mysql downtime at all. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#3 | |
| 
			
			
			
			 Making PHP work 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Nov 2002 
				Location: 🌎🌅🌈🌇 
				
				
					Posts: 20,652
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 So Fucking Banned 
			
		
			
			
			Industry Role:  
				Join Date: Dec 2010 
				
				
				
					Posts: 1,176
				 
				
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Industry Role:  
				Join Date: Jul 2001 
				
				
				
					Posts: 3,472
				 
				
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Industry Role:  
				Join Date: Aug 2006 
				Location: Little Vienna 
				
				
					Posts: 32,235
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 I use rsync to avoid downtime. 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Making PHP work 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Nov 2002 
				Location: 🌎🌅🌈🌇 
				
				
					Posts: 20,652
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 LOL! 
		
	
		
		
		
		
			
		
		
		
		
	
	I don't use SQL.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#8 | |
| 
			
			
			
			 Totally Borked 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Feb 2005 
				
				
				
					Posts: 6,284
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 Another option would be to take a cheap 250GB dedi box at ?15/month, run the mysql slave there and use that too for backups, that way everything is spread across 3 drives, but I like the cloud availability (100%) for a replication server... 
				__________________ 
		
		
		
		
	
	![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#9 | |
| 
			
			
			
			 Totally Borked 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Feb 2005 
				
				
				
					Posts: 6,284
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 For technical how to - follow this tuto. It's for centos, but effectively shows all the mysql configs which is distro-independent. ![]() 
				__________________ 
		
		
		
		
	
	![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Feb 2002 
				Location: NYC, NY 
				
				
					Posts: 8,531
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 1. Having a secondary MySQL server as a slave and backing up from that is the best option 
		
	
		
		
		
		
			2. Rsyncing the binary files, while not recommended, can be "safe" for INNODB based tables, however you cannot guarantee consistency and may need to check/repair the table once restored. This is not recommended at all for InnoDB tables as you will also need to restore the binary log data, which may cause unforseen issues with other data in the database. 3. For InnoDB you can either use InnoDB hot copy, or use mysqldump with the "?single-transaction" option enabled. #1 and 3 are the preferred methods 
				__________________ 
		
		
		
		
	
	![]() ~ Webair Dedicated Cloud Servers™ ~ WEBAIR VSYS™ Virtual Hosting Platform ~ Superior CDN Network ~ ~ Managed Dedicated hosting Specialists ~ DISCOUNT DOMAIN NAMES! ~ WEBAIR FUSION IO MANAGED CLOUD SERVERS! ~ ICQ: 243116321 - TWITTER - @WEBAIRINC - E-Mail: [email protected]  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#11 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Industry Role:  
				Join Date: Aug 2002 
				
				
				
					Posts: 9,752
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 No it's not normal. 
		
	
		
		
		
		
		
		
			
		
		
	
	The site should not be effected by the backups. I assume they are not using rcync and doing a full backup each time which is overloading your server. Mysql can be rsynced just like everything else.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#12 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Join Date: Jun 2009 
				Location: Asheville, NC 
				
				
					Posts: 2,277
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 borked is right... Best way is to back up from a slave however...  
		
	
		
		
		
		
			In the interim and if your site's traffic doesn't justify a separate slave box... There are a plethora of flags/options to set in mysqldump to make sure you aren't tanking your MySQL instance during a backup ;) EDIT: Check out mysqlhotcopy 
				__________________ 
		
		
		
		
		
			
		
		
	
	ICQ: 258-202-811 | Email: eric{at}bestxxxporn.com  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#13 | 
| 
			
			
			
			 Totally Borked 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Feb 2005 
				
				
				
					Posts: 6,284
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 of course it can, but don't expect a simple restore, or any for that matter.... 
		
	
		
		
		
		
			simply copying the /var/lib/mysql/mysql directory is asking for trouble ![]() 
				__________________ 
		
		
		
		
	
	![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#14 | |
| 
			
			
			
			 Coupon Guru 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Mar 2009 
				Location: Minneapolis 
				
				
					Posts: 10,973
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 ![]() 
				__________________ 
		
		
		
		
	
	Webmaster Coupons Coupons and discounts for hosting, domains, SSL Certs, and more! AmeriNOC Coupons | Certified Hosting Coupons | Hosting Coupons | Domain Name Coupons  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#15 | 
| 
			
			
			
			 bored 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Aug 2003 
				Location: PORNCMS.com 
				
				
					Posts: 4,790
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 well the best answer is of course never mentioned - stop using mysql. 
		
	
		
		
		
		
			flat files are the future. well they'll been my present for half a decade. they are fast, easy to backup, and easy to transfer. look into it. 
				__________________ 
		
		
		
		
	
	#  
			 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#16 | 
| 
			
			
			
			 Totally Borked 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Feb 2005 
				
				
				
					Posts: 6,284
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 any chance of geospatial index support in your flat files? 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#17 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Industry Role:  
				Join Date: Aug 2002 
				
				
				
					Posts: 9,752
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 I agree, databases are getting outdated but we still have a good 4-5 years before they are obsolete. MySQL it's simply a cpu hog and not as reliable as flat files. 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#18 | 
| 
			
			
			
			 bored 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Aug 2003 
				Location: PORNCMS.com 
				
				
					Posts: 4,790
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 lol ya there's a lot of that going on in porn. nerd. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	#  
			 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#19 | |
| 
			
			
			
			 Totally Borked 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Feb 2005 
				
				
				
					Posts: 6,284
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 What the problem is often frequently craply designed databases. Anyone saying mysql is a hog should run something like mysqltuner on their server and see if all green lights come up. Mine do, and my most used db is 6.5GB in size, and yet mysql is only set to use 4GB of RAM. phooey. 
				__________________ 
		
		
		
		
	
	![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#20 | 
| 
			
			
			
			 Totally Borked 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Feb 2005 
				
				
				
					Posts: 6,284
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 ehm, there are exactly 2-3 million daily hits using just those. Nerd  
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#21 | |
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Feb 2002 
				Location: NYC, NY 
				
				
					Posts: 8,531
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 "What the problem is often frequently craply designed databases. Anyone saying mysql is a hog should run something like mysqltuner on their server and see if all green lights come up. Mine do, and my most used db is 6.5GB in size, and yet mysql is only set to use 4GB of RAM." Well said, & well done! 
				__________________ 
		
		
		
		
	
	![]() ~ Webair Dedicated Cloud Servers™ ~ WEBAIR VSYS™ Virtual Hosting Platform ~ Superior CDN Network ~ ~ Managed Dedicated hosting Specialists ~ DISCOUNT DOMAIN NAMES! ~ WEBAIR FUSION IO MANAGED CLOUD SERVERS! ~ ICQ: 243116321 - TWITTER - @WEBAIRINC - E-Mail: [email protected]  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#22 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Aug 2007 
				
				
				
					Posts: 6,697
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Most of the time just doing a simple mysqldump of one database then the sites actual files will work fine without any downtime. As long as you do site1db, site1files, site2db, site2files, etc (instead of dumping all dbs then all files) and the databases aren't massive it will be within sync enough. It's even less of a big deal if you keep multiple backups instead of relying on one. Sure to be technical you should lock it all before the backup then unlock it but it usually isn't a big deal for a normal site or small group of them on a server. 
		
	
		
		
		
		
		
		
			
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#23 | |
| 
			
			
			
			 <&(©¿©)&> 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Jul 2002 
				Location: Chicago 
				
				
					Posts: 47,882
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 ![]() 
				__________________ 
		
		
		
		
	
	Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#24 | |
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Join Date: Apr 2002 
				Location: Houston 
				
				
					Posts: 5,651
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#25 | |
| 
			
			
			
			 Ryde or Die 
			
		
			
			
			Industry Role:  
				Join Date: Dec 2002 
				Location: California-Shanghai 
				
				
					Posts: 19,568
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 Curious who you use for the cloud service?  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#26 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Aug 2007 
				
				
				
					Posts: 6,697
				 
				
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#27 | |
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Oct 2003 
				
				
				
					Posts: 1,653
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 Have you tried scheduling the backup for a very slow time when there are the fewest users on? -if no, check your logs to see when that usually is and change the backup time to match. Many people do maintenance between 12AM Midnight to 3 AM, but that can often be a bad time when factoring in the location of the server and time zone of most visitors. So don't be surprised if the slowest, more ideal time ends up being somewhat later, such as around 6 AM. Ron 
				__________________ 
		
		
		
		
	
	Domagon - Website Management and Domain Name Sales  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#28 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Join Date: Apr 2002 
				Location: Houston 
				
				
					Posts: 5,651
				 
				
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#29 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Industry Role:  
				Join Date: Aug 2002 
				
				
				
					Posts: 9,752
				 
				
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#30 | |
| 
			
			
			
			 Making PHP work 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Nov 2002 
				Location: 🌎🌅🌈🌇 
				
				
					Posts: 20,652
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#31 | 
| 
			
			
			
			 So Fucking Banned 
			
		
			
			
			Industry Role:  
				Join Date: Dec 2010 
				
				
				
					Posts: 1,176
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 chaze aka "DWHS" is a complete newbie, pretty obvious from his posts and hosting operation. 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#32 | 
| 
			
			
			
			 Let's do some business! 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Sep 2004 
				Location: Austin, TX 
				
				
					Posts: 31,340
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Your members run for the hills over 60 seconds of downtime?  I have trouble with both Google and Yahoo every day, have never considered going somewhere else?  Temporary glitch. 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#33 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Industry Role:  
				Join Date: Jul 2001 
				
				
				
					Posts: 3,472
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 when it happens again and again they get irritated and angry. Ive had cancellations and increasingly angry emails. 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#34 | 
| 
			
			
			
			 Arthur Flegenheimer 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Jul 2006 
				Location: New York City 
				
				
					Posts: 11,056
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Do you backup when you know you have the least amount of people on your site? 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#35 | 
| 
			
			
			
			 Totally Borked 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Feb 2005 
				
				
				
					Posts: 6,284
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 miniCloud - very useful for this kind of stuff or for automation 
		
	
		
		
		
		
			http://www.ovh.ie/cloud/ 
				__________________ 
		
		
		
		
	
	![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#36 | 
| 
			
			
			
			 bored 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Aug 2003 
				Location: PORNCMS.com 
				
				
					Posts: 4,790
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		
		
	
		
		
		
		
			 
				__________________ 
		
		
		
		
	
	#  
			 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 |