vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   MySQL Database Backup/Restore Hack Ver. 1.0 (https://vborg.vbsupport.ru/showthread.php?t=37655)

Birdie501 01-13-2003 05:18 AM

You're welcome! :) I am happy that it works for you.

linuxfreaky 02-15-2003 10:30 AM

hi Birdie501

guess what man i payed for vbultin just to download ur hack lol
man i swear iam not ++++ing u i have diffrant forums and our hosting servers dont alow ssh or tel net
i have aproblem iam not geting any errors at all
every thing is cool the back up but in restore it says every thing restored
you go to the forum and boof nothing restored i did that over
4 times hosting on free bsd and all is cool as i told u no erros
just that the restore goes ok but in real it wont restore any thing
any idea will be so much happy 2 hear it
regards :glasses:

Strider Xero 02-17-2003 07:13 PM

does this work with 2.2.9 and 2.3.0??

ZiRu$ 02-28-2003 04:50 AM

Quote:

Originally posted by TheSaint-AeD
hmm...

my backup worked perfectly, but the restore doesn't work at all. I wanted to move servers using this, uploaded the compressed sql-file to my admin/backup directory on the new server, changed the variables, and clicked restore.

decompress backup: done!
restore file to database: done!

is the answer, but actually the db isn't restored.

yah same here and with almost everyone

Drowned 03-03-2003 03:11 AM

It doesn't create any file. I triple checked everything, and yes, my host can do dumps. Backup folder is still empty.

BTW, thanks for you "great" support... hehe, yeah right... :disappointed:

laycomp 03-14-2003 09:32 PM

Hello Birdie501,

I am unable to restore db.

I feel something is wrong in the $programm variable:

// ###################### Start Dorestore #######################

if ($HTTP_POST_VARS['action']=="dorestore") {

if(file_exists($pfad."/backup.sql.gz")==1):
$programm="c:/usr/mysql/bin/mysqldump";
$parameter="--host=".$db_host." --user=".$db_username." --password=".$db_passwort." --database=".$db_name." <".$pfad."/backup.sql";

What should go in the $programm variable line please?

by the way, I am using Apache on Windows and using v2.3 and all is so far working fine, thanks for this useful hack! :)

laycomp 03-17-2003 05:52 AM

never mind, I discovered the problem was a mistake in the hack code that wasn't even updated in the original instruction file, so if you're going to install be sure to read all the post and look for the area of the code that needs to be changed.

Boofo 03-17-2003 06:28 AM

Quote:

Today at 01:52 AM laycomp said this in Post #127
never mind, I discovered the problem was a mistake in the hack code that wasn't even updated in the original instruction file, so if you're going to install be sure to read all the post and look for the area of the code that needs to be changed.
I read the whole thread and I must have missed the code change you were talking about. Can you point me to it, please? ;)

laycomp 03-17-2003 10:55 PM

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 :(

laycomp 03-17-2003 10:57 PM

Quote:

02-17-03 at 09:13 PM Strider Xero said this in Post #123
does this work with 2.2.9 and 2.3.0??
I am using 2.3.0 and yes, it did work fine.

Boofo 03-17-2003 11:09 PM

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? ;)

laycomp 03-18-2003 02:55 PM

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.

partang2 03-30-2003 05:53 AM

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?

jackyhow 04-09-2003 02:20 AM

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

jackyhow 04-09-2003 02:39 AM

there is a lot of problems with this hack,,,,,.....................maybe dont use it

Boofo 04-09-2003 09:11 AM

Can't you restore it through phpmyadamin if you need to, if the restore feature doesn't work?

Yuber 05-06-2003 12:11 AM

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

Strider Xero 05-06-2003 01:28 AM

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.

sajjid 05-10-2003 01:12 AM

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

iggy123 05-10-2003 09:27 AM

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?

gmarik 06-24-2003 05:42 PM

Have you ever thought of adding .zip feature?

lasto 08-25-2003 01:40 PM

excellant wot can i say

/me click installed

took less than 2 secs to do 2meg test file

now small question anyone know what max file is this can do before times out or dont it work that way.

Best way ive seen of doing a databse backup and restore

/me is happy

lasto 08-25-2003 01:51 PM

forgot to say i tried to do a file though phpmyadmin and it crashed out and would`nt do a 1.7 meg file

So i contacted host and they only allow it to be done though SSH but this makes it a lot better with this hack :)

chrisvonc 10-24-2003 03:09 PM

I gave this a whirl on 2.3.2 and I get the same thing of not finding the backup package. I did run the root.php, made sure the paths reflected that as well as checked again a few more times. I saw someone say they got this running on 2.3.0 but has anyone tried this on 2.3.2?

It also seems to run instantly which I thought was odd since the regular .sql backup file generated by the built in process in vB takes a minute or so to process before the d/l starts. I would have though even though creating the backup file on the server it would take a few seconds to run. Is this normal?

Thanks,

Chris

klaattu 10-25-2003 01:17 AM

Installed in Both my forums and it works ok (well the back up so far I ll make a dummy forum tomorrow and test the restore, but so far so good

Click "install"

cool thanks!both are 2.3.0.

klaattu 01-16-2004 04:02 PM

Well I tried to restore the backup sinc eour host lost everuthing (even backups) go figure!!!
I try to resptere everything sais its ok but no database, Ill contact my provider so I can check mySQLdump problem...

any other hints?

tuanpig 01-31-2004 07:23 AM

I need ver for vb3! thanks

lasto 02-04-2004 06:51 PM

anyone know if this works on vb rc3 as i used this all time on vb2 but not sure if will work on new one.

Its a good program netherless

o0stephane0o 07-18-2004 04:08 PM

It´s such a usefull hack, can´t someone port it to VB3?
It was so nice on vb2...

Birdie501 07-18-2004 06:53 PM

Hi,

I am sorry but i can't give support for vb 3 because I dont have a licence for that version.

o0stephane0o 07-18-2004 09:32 PM

Is there anyone who has the license and can help me to modify that hack?
Maybee birdie, I own the license, you could help me to modify the files to make it owk on vb3?


All times are GMT. The time now is 01:34 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.01451 seconds
  • Memory Usage 1,808KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (31)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete