vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   General Hosting/Server Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=197)
-   -   Automatic Database Back-up ! (https://vborg.vbsupport.ru/showthread.php?t=119828)

phonexpo 06-28-2006 09:19 PM

Automatic Database Back-up !
 
I've just installed a hack/product called Databack, the instructions are;

Quote:

Upload the databack.php file to your includes/cron/ directory
Upload the product-databasebackup.xml file using the upload new product link in your admin cp panel.
Add new Scheduled Task:
Admincp -> Scheduled Tasks -> Add New Scheduled Task
Title: Automatic Database Back-up
Day of the Week: *
Day of the Month: *
hour: 23
Log Entries: Yes
Filename: ./includes/cron/databack.php
This will backup your database every 23 hours. Change it if you want. :)
My friend who has a vB forum to sent it to me to try out, I can't find it here on the forum.

Anyway I set it, but I don't know where the .sql file is save on the server. I'm no good at reading codes, could someone look and see if they know the path?

Thanks,

Patrick

ps - please let me know if uploading this file is not allowed.

COBRAws 06-28-2006 10:39 PM

Hello pal, I use the same hack and works great!

First of all you need to upload that PHP files, and then install thre product. I believe you know how to do it.

Then, go to vBulletin Options > Database Backup Settigs

There you will have to write down the path where your SQL or GZIP file will be dumped.

I have them stored under a BASE dir, for example /home/YourAccount/dbBackup/

If you need more help just let me know!

phonexpo 06-28-2006 11:23 PM

;) Thank you COBRAws, have it sorted now. I didn't know;

Quote:

Then, go to vBulletin Options > Database Backup Settigs
Working 100% with vB360 !

Great little hack !

:)

Patrick

Paul M 06-28-2006 11:35 PM

Quote:

Originally Posted by phonexpo
ps - please let me know if uploading this file is not allowed.

I'm afraid I have removed the file.

I'm assuming from your post that you are not the author, therefore we cannot allow it to be posted unless the author confirms they are happy for it to be released here - and in that case it should be done in the proper manner, in the release forums.

phonexpo 07-07-2006 11:43 AM

No problem Paul. Thanks :)

Guest210212002 07-15-2006 11:43 PM

As a side note, if you run *nix and have shell access, I have a much easier method to automate your DB backups in my sig.

Vi3t4Lov3 07-21-2006 12:03 AM

<font color="DarkRed">I need help... I need to restore my database. What utility do I use with databack to restore the entire backed-up file to my database? My backup file is 95 M so using phpmyadmin is out of the question as it will time out.
I would really appreciate the help. </font>

Guest210212002 07-24-2006 01:25 PM

How does databack save the file? Is it a .sql extension?

If so, upload your latest backup to your server, and then execute:

mysqldump --opt -u user -p dbname > path/to/yourbackup.sql

Marco van Herwaarden 07-29-2006 04:36 PM

Vi3t4Lov3,

You are currently showing up as unlicensed. To be able to download hacks and/or receive support here at vBulletin.org, we ask you to please click here (vB-germany users click here) and enter your email address, to show us that you are licensed.

You will need to use your customer number and password (which will be in the email you got when you paid for your license) to access that page. Please note that your email is case sensitive. The update of your account may take up to one hour.

Thank you.

Ordovicium 08-06-2006 03:49 PM

Does anyone of you post here the link to the product. Can't find it again, and I love it.


All times are GMT. The time now is 04:40 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.01068 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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