Results 1 to 14 of 14

Thread: Backing up a vBulletin board

  1. #1
    Member
    Join Date
    Aug 2004
    Location
    Lancashire
    Posts
    122
    Thanks
    0
    Thanked
    0 times in 0 posts

    Backing up a vBulletin board

    Anyone know how to do this other than by using the admin control panel (which doesnt work!). It's a MySQL database, and I need to back it up! Thx.

  2. #2
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    The admin panel does work, we use it. Other than that it depends on the OS. If it's Linux you can set a cron job to back it up nightly or in Windows set a task to run every night. If it's just a one off then find the data directory in MySQL, find your database and then back it up

  3. #3
    Furry Shorty's Avatar
    Join Date
    Jul 2003
    Location
    Manchester, UK
    Posts
    1,237
    Thanks
    1
    Thanked
    2 times in 2 posts
    Do you have shell access ? (as in you can log into the command line of the server)...

    You can use the mysqldump binary to back it up to a SQL file.

    VBulletin provide a "moving servers" guide that explains how to backup using mysqldump.

    http://www.vbulletin.com/docs/html/m...servers_backup
    "In a world without walls and fences, who needs Windows and Gates?"

  4. #4
    Sublime HEXUS.net
    Join Date
    Jul 2003
    Location
    The Void.. Floating
    Posts
    11,819
    Thanks
    213
    Thanked
    233 times in 160 posts
    • Stoo's system
      • Motherboard:
      • Mac Pro
      • CPU:
      • 2*Xeon 5450 @ 2.8GHz, 12MB Cache
      • Memory:
      • 32GB 1600MHz FBDIMM
      • Storage:
      • ~ 2.5TB + 4TB external array
      • Graphics card(s):
      • ATI Radeon HD 4870
      • Case:
      • Mac Pro
      • Operating System:
      • OS X 10.7
      • Monitor(s):
      • 24" Samsung 244T Black
      • Internet:
      • Zen Max Pro
    or, if you've got phpmyadmin installed you can do an SQL dump via that
    (\__/)
    (='.'=)
    (")_(")

  5. #5
    Member
    Join Date
    Aug 2004
    Location
    Lancashire
    Posts
    122
    Thanks
    0
    Thanked
    0 times in 0 posts
    For some reason, using the admin CP method I get errors saying "could not connect to database" after, say, 30 seconds. Cheers for the help, don't have shell access so I'll install phpmyadmin and give it a go

  6. #6
    Furry Shorty's Avatar
    Join Date
    Jul 2003
    Location
    Manchester, UK
    Posts
    1,237
    Thanks
    1
    Thanked
    2 times in 2 posts
    PHP is traditionally setup with a maximum execution time of 30 seconds. Then the script will terminate. Thats why it stops backing up and you get that error.

    PHPMyAdmin may well do the same thing. The only true way of backing up a large database (which it sounds like you have) is to use the shell.

    How big is your attachment table?
    "In a world without walls and fences, who needs Windows and Gates?"

  7. #7
    Member
    Join Date
    Aug 2004
    Location
    Lancashire
    Posts
    122
    Thanks
    0
    Thanked
    0 times in 0 posts
    We're running it on a 1&1 business account which doesn't allow cron jobs so I don't expect shell access will be allowed either. Attachments are something like 10MB.

  8. #8
    Furry Shorty's Avatar
    Join Date
    Jul 2003
    Location
    Manchester, UK
    Posts
    1,237
    Thanks
    1
    Thanked
    2 times in 2 posts
    hmm.. if you are on 1&1.. you should already have phpmyadmin installed with your account.

    Contact their support for details & explain what you want to do, they will help you
    "In a world without walls and fences, who needs Windows and Gates?"

  9. #9
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    or modify the page on phpmyadmin with the command
    PHP Code:
    set_time_limit(0); 
    which means it won't obey the php.ini setting of 30 seconds

  10. #10
    Member
    Join Date
    Aug 2004
    Location
    Lancashire
    Posts
    122
    Thanks
    0
    Thanked
    0 times in 0 posts
    Am uploading phpmyadmin now, doesn't seem to be installed.

    The error I get is :

    mysql error: MySQL client run out of memory

    mysql error number: 2008

  11. #11
    Sublime HEXUS.net
    Join Date
    Jul 2003
    Location
    The Void.. Floating
    Posts
    11,819
    Thanks
    213
    Thanked
    233 times in 160 posts
    • Stoo's system
      • Motherboard:
      • Mac Pro
      • CPU:
      • 2*Xeon 5450 @ 2.8GHz, 12MB Cache
      • Memory:
      • 32GB 1600MHz FBDIMM
      • Storage:
      • ~ 2.5TB + 4TB external array
      • Graphics card(s):
      • ATI Radeon HD 4870
      • Case:
      • Mac Pro
      • Operating System:
      • OS X 10.7
      • Monitor(s):
      • 24" Samsung 244T Black
      • Internet:
      • Zen Max Pro
    hmm, contacting your host's CS Dept sounds like a plan
    (\__/)
    (='.'=)
    (")_(")

  12. #12
    Member
    Join Date
    Aug 2004
    Location
    Lancashire
    Posts
    122
    Thanks
    0
    Thanked
    0 times in 0 posts
    Yeah, probably sounds a fair bet.... been trying for ages, wonder if my Business Package is a bit under-specced?

  13. #13
    Furry Shorty's Avatar
    Join Date
    Jul 2003
    Location
    Manchester, UK
    Posts
    1,237
    Thanks
    1
    Thanked
    2 times in 2 posts
    Quote Originally Posted by PopUpPirate
    Yeah, probably sounds a fair bet.... been trying for ages, wonder if my Business Package is a bit under-specced?
    I've got a couple of friends on 1and1.. they have experienced a few glitches. Talk to their support.
    "In a world without walls and fences, who needs Windows and Gates?"

  14. #14
    Member
    Join Date
    Aug 2004
    Location
    Lancashire
    Posts
    122
    Thanks
    0
    Thanked
    0 times in 0 posts
    Spoke to them and sorted out phpmyadmin - turns out that 2/3 of the database is attachments so I guess I can just delete them and it won't cock up anything?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Best GAMING board (s939)?
    By GingerNinja.net in forum PC Hardware and Components
    Replies: 12
    Last Post: 02-11-2004, 04:44 PM
  2. Celly board
    By blockers in forum Retail Therapy and Bargains
    Replies: 0
    Last Post: 17-02-2004, 11:35 PM
  3. What P4 board to buy!? - advice please
    By kryptonic in forum PC Hardware and Components
    Replies: 0
    Last Post: 15-02-2004, 01:37 PM
  4. On board or not on board sound
    By suki_uk in forum PC Hardware and Components
    Replies: 8
    Last Post: 23-09-2003, 11:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •