[ Phuket Info | Thailand Hotels | Phuket Diving | Phuket Nightlife | Phuket Classifieds | Phuket Links ]
PHUKET-INFO.COM Forums Mai Thai Bar Phuket

Go Back   PHUKET-INFO.COM Forums > Off Topic Forums > Webmaster World

Reply
 
Thread Tools Search this Thread
  #1  
Old 15-09-2005, 21:19
steve@thaib's Avatar
steve@thaib steve@thaib is online now
Registered User [4263]
Senior Elite Member
 
Join Date: Oct 2004
Location: uk
Age: 44
Posts: 5,226
Backing up Forums

Has antbody any experience of backing up a forum in case of server errors? I recently had a server crash with my ISP and lost a forum, along with all of its history of course.

Is it possible to just 'get' the files from the server and hold them on my hard drive, if so I could just back it up regularly and not much would be lost if it ever happened again?

How big are forums? In terms of disc space, would it be practical? I know Nicke was looking into this recently, and am just wondering what the options are.

Any pointers appreciated.
__________________
Reply With Quote
Guest Info

+:+:+ Forum Headquarter +:+:+
Mai Thai Bar
If you look for a hotel - Book hotel here
Register and become a member and you will not see this box.

  #2  
Old 15-09-2005, 21:26
LivinLOS's Avatar
LivinLOS LivinLOS is online now
Registered User [2776]
Senior Elite Member
 
Join Date: Jun 2004
Location: Patong
Age: 34
Posts: 18,507
You only need the database.. The rest can be rolled out easy its the content thats important..

What forum SW do you use ?? Usually regular backups of the MySQL database is enough and a one off 'site backup' at installtion after mods and tweaks..
__________________
Men have only 2 emotional states, hungry and horny.. So ladies, if you see me without an erection, make me a sandwich.
Reply With Quote
  #3  
Old 15-09-2005, 23:17
steve@thaib's Avatar
steve@thaib steve@thaib is online now
Registered User [4263]
Senior Elite Member
 
Join Date: Oct 2004
Location: uk
Age: 44
Posts: 5,226
SW would be? Sorry to show my ignorance.

So, if I save the whole forum off the server onto my hard drive, and then just back up the database file once a week or so, that would do the trick?
__________________
Reply With Quote
  #4  
Old 15-09-2005, 23:27
LivinLOS's Avatar
LivinLOS LivinLOS is online now
Registered User [2776]
Senior Elite Member
 
Join Date: Jun 2004
Location: Patong
Age: 34
Posts: 18,507
Let me preface this with I am not a web programmer or real forum whizz.. Just done this a few times and have 'some' ideas..

Yeah in theory... What forum SW do you use ??? Like this is an vBullitin forum.. I run a phpBB on soieasy.com etc..

My experience is usually with PHP and MySQL systems.. I have seen some running on ASP and other formats but never tried an install, to be honest phpBB / vBullitin (probably the best but not free) and invision are my fave formats.

For any of these its the MySQL database that holds the data.. Backing up the database backs up your forum content and can be restored to another forum install fairly easily.. The forum files on your webhost are not required to be backed up unless you are performing mods / hacks / etc.. Once forum runs correct for you back up your webhost data (once) then as often as you can back up your MySQL database to save the posts..

Nicke.. Thats about it isnt it ?? Never had a forum crash but I have DL'ed then deleted the online one and re upped my DB once for testing purposes..
__________________
Men have only 2 emotional states, hungry and horny.. So ladies, if you see me without an erection, make me a sandwich.
Reply With Quote
  #5  
Old 16-09-2005, 01:54
steve@thaib's Avatar
steve@thaib steve@thaib is online now
Registered User [4263]
Senior Elite Member
 
Join Date: Oct 2004
Location: uk
Age: 44
Posts: 5,226
Thanks for that.

It's a phpBB which comes bundled with the hosting package, I'm not a genius with these things but my guess seems to be not too far off. I will try backing up the DB files this weekend and see how I go.

I will have a look at soieasy.com, didn't realise it was yours.
__________________
Reply With Quote
  #6  
Old 16-09-2005, 10:20
LivinLOS's Avatar
LivinLOS LivinLOS is online now
Registered User [2776]
Senior Elite Member
 
Join Date: Jun 2004
Location: Patong
Age: 34
Posts: 18,507
Soieasy.com is only 'sorta' mine.. I was asked to make a site by Ott and Ning (dragon Kangaroo etc) and I did.. Really its thier site but no one would do anything and I like to play with new CMS's.. PHPNuke is actually really pretty simple (I am pretty pleased with the soieasy layout and interation.. Gallery .. Forum.. News modulkes.. etc)..

If you have any spare time I strongly reccomend you setting up your own phpBB forum once as a teaching process.. You can get free php / MySQL hosting if you hunt.. Then upload, unpack and install, set the MySQL up.. Learn how to use phpMyAdmin.. Link the database with the forum and config the forum through scripts (and secure it).. Now I have done a couple if I had fast access I reckon I could do a forum in a couple of hours (without graphics integration).. I had hosts provide built in scripts before and I learnt nothing about those scripts by using that.. doing it from scratch shows you how..

You could also install locally on your own machine using easyPHP (great app) that installs PHP / Apache / etc all on your own machine.. I have one machine in the house set up with EasyPHP... a telnet server... a ftp server etc so by addressing that local IP its like testing uploading to a online host (though my hosts are linux and the box I use in a windows so its not exact).. Be nice to set a SSL server on it to to mirror my pro hosting packages closer... I have learnt more using that demo box and toying than any other way..
__________________
Men have only 2 emotional states, hungry and horny.. So ladies, if you see me without an erection, make me a sandwich.
Reply With Quote
  #7  
Old 16-09-2005, 11:32
stevem's Avatar
stevem stevem is offline
Registered User [1109]
Senior Elite Member
 
Join Date: Dec 2003
Location: Sydney
Age: 46
Posts: 7,420
Quote:
Originally Posted by steve@thaib
Thanks for that.

It's a phpBB which comes bundled with the hosting package, I'm not a genius with these things but my guess seems to be not too far off. I will try backing up the DB files this weekend and see how I go.

I will have a look at soieasy.com, didn't realise it was yours.

Login to your control panel and then into mySQL, you should have an admin package available as well. If not ask your ISP, as it is unusual to be provided mySQL without it.
Reply With Quote
  #8  
Old 16-09-2005, 16:51
Nicke's Avatar
Nicke Nicke is offline
Administrator [1]
Senior Elite Member
 
Join Date: May 2002
Location: Patong beach, Thailand
Age: 37
Posts: 9,602
Send a message via ICQ to Nicke
Many servers have PHPMyAdmin of whatever it was called, be be beware, due to timeout limits in HTTP, it can result in unfinished backups.

The best things is to do this from shell using mysqldump tool.

If you store the database in a database named forum, you just have to do

mysqldump -u username -p forum > db-backup.sql

-p will prompt for the password.

Then you can download the file to your own harddisk. I just purchased a backup server and I use rsync to copy files to another harddisk on another server.

To backup the forum, I just need a copy of the database and the directory containing the attachments. (Attachments can be in the file system or in the database, vBulletin support both methods.)
__________________
PhuketThailand PhotosMai Thai Bar
Reply With Quote
  #9  
Old 16-09-2005, 19:26
steve@thaib's Avatar
steve@thaib steve@thaib is online now
Registered User [4263]
Senior Elite Member
 
Join Date: Oct 2004
Location: uk
Age: 44
Posts: 5,226
Thanks guys, I will give that a whirl today and let you know how I go. I do a website for the rugby club that my boy plays for and we lost the forum to a server problem a couple of months ago.

There was plenty of history on it, pretty active for what it is, and they were really disappointed to lose it all and have to start agian. I want to avoid that again if I can help it.
__________________

Last edited by steve@thaib : 16-09-2005 at 19:29.
Reply With Quote
  #10  
Old 16-09-2005, 19:54
steve@thaib's Avatar
steve@thaib steve@thaib is online now
Registered User [4263]
Senior Elite Member
 
Join Date: Oct 2004
Location: uk
Age: 44
Posts: 5,226
Got it, took less than five minutes to download the whole folder, so it will just sit on my hard drive now and I can restore it if we ever have the same problem.
__________________
Reply With Quote
  #11  
Old 16-09-2005, 20:07
Nicke's Avatar
Nicke Nicke is offline
Administrator [1]
Senior Elite Member
 
Join Date: May 2002
Location: Patong beach, Thailand
Age: 37
Posts: 9,602
Send a message via ICQ to Nicke
Including a backup of the database I hope?

BTW, the main reason to use rsync and another server is that you can create a script to backup automatic and regulary (I havent yet) otherwise you may be lazy and then you sit there with a very old backup the day the server crash.

Quote:
Originally Posted by steve@thaib
Got it, took less than five minutes to download the whole folder, so it will just sit on my hard drive now and I can restore it if we ever have the same problem.
__________________
PhuketThailand PhotosMai Thai Bar
Reply With Quote
  #12  
Old 16-09-2005, 20:32
steve@thaib's Avatar
steve@thaib steve@thaib is online now
Registered User [4263]
Senior Elite Member
 
Join Date: Oct 2004
Location: uk
Age: 44
Posts: 5,226
Yep, got the database. I will have to remember to back it up regularly, but with the trouble I have had it will stick in my mind I think.
__________________
Reply With Quote
  #13  
Old 17-09-2005, 00:05
t0rn's Avatar
t0rn t0rn is offline
Registered User [2368]
Senior Elite Member
 
Join Date: May 2004
Location: UK
Age: 9
Posts: 1,057
Blast from the past -

"Posted by Nicke on January 05, 2001 at 15:05:31:

Sorry!
Due to a server crash during christmas holiday
everything is erased!

Just start posting again!

Nicke."

Reply With Quote

Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Forums for off topic Nicke General 3 24-06-2005 22:47
Added some new forums Nicke General 4 11-05-2005 01:34
other forums Evski General 9 02-11-2004 15:06
Phuket-Info.com forums passes 15,000 posts Nicke General 43 28-08-2004 22:14


All times are GMT +7. The time now is 15:20.


 
Hotel Guide

Services

Summer Breeze Hotel Whiterose Apartments PG's Rib & Steakhouse Siam Sound Media Phuket smart homes, home cinema, lighting controllers
Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC3 © 2006, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33