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 (https://vborg.vbsupport.ru/showthread.php?t=167276)

Paul M 09-30-2008 11:30 PM

Quote:

Originally Posted by PAKIDIL (Post 1634241)
"Y-m-d"
in to
2008-10-01
Do not Change "Y-m-d" until u get it working for ya

Do not change that at all unless you understand what you are doing. Its a generic date format, not something you set to specific dates.

Quote:

Originally Posted by PAKIDIL (Post 1634241)
one thing if any one could tell me how to compress the backup in to zip or gzip ? thanks

You cant, at least not with this mod.

Quote:

Originally Posted by chadi (Post 1634242)
Would be great if you can add this feature please. Thanks.

Sorry, nothing new will be added to this.

PAKIDIL 10-01-2008 01:39 AM

one thing i want to ask its making new folders every time it runs so how can overwrite on the same backup ?

desirulez 10-08-2008 03:02 AM

i dont know how to set the settings :(

i want a daily backup settings

Paul M 10-08-2008 02:17 PM

Quote:

Originally Posted by PAKIDIL (Post 1634374)
one thing i want to ask its making new folders every time it runs so how can overwrite on the same backup ?

You could do what I do and change the time format to this ;

PHP Code:

$backup['DATE'] = 'l'// Lowercase 'L' 

This creates a folder for each day (i.e. Monday, Tuesday etc) and they get overwritten each week.

Quote:

Originally Posted by desirulez (Post 1639929)
i dont know how to set the settings :(

i want a daily backup settings

It runs daily by default.

Markos 10-10-2008 10:07 PM

dose it run daily at 4 every day then and can u make it run you're self to test it ??

Paul M 10-11-2008 03:55 PM

You can run any vb cron via the schedules area of the ACP.

Suenee 10-21-2008 03:03 AM

Ok I am completely new at this and do not know code at all. I know from reading these post that this is nothing new to you. However if you will humor my ignorance and give me some suggestions as to how to make this mod work it would be greatly appreciated. I set the path to:

// File Saving Information
$backup['DATE'] = 'Y-M-d'; // Backup file date format (See http://uk.php.net/date)
$backup['PREFIX'] = 'Forum-'; // Backup file prefix, applied to all files
$backup['DUMP_PATH'] = '/home/www.mywebsite.com/backups/'; // Path to backups folder, must have a trailing slash


This is the best I could interpret it from this thread. I loaded the includes folder into the home directory. When I ran the task I get an error message that reads this:


Automatic Database Backup for vBulletin 3.7

Warning: include_once([path]/./includes/cron/cronbackup.php) [function.include-once]: failed to open stream: No such file or directory in [path]/admincp/cronadmin.php on line 113

Warning: include_once() [function.include]: Failed opening '[path]/./includes/cron/cronbackup.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/admincp/cronadmin.php on line 113


Can one of you please tell me what I need to do to correct this situation to make this work?:confused:

Thank you in advance:)
Suenee

Paul M 10-21-2008 07:01 AM

That is basically saying that the file cronbackup.php is not uploaded (to the correct place ?).

Suenee 10-21-2008 07:14 AM

Quote:

Originally Posted by Paul M (Post 1649520)
That is basically saying that the file cronbackup.php is not uploaded (to the correct place ?).

that I can fix can you tell me which file it should be in?

Thug 10-28-2008 01:49 PM

awsome worked a charm :)


All times are GMT. The time now is 11:59 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.02867 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (6)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