vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   The fastest way to restore using phpmyadmin ? (https://vborg.vbsupport.ru/showthread.php?t=79100)

deathemperor 03-31-2005 01:10 AM

The fastest way to restore using phpmyadmin ?
 
It's bad that I don't have SSH access to my hosting so I guess I'll have to restore my board using phpmyadmin.

my backup file is .gz and 18MB, now using phpmyadmin from my hosting CPanel I can hardly run that file, because it's too big to upload via http.

Someone knows any better solutions ?

Thanks in advance.

noppid 03-31-2005 01:13 AM

Use a cron job. Make sure you use full paths to files.

deathemperor 03-31-2005 01:41 AM

can you point it to me clearer ?

AFAIK the cron job hacks here need SSH access.

tnguy3n 03-31-2005 02:06 AM

you can indeed set cron job in Cpanel.

deathemperor 03-31-2005 02:13 AM

thanks, I figured that way but how darn my backup was corrupted, I wasn't backupped properly >_<

tnguy3n 03-31-2005 02:21 AM

re-download the gunzip file and re-ftp to the server.
I've never tried to restore database using cron job, but you can try this one.
Code:

5 * * * * /usr/local/mysql/bin mysql -u ACCOUNT -p PASSWORD vb_dbname < /home/ACCOUNT/public_html/file.sql
Manually hit the Run cron job button or wait for 6-7 mins, then delete the cron job.

filburt1 03-31-2005 02:24 AM

Never ever back up using a PHP method, including phpMyAdmin. Absolutely always do something entirely server-side, then transfer the backup to another machine.


All times are GMT. The time now is 01:01 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.01041 seconds
  • Memory Usage 1,716KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete