Previous Thread
Next Thread
Print Thread
Hop To
#46463 04/25/2006 9:18 AM
Joined: Jun 2006
Posts: 869
old hand
old hand
Joined: Jun 2006
Posts: 869
Never had a problem backing up before..

Now my browser keeps on timing out
on
Backing up table data for w3t_Last

I refresh, and it kicks in again for a few moments..

(The forum is closed)

Does the server keep on backing up even with the constant message
[]The connection has timed out[/]

Thanks

Stan


http://clubadventist.com/forums

No longer following the carrot
#46464 04/25/2006 10:48 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Since the script has to do a write when the data is read from mysql, if it's timing out then it won't actually back up. It's possible that your tables are starting to get too big, w3t_Last can have ALOT of data in it if you have alot of users/forums. You may want to look at using a command line backup script or phpmyadmin.

#46465 04/25/2006 2:38 PM
Joined: Jan 2004
Posts: 74
G
journeyman
journeyman
G Offline
Joined: Jan 2004
Posts: 74
I can't find this "alot" word in the dictionary.


Visit the real Threadsdev at http://www.threadsdev.net
#46466 04/25/2006 3:08 PM
Joined: Jun 2006
Posts: 869
old hand
old hand
Joined: Jun 2006
Posts: 869
HMMMmmm... maybe you need to acquire more dictionaries.


http://clubadventist.com/forums

No longer following the carrot
#46467 04/26/2006 1:35 AM
Joined: Jun 2006
Posts: 182
A
member
member
A Offline
Joined: Jun 2006
Posts: 182
> w3t_Last can have ALOT of data in it if you have alot of users/forums.

And it can be safely pruned, with the effect that people who haven't been online for longer won't have the post tracking up to date, but this is a small price in comparison to not being able to backup his data base...

DELETE FROM `w3t_Last`
WHERE `L_Last` < ( UNIX_TIMESTAMP( NOW( ) ) -20 *24 *60 *60 )

prunes all entries in last older than 20 days.

#46468 04/26/2006 8:56 AM
Joined: Jun 2006
Posts: 869
old hand
old hand
Joined: Jun 2006
Posts: 869
thanks!!!


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Nightcrawler), 639 guests, and 217 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)