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 - Automatic Database Back-up (https://vborg.vbsupport.ru/showthread.php?t=114097)

Quarterbore 05-09-2006 12:46 AM

Is there any advantage to using this over a traditional server driven CRON job?

For those that can not get this to run on your server because of the settings... if you server allows you to run CRON jobs I have a page that can help you program your own CRON jobs to back up your MySQL databases here:

http://adultwebbusiness.com/adultbus...topic.php?t=54

No worry, there is no adult content on there ;)

Oh yea, that is one of my sites I have not upgraded to vB yet too...

cclaerhout 05-15-2006 12:06 PM

Quote:

Originally Posted by Feckie (Roger)
Backing up to an external ftp site

(Offsite To Where The Main Server Is)


And the answer is... ? :D ;)

Logikos 05-15-2006 02:20 PM

I'll see what I can do. That is something that I've never done and will need alot of research and testing before I can insert that addon to this hack.

cclaerhout 05-15-2006 02:59 PM

Thanks for your answer :)

I hope you will succeed !

Yorixz 05-15-2006 05:02 PM

Wonderful addon, you got my vote in the poll for sure.

I've got one little feature request which I'm sure of that there will be others who'd like it as well; maybe you can add it so you can specify the max. number of backups you want to keep stored. I, and I'm sure I'm not alone, am on a shared hosting so I haven't got "unlimited" space, therefore I'd love to see a feature to simply have 3 backups at all time; when a new one is made the last one could be deleted to make room.

Keep up the great work and hopefully you'll add it ;)

Logikos 05-15-2006 05:03 PM

Thats a nice idea! I will look into that as well. Thanks for your vote! :)

RemiAlone 05-15-2006 07:51 PM

Installed it but my host has exec disabled. :(

Tim. 05-16-2006 08:31 PM

Installed and running now. When I run it though my site slows to a crawl, a lot of timeouts and such.

How long does it take to make a backup? (1gig sql uncompressed db here)
Can I stop it halfway through somehow?

EDIT: Also, I only see how to make this run Every X Time. Is there a way to say run at 5am GMT+1 every day, for example?

EDIT2: Alright it seems the lag was caused because the script ran 3 SQL Dumps at the same time. Every time the server admin tried to kill one it started over again. Any idea why this happened? The script was set to run once every 23 hours.

Tralala 05-26-2006 07:28 AM

Quote:

Originally Posted by Yorixz
I've got one little feature request which I'm sure of that there will be others who'd like it as well; maybe you can add it so you can specify the max. number of backups you want to keep stored. I, and I'm sure I'm not alone, am on a shared hosting so I haven't got "unlimited" space, therefore I'd love to see a feature to simply have 3 backups at all time; when a new one is made the last one could be deleted to make room.

Keep up the great work and hopefully you'll add it ;)


Agreed, great idea. As it stands now I'll probably have to manually clean out the backup folder from time to time.



I also think it's a good idea to suggest putting a simple index.html file in File Dump Path... otherwise in the off-chance someone guesses the backup directory name, they'd be able to download all of the forum backups simply by navigating to it in their browser.

Angelus 06-03-2006 07:09 PM

hi.

the hack ist very well. thanks for this. BUT i have one error message:

Code:

Datenbankfehler in vBulletin 3.5.3:

Invalid SQL:

                                        UPDATE session
                                        SET lastactivity = 1149365202, location = '/admincp/cronadmin.php?do=runcron&cronid=15', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0
                                        WHERE sessionhash = '1104b4313e8dc9116022d6011e23ece3';

MySQL-Fehler : Lost connection to MySQL server during query
Fehler-Nr.  : 2013
Datum        : Saturday, June 3rd 2006 @ 10:07:13 PM
Skript      : http://www.twingo24.de/admincp/cronadmin.php?do=runcron&cronid=15
Referrer    : http://www.twingo24.de/admincp/cronadmin.php?do=modify
IP-Adresse  : xxx
Benutzername : Karlheinz
Klassenname  : vb_database

i hope for help


All times are GMT. The time now is 12:51 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.01210 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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