vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [vbcron] Automatic database backup [v1.3] (https://vborg.vbsupport.ru/showthread.php?t=62149)

xQuEeNzNaZcHox 05-18-2004 07:07 PM

Great hack, one question: I turned on Log Entries, and I looked in the folder where the backup was (after it had backed up), and it had a file called "05-18-04-error.txt." It had nothing on it.

Anything wrong here?

Matrixgl 05-24-2004 10:04 PM

I am not trying to discourage people from using this hack, but this is just a suggestion for people who wants more features.

The script that I use can be used to make backups of any database, and it has all the features that you probably need.
  • Backup multiple databases and servers with different users and passwords.
  • Backups can be scheduled using cron (on UNIX systems) or AT (on Windows systems).
  • Create daily, weekly and monthly snpashots of your database.
  • Keep the daily, weekly and monthly backups for a user-specified time.
  • Archive and compress the SQL files (*.tar.gz).
  • Creates a detailed report of everything that has been done.
  • Reports can be mailed to you or any other user- specified email- address, saved to disk or displayed in browser.
  • Generated SQL files can be mailed to you or any other user-specified email-address.
  • Generated SQL files can be saved on the server.
  • Choose to create SQL files for each table or one for each database.
  • No system calls, everything in 100% pure PHP. PHP Safe-mode compatible.

http://restkultur.ch/personal/wolf/scripts/db_backup/

Boofo 05-24-2004 10:31 PM

Quote:

Originally Posted by Matrixgl
I am not trying to discourage people from using this hack, but this is just a suggestion for people who wants more features.

The script that I use can be used to make backups of any database, and it has all the features that you probably need.
  • Backup multiple databases and servers with different users and passwords.
  • Backups can be scheduled using cron (on UNIX systems) or AT (on Windows systems).
  • Create daily, weekly and monthly snpashots of your database.
  • Keep the daily, weekly and monthly backups for a user-specified time.
  • Archive and compress the SQL files (*.tar.gz).
  • Creates a detailed report of everything that has been done.
  • Reports can be mailed to you or any other user- specified email- address, saved to disk or displayed in browser.
  • Generated SQL files can be mailed to you or any other user-specified email-address.
  • Generated SQL files can be saved on the server.
  • Choose to create SQL files for each table or one for each database.
  • No system calls, everything in 100% pure PHP. PHP Safe-mode compatible.
http://restkultur.ch/personal/wolf/scripts/db_backup/

How hard is it to set up?

Matrixgl 05-24-2004 10:47 PM

not hard, just unzip/untar, upload, change the variables in config.inc.php and thats it. You have to set up a cron though. You can either do it using telnet or cpanel.

See the installation section on the site.

Fluous 06-03-2004 08:35 PM

So this is all done and I can download it? Like it should work on my system? And I should download the db back up but only put it on my server when I need to back up?

Bulent Tekcan 06-04-2004 12:24 PM

When I use this script my DB is 411MB but in AdminCP VBBackup system make a 444MB ??? Why different size ? Also both extension is .sql

Thanks

Bulent Tekcan 06-05-2004 12:14 PM

Quote:

When I use this script my DB is 411MB but in AdminCP VBBackup system make a 444MB ??? Why different size ? Also both extension is .sql


Thanks
I cannot receive any answer my questions manytimes.....

Anybody knows why size is diffrent ????

Bahawolf2 06-05-2004 02:53 PM

Quote:

Originally Posted by Matrixgl
I am not trying to discourage people from using this hack, but this is just a suggestion for people who wants more features.

The script that I use can be used to make backups of any database, and it has all the features that you probably need.
  • Backup multiple databases and servers with different users and passwords.
  • Backups can be scheduled using cron (on UNIX systems) or AT (on Windows systems).
  • Create daily, weekly and monthly snpashots of your database.
  • Keep the daily, weekly and monthly backups for a user-specified time.
  • Archive and compress the SQL files (*.tar.gz).
  • Creates a detailed report of everything that has been done.
  • Reports can be mailed to you or any other user- specified email- address, saved to disk or displayed in browser.
  • Generated SQL files can be mailed to you or any other user-specified email-address.
  • Generated SQL files can be saved on the server.
  • Choose to create SQL files for each table or one for each database.
  • No system calls, everything in 100% pure PHP. PHP Safe-mode compatible.

http://restkultur.ch/personal/wolf/scripts/db_backup/

The only problem I experienced with this script was when a database copy was already there, and it tried backing it up again, which caused the new backup to increase in size ridicuously (monitored by refreshing on WSFTP) until it just stalled. I have a cron setup obviously.. any advice?

As for this hack, I had no success in getting my backup. It makes a .tar the size of 1KB without any files.

SaN-DeeP 06-06-2004 09:10 PM

:S

Noone using this error got this except me.
i guess, my hosting provider has banned/blocked something or its me ?

Here is the Error. no db backup is created in my backup dir which is properly CHMOD.

Code:

Warning: exec() has been disabled for security reasons in /forums/includes/cron/vbcron_db_backup_131.php on line 38

Warning: exec() has been disabled for security reasons in /forums/includes/cron/vbcron_db_backup_131.php on line 47
Database backup script was invoked without error, to check that it was done correctly see if the file was written to the folder you specified in the configuration variables. It may take some time before your server finishes backing up depending on the size of your database

need help.

Thnx.
Sandy...

Bahawolf2 06-06-2004 11:00 PM

Quote:

Originally Posted by SaN-DeeP
:S

Noone using this error got this except me.
i guess, my hosting provider has banned/blocked something or its me ?

Here is the Error. no db backup is created in my backup dir which is properly CHMOD.

Code:

Warning: exec() has been disabled for security reasons in /forums/includes/cron/vbcron_db_backup_131.php on line 38

Warning: exec() has been disabled for security reasons in /forums/includes/cron/vbcron_db_backup_131.php on line 47
Database backup script was invoked without error, to check that it was done correctly see if the file was written to the folder you specified in the configuration variables. It may take some time before your server finishes backing up depending on the size of your database

need help.

Thnx.
Sandy...

I forgot what this was called..
I think its something with php.. like php(exec) or something..

Your host may have it disabled.. let me check into this further.


All times are GMT. The time now is 11:31 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.01797 seconds
  • Memory Usage 1,754KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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