![]() |
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. |
Use a cron job. Make sure you use full paths to files.
|
can you point it to me clearer ?
AFAIK the cron job hacks here need SSH access. |
you can indeed set cron job in Cpanel.
|
thanks, I figured that way but how darn my backup was corrupted, I wasn't backupped properly >_<
|
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 |
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|