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)

djbaxter 03-18-2007 02:22 PM

Quote:

Originally Posted by stejoh (Post 1206359)
Have two questions about the config file: What does the options below mean and what effects has the value 1 on these settings?
Quote:

// Backup Options
$backup['LOCK'] = 0; // Lock tables during dump
$backup['REPAIR'] = 0; // Repair & Optimize tables before dump
Quote:

// Combine Tables into one file
$backup['COMBINE'] = 0;

The first two are self-explanatory: LOCK prevents new data from being added to a tanle while it is being backed up and "REPAIR" checks for and fixes any errors before the backup.

The third combines all of the individual tables into a single SQL file if set to 1; if left at 0, you get separate files for each table in the database.

stejoh 03-18-2007 03:12 PM

Quote:

Originally Posted by djbaxter (Post 1206435)
The first two are self-explanatory: LOCK prevents new data from being added to a tanle while it is being backed up and "REPAIR" checks for and fixes any errors before the backup.

The third combines all of the individual tables into a single SQL file if set to 1; if left at 0, you get separate files for each table in the database.

Aha, I understand then!
* It feels "safest to have LOCK and REPAIR set to 1, but is it really so?
* Are there any disadvantages to backup into one single SQL file?

djbaxter 03-18-2007 03:20 PM

Quote:

Originally Posted by stejoh (Post 1206467)
Aha, I understand then!
* It feels "safest to have LOCK and REPAIR set to 1, but is it really so?

I believe it is safer, yes.

Quote:

Originally Posted by stejoh (Post 1206467)
* Are there any disadvantages to backup into one single SQL file?

If you are running your own MySQL queries that may have the possibility of messing up one of the tables, it's a good idea to do a backup first. If it's NOT a combined-file backup, it's easier to restore just that single table. Beyond that, it's normally easier to have the backup in one file for restore operations and for disk space reasons.

Paul M 03-18-2007 08:48 PM

Points to note;

If you lock the tables then your forum will not be usable during a backup.

On larger databases, a repair can take a long time to run.

kontrabass 03-23-2007 04:04 PM

Quote:

Originally Posted by Paul M (Post 1206837)
Points to note;

If you lock the tables then your forum will not be usable during a backup.

On larger databases, a repair can take a long time to run.


Question: I didn't know that *not* locking the tables during a mysqldump was even an option... In your opinion is it relatively safe, provided that my board is OFF, to not lock tables during a dump? If so then this will be better than MysqlHotCopy for me, which locks the whole shebang and results in dropped/timeout connections even when the board is turned off, during a live backup)...

eoc_Jason 03-23-2007 04:49 PM

Usually if your board is off / closed, the only inserts it will still try to make is for session stuff. Of course your staff needs to know that when the board is closed not to make posts or anything as that could lead to data inconsistencies.

kontrabass 03-23-2007 05:25 PM

Thanks, that makes sense.

Last question I promise :)

Is this method of backing up recommended on dual-server setups (www + db)? I guess all the backup .sql ends up on the www server..

Paul M 03-23-2007 10:58 PM

Quote:

Originally Posted by kontrabass (Post 1210510)
Is this method of backing up recommended on dual-server setups (www + db)? I guess all the backup .sql ends up on the www server..

It ends up wherever you point the backup path.

cajunboy2208 03-24-2007 09:13 AM

I don't think I am having problems. I am just totally confused. I installed it. I have it showing up on my Manage Products. I only changed one line in the mysqlbackupconfig.php, which was where I wanted my backups to go.

As to: Alter the timing of the cron job to suit.
I have no idea how to do that, or where to access it at.

Also I don't know how to access the profuct either, I don't see it anywhere on my ACP.
I would like to set it to where it backs up every day at a certain time, at like 4am if that is possible.

And one more thing... is this like the Database Backup, where it incudes every table and such?

EDIT: Ok, I didn't know it was under Scheduled Task Manager, I was looking in Scheduled Task Log.
I ran it, it ran good, but one thing, I don't want every single line of sql. I would like it to just be one file, just like on the Maintaince Database Backup. How do I go about that?

EDIT x2: Read up, and got my answer.
ONE LAST THING!
I ran the complete back up, and it came to be 12220k using the Task Manager backup.
When using the Maintaince Database Backup, it comes to be 12485k. Anything to be worried about here?

Paul M 03-24-2007 06:55 PM

Quote:

Originally Posted by cajunboy2208 (Post 1210943)
I ran the complete back up, and it came to be 12220k using the Task Manager backup.
When using the Maintaince Database Backup, it comes to be 12485k. Anything to be worried about here?

Nope, nothing to worry about.


All times are GMT. The time now is 01:52 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.01335 seconds
  • Memory Usage 1,746KB
  • 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
  • (9)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