Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
MySQL Database Backup/Restore Hack Ver. 1.0 Details »»
MySQL Database Backup/Restore Hack Ver. 1.0
Version: 1.00, by Birdie501 Birdie501 is offline
Developer Last Online: Feb 2011 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-19-2002 Last Update: Never Installs: 57
Is in Beta Stage  
No support by the author.

################################################## ###############
MySQL Database Backup/Restore Hack Ver. 1.0
for all versions! tested with vb 2.2.5
Release Date: 20.04.2002
by Birdie501
Credits to: Jens Dutzi
################################################## ################

What this hack does:

You can backup and restore your mysql database via Admin CP!
Lot of people have problems to restore their database du to server timeouts!
With this hack you will never have any problems!
But anyhow you will use this hack with your own risk!

Requirements: Unix, GZIP, MySQL, MySQLDump

I am not a programmer! I just tried to implement this feature into my vbulletin and it works!
Maybe some of you, have the possibility to improve this hack! You are welcome!

Enjoy guys=))

Birdie501

just updated the instructions for the root path!
zip file updated!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #132  
Old 03-17-2003, 11:09 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 06:55 PM laycomp said this in Post #129
mmm... I tried going to the whole thread too to point out the changes, but sorry, maybe I didn't look good enough, anyways, I made the change in my install file and attached it, if you use it you shouldn't go wrong -at least I didn't.

Compare mine with the original install txt file and when you see the difference then you can search for the text and find the original posts that talks about the change in code. This I suggest you do.

I'd wish that whenever changes were made, developers took the time to upload the new files, so many people's time is plain wasted
Is this the wrong file you attached?
Reply With Quote
  #133  
Old 03-18-2003, 02:55 PM
laycomp laycomp is offline
 
Join Date: Mar 2003
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 01:09 AM Boofo said this in Post #131


Is this the wrong file you attached?
You mean I didn't attach file!? Sorry, here it is again.
Reply With Quote
  #134  
Old 03-30-2003, 05:53 AM
partang2 partang2 is offline
 
Join Date: Jun 2002
Location: Norway
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, I can't get it to work. It says that all is ok but no restore is done.... Anyone found a way to do this?
Reply With Quote
  #135  
Old 04-09-2003, 02:20 AM
jackyhow jackyhow is offline
 
Join Date: Mar 2003
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
03-30-03 at 08:53 AM partang2 said this in Post #133
Nope, I can't get it to work. It says that all is ok but no restore is done.... Anyone found a way to do this?

i have the same problem, buddy
Reply With Quote
  #136  
Old 04-09-2003, 02:39 AM
jackyhow jackyhow is offline
 
Join Date: Mar 2003
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there is a lot of problems with this hack,,,,,.....................maybe dont use it
Reply With Quote
  #137  
Old 04-09-2003, 09:11 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can't you restore it through phpmyadamin if you need to, if the restore feature doesn't work?
Reply With Quote
  #138  
Old 05-06-2003, 12:11 AM
Yuber's Avatar
Yuber Yuber is offline
 
Join Date: Feb 2003
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried to restore and it said:

Quote:
decompress backup: done!
restore file to database: done!
But nothing changed, my old database wasn't restored? and it was called backup.sql.gz
Reply With Quote
  #139  
Old 05-06-2003, 01:28 AM
Strider Xero Strider Xero is offline
 
Join Date: Dec 2002
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This worked for the older versions of vB. I really wish someone would continue with this script because I think it's a good idea. If there's a backup feature, there should always be a restore feature as well.
Reply With Quote
  #140  
Old 05-10-2003, 01:12 AM
sajjid sajjid is offline
 
Join Date: Jul 2002
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
03-18-03 at 01:55 AM laycomp said this in Post #129
mmm... I tried going to the whole thread too to point out the changes, but sorry, maybe I didn't look good enough, anyways, I made the change in my install file and attached it, if you use it you shouldn't go wrong -at least I didn't.
Compare mine with the original install txt file and when you see the difference then you can search for the text and find the original posts that talks about the change in code. This I suggest you do.
I'd wish that whenever changes were made, developers took the time to upload the new files, so many people's time is plain wasted
Quote:
03-18-03 at 05:55 PM laycomp said this in Post #132
You mean I didn't attach file!? Sorry, here it is again.
i still fail to make connection as to what you are saying i looked through the whole of the thread and didnt see code change niether in you file its same as Birdie501.
as matter of fact you really have confused the me as the first attchment has nothing to do with the hack
Reply With Quote
  #141  
Old 05-10-2003, 09:27 AM
iggy123's Avatar
iggy123 iggy123 is offline
 
Join Date: Jan 2003
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am using 2.30 and it worked fine for me - my db was screwed, I back it up every other day - and delete the old one,and I restored it using this hack and it worked a dream. I only lost 1 days posts (approx 300) so I was well happy!


update since moving the forums to a new folder I am having real problems.....

I have altered the templete.php to show
Code:
$pfad="home/virtual/site97/fst/var/www/html/forums/admin/backup";
$download_url="http://XXXX.net/forums/admin/backup/";
everything appears to be fine - i get the message "db backed up" etc
but when i down load the db - it tells me that the file is corrupt.
I have checked the folder permissions etc and everything appears to be fine?
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:49 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04907 seconds
  • Memory Usage 2,315KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete