vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Backing up Large .SQL Files (https://vborg.vbsupport.ru/showthread.php?t=53401)

kamu 05-26-2003 07:58 AM

Backing up Large .SQL Files
 
I've got a large ( 114 meg ) sql backup which I need to backup. I have a dedicated server with full access to admin commands if I'll need to execute any. phpMyadmin will not upload the .sql because of it's size. I've reviewed other topics related to this issue and the only responce I've found was to execute the .sql in little pieces. Many of my sections are to large to execute in little pieces. Can anybody help?

Thanks. :bunny:

Xenon 05-26-2003 06:29 PM

there is a vb backup restore hack here in beta hacks, you can for example try it

Erwin 05-27-2003 01:05 AM

Run a Telnet/ SSH command.

mysqldump --opt -u USERNAME -pPASSWORD DATABASE_NAME > /YOURDIRECTORY/database.sql

You can even put it in as a daily cron job.

007 05-27-2003 02:29 AM

How do you set up cron jobs??

Erwin 05-27-2003 02:42 AM

You need access to your server. Then, either edit crontab or add a file into cron.daily. If you have CPanel you can do this via Cpanel as well.

kamu 05-27-2003 03:59 AM

Quote:

Today at 11:05 AM Erwin said this in Post #3
Run a Telnet/ SSH command.

mysqldump --opt -u USERNAME -pPASSWORD DATABASE_NAME > /YOURDIRECTORY/database.sql

You can even put it in as a daily cron job.



Thank you Erwin :)

ajk 12-07-2003 04:46 AM

How would you backup the difference in a weekly sql file?

That way you won't have to restore 150 plus mb each time?

Super Shadow 12-09-2003 01:13 AM

One of my techies installed a file onto the server which is like, backuprestore.php (I think) and said I should use that instead of the vB default backup since it's very unreliable. Anyone familiar with this method?

irn-bru 12-25-2003 11:52 AM

I think it is worth while to mention that the sql file should be archived in to a .gz or zip file
when download this should make the file size more smaller if you havent already done so
you can do this in phpmyadmin.


All times are GMT. The time now is 10:00 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.00975 seconds
  • Memory Usage 1,721KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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