vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - vB Database Backup Pro (Lite) for vb 3.6 (https://vborg.vbsupport.ru/showthread.php?t=126925)

Hellraider 01-13-2007 07:54 PM

Quote:

Originally Posted by Reven (Post 1152290)
I've added a bit of code into mysqlbackup.php to compress the resultant SQL file with gzip. My database is about 35MB, and it's making it 5MB.

Thanks, works fine for me.

Paul M 01-13-2007 11:57 PM

Quote:

Originally Posted by Reven (Post 1152290)
If you want to do the same, here is what to do. Please note, though, that this will only work if you have chosen to combine all data into one SQL file and not split each table into its own file.

If you don't mind I'll think about borrowing this code and adding some extra options at some point (when I'm not so busy).

92GreenGT 01-18-2007 05:02 PM

I found this mod by searching for backup things, im just now learning about how to do them etc etc. So I will ask this before I post a reply saying I get some error message.hehe

HTML Code:

$backup['DUMP_PATH']        = '/path/to/backups/';  // Path to backups folder, with trailing slash
I dont understand this, not the way everyone else has been asking questions about though. What I dont understand is, am I supposed to go into my FTP and make a folder called whatever I want for the backups to go into? I made a folder on the root I guess(sorry if my terms are wrong) but I made a folder named Backups. If this is correct how would I word the path for that? The rest I understand but this has me confused. Thanks

Menime 01-19-2007 02:18 AM

When I try to run this I get the following error message:

Database Backup

An error occured during the MySQL backup. Details (Could not open Destination SQL file for writing.)

madkeen 01-20-2007 01:08 PM

Thank you
Installed and working fine

da420 01-20-2007 02:29 PM

Quote:

Originally Posted by Menime (Post 1162629)
When I try to run this I get the following error message:

Database Backup

An error occured during the MySQL backup. Details (Could not open Destination SQL file for writing.)

the location you are saving the file to is not writeable.

Menime 01-20-2007 05:04 PM

Quote:

Originally Posted by da420 (Post 1163480)
the location you are saving the file to is not writeable.

The folder I have it set to is set at 777.

Paul M 01-20-2007 05:38 PM

You may have other (php) restrictions in place.

Menime 01-20-2007 06:22 PM

Could you be a little more specific about that Paul? I keep thinking I am missing something stupid and I can't figure it out.

Paul M 01-20-2007 06:45 PM

Since I have no idea how your server/hosting is set-up then I can't be specific. My guess would be a php open_basedir restriction.


All times are GMT. The time now is 10:26 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.01523 seconds
  • Memory Usage 1,735KB
  • 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_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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