1
tedsmith
Backing Up the Xoops.Org MySQL Database
  • 2005/11/1 11:07

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Just curious...if the XOOPS database is about 1Gb in size (a PM from Mith informed me of this) how is it backed up by the XOOPS team who are not actually physically located near the servers (which are in Holland I think?). It can't be using phpMyAdmin or any other remote web tool due to the 90 second time out etc. I assume they take daily backups which must be a big job. Do they just have an arrangement with PlanetXoops?

The only reason I ask is if\when my own databases get any larger than 100Mb or so I won't be able to do my own backups because the sites are commercially hosted.

Ted

2
jdseymour
Re: Backing Up the Xoops.Org MySQL Database

Not sure if this is how it is done, but see my article:

Regular Database Backup with Cron(Updated)

This is how it can be done. Also see MySQL Database Restore. If there is no access to the CLI, Cron also can be used to restore a large database.

HTH.

3
Goober
Re: Backing Up the Xoops.Org MySQL Database
  • 2005/11/1 11:56

  • Goober

  • Not too shy to talk

  • Posts: 101

  • Since: 2003/3/30


I find this the best solution for grabbing/restoring large databases that are remotely hosted.

http://www.ozerov.de/bigdump.php

Hope it helps!
Dispelling the Mystical belief of Web Standards and tableless CSS.
Nobody gets excited about the tools used to build a house, people get excited about how the house looks and performs

4
McDonald
Re: Backing Up the Xoops.Org MySQL Database
  • 2005/11/1 12:03

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


I use Bigdump sometimes to restore a large table.
Recently I tried to restore the ip-to-country table (iptoc) for xmmemberstats but found that Bigdump had problems with country names containing an apostrophe, like Cote d'Azure.

How about the module BackPack for making backups(http://www.bluemooninc.biz/~xoops2/modules/news/article.php?storyid=18)?

I know that on the Malaysian support site a module for backing up MySQL databases was available, but their site seems to be down.

5
guardian2k1
Re: Backing Up the Xoops.Org MySQL Database

For those of us that do not have access to cron (shared hositing) is their away to automate backups using XOOPS itself? I've found that many backup solutions fail to restore AMS on our shared server.
"Linux is extremely user-friendly. It also happens to be extremely selective when picking its friends."

http://www.nuxified.com | http://debcentral.org

6
jdseymour
Re: Backing Up the Xoops.Org MySQL Database

Quote:

guardian2k1 wrote:
For those of us that do not have access to cron (shared hositing) is their away to automate backups using XOOPS itself? I've found that many backup solutions fail to restore AMS on our shared server.


cPanel, Plesk and other shared hosting control panels should give you access to cron. If not there are some modules in the repository to backup the database. But it will have to be done manually.

7
guardian2k1
Re: Backing Up the Xoops.Org MySQL Database

I tried the backpack module with xoops-2.2.3. Backed up and restored the database without any problems. Thankyou:) But this module should really have the ability to save to the server as well as remote.
"Linux is extremely user-friendly. It also happens to be extremely selective when picking its friends."

http://www.nuxified.com | http://debcentral.org

8
smdcom
Re: Backing Up the Xoops.Org MySQL Database

Quote:

McDonald wrote:
I know that on the Malaysian support site a module for backing up MySQL databases was available, but their site seems to be down.


Yes! My site is down right now. Due to HDD crash. XOOPS Malaysia will be back on track as soon as we can.

9
Herko
Re: Backing Up the Xoops.Org MySQL Database
  • 2005/11/1 17:12

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


since we have a dedicated server, backups are made daily (or nightly, as the servers are located in the US, the XOOPS Foundation is based in the Netherlands -makes jurisdiction on who to report the hack attack to a nice case ), by cronjob. It just grabs the whole db and files into a tarball, saves it to a dics and is stored by Ackbarr

Herko

10
tedsmith
Re: Backing Up the Xoops.Org MySQL Database
  • 2005/11/1 18:06

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Thanks Herko for that clarification. I did not realise you had a dedicated server all of your own. In my case my sites are hosted on commercail servers so are just some of hundreds hosted there. In the meantime I'll look into BigDum as suggested by the rather attractive Goober early on in this post (her site is a fine demonstration of Xoops!)

Cheers

Ted

Login

Who's Online

302 user(s) are online (184 user(s) are browsing Support Forums)


Members: 0


Guests: 302


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits