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)

Psychdrone 04-24-2002 08:27 PM

all man so I am screwed???

Austin Dea 04-24-2002 10:49 PM

Quote:

Originally posted by Cell Block
Let me get this right, with this hack i can restore my database if it had messed up, or if i've moved to a new server i can install the board and hack and then restore the board this way rather than using telnet or SSH?

I don't know but i may have mis-understood

This hack can make a backup of your database for you to download, or you can restore your database from a backup you downloaded previously.

ZiRu$ 04-24-2002 11:24 PM

I get the regular:

------------------------
Start MySQL Dump: done!
compress file: done!
delete not compressed file: done!
Before you can restore this file, you have to rename to backp.sql.gz:

Download File
------------------------

But My admin/backup.php is empty...and when i click the download file it has

/admin/backup1019693643.sql.gz

its supposed to be
/admin/backup/backup1019693643.sql.gz


---------------------------------
Here's My Variables:
PHP Code:

$pfad="/public_html/test/admin/backup";
$download_url="http://www.hotdoggssite.com/admin/backup"

Can I get some help?

Psychdrone 04-25-2002 02:03 AM

Whats wrong with me:(

Birdie501 04-25-2002 09:13 AM

Quote:

Originally posted by Hot Dogg
I get the regular:

------------------------
Start MySQL Dump: done!
compress file: done!
delete not compressed file: done!
Before you can restore this file, you have to rename to backp.sql.gz:

Download File
------------------------

But My admin/backup.php is empty...and when i click the download file it has

/admin/backup1019693643.sql.gz

its supposed to be
/admin/backup/backup1019693643.sql.gz


---------------------------------
Here's My Variables:
PHP Code:

$pfad="/public_html/test/admin/backup";
$download_url="http://www.hotdoggssite.com/admin/backup"

Can I get some help?

Hi,

you forgot to add a slash " / " at the end of the download url!

use this:

PHP Code:

$pfad="/public_html/test/admin/backup";
$download_url="http://www.hotdoggssite.com/admin/backup/"


ZiRu$ 04-25-2002 01:36 PM

Quote:

Originally posted by Birdie501


Hi,

you forgot to add a slash " / " at the end of the download url!

use this:

PHP Code:

$pfad="/public_html/test/admin/backup";
$download_url="http://www.hotdoggssite.com/admin/backup/"


ok i did do that but it still dont work! It dosent create a file?

what else can i do?

Birdie501 04-25-2002 01:39 PM

Then please contact your hoster and ask if he provide mysql dumps etc. like discussed above!

Dark_Wizard 04-25-2002 02:45 PM

Quote:

Originally posted by Hot Dogg


ok i did do that but it still dont work! It dosent create a file?

what else can i do?

Hostrocket does support the MySQL commands and gzip....get in touch with me via ICQ and I will help you out. BTW I just tested this and I'm on hostrocket and it works fine...nice hack!

Birdie501 04-25-2002 02:48 PM

Hi Dark_wizard,

would be nice if you can publish your solution here in this thread so that also other user can use the hack :-)

Thanks.
:cheeky:

Austin Dea 04-25-2002 10:55 PM

Quote:

Originally posted by Hot Dogg


ok i did do that but it still dont work! It dosent create a file?

what else can i do?

That doesn't look like your whole root directory. Upload root.php and see what it calls up.


All times are GMT. The time now is 02:20 AM.

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.01250 seconds
  • Memory Usage 1,744KB
  • 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
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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