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 - vBulletin Cron Based Database Backup (https://vborg.vbsupport.ru/showthread.php?t=231481)

Superorb 09-23-2012 04:05 PM

Quote:

Originally Posted by Delfi_r (Post 2367923)
Wich file I should modify?

The mysqlbackup.php file, but this code did not work for me when I added it to the test or live sites.

charlesr 09-24-2012 06:55 AM

Quote:

Originally Posted by betterthanyours (Post 2367850)
Is there anything similar that will backup and then also upload to remote site at all?

If you have server access to two servers you could set up an rsync with ssh on a cronjob to sync the backups created by this mod to a remote server. Probably.

betterthanyours 09-24-2012 07:22 PM

I do have shell access to both servers. Is there a tutorial on this anywhere?

charlesr 09-25-2012 07:47 AM

I haven't tried it myself. I googled and found this which should probably work: http://troy.jdmz.net/rsync/index.html and could include your forum filesystem as well as the db backup. Please report back on your progress :)

Delfi_r 09-25-2012 06:38 PM

Quote:

Originally Posted by Superorb (Post 2367943)
The mysqlbackup.php file, but this code did not work for me when I added it to the test or live sites.

thanks, I'll try and report

Cicada 09-26-2012 08:43 PM

doesn't seem to be backing up _all_ of the tables...

Superorb 09-26-2012 08:54 PM

Quote:

Originally Posted by Cicada (Post 2368813)
doesn't seem to be backing up _all_ of the tables...

Which tables is it missing? My backups seem to be smaller than the DB size, but when restored to a test installation all the stats and data usage reported in the Vb admin pages is identical.

steeler7 09-27-2012 01:44 AM

Paul,

Mod was working like a charm and then we changed accounts (stayed with the same host, just moved to a different server) and ever since, I'm not getting any Backups made. It's not version or vbulletin version based either since I recent;y upgraded to 4.2.0 and the newest version of this Mod and nothing.

Could there be something on the host side (using VPS) preventing this from working?

Superorb 09-27-2012 02:58 AM

Quote:

Originally Posted by steeler7 (Post 2368893)
Paul,

Mod was working like a charm and then we changed accounts (stayed with the same host, just moved to a different server) and ever since, I'm not getting any Backups made. It's not version or vbulletin version based either since I recent;y upgraded to 4.2.0 and the newest version of this Mod and nothing.

Could there be something on the host side (using VPS) preventing this from working?

Did the directories or permissions change? When you manually run the script does it complete successfully?

rgf207 09-27-2012 04:43 PM

i created the backups folder in the root of my vbulletin install and changed permissions to 777 but I still get this error

Quote:

Backup Error : Could not write to destination file ( ../../backups/2012-09-27/Forum-2012-09-27-Vb_access.sql )


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