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)
-   -   Vbulletin Database Backup Pro (Cron Support) (https://vborg.vbsupport.ru/showthread.php?t=78486)

Kirk Y 04-30-2005 02:20 AM

Quote:

Originally Posted by Razasharp
how were you hacked? via your vB admin panel? via your host account?

I guess you'll need to ascertain whether or not any other damage was done and for how long it was going on (u might need an earlier restore)

As far as I can tell our cPanel password was discovered...not that I know how, trust me when I say it was long. In any event our entire FTP was erased, as were all our mySQL Databases.

ochlocracy 05-01-2005 08:17 AM

Quote:

Originally Posted by Trigunflame
It's more of an issue on browser time, after helping a guy yesterday that had backup files of "1.1gb" timeouts were occuring during the backup, the problem being that for some reason you need to send data to the browser at some intervals to keep it from disconnecting.

Even though I have code that "supposedly" is supposed to ignore browser disconnection, I will need to make mods in version 2 that send updates to the browser..

possibly . . . . . etc..

May want to turn off forum shutdown for now, until the new version.

I was beating myself up over this for days, the backup works fine when it's run by the schuduler, but when I manual do it, the forum wouldn't turn back on. It because the timeout for your web server to too low. I set mine to 300 and it worked on command.

greenhybrid 05-01-2005 03:57 PM

My safemode is on. Is this a big deal?

The Realist 05-01-2005 04:46 PM

It would be safer to turn it off.

greenhybrid 05-01-2005 04:48 PM

Is that a play on words? Seriously, what does it do?

The Realist 05-01-2005 05:10 PM

Read these:

http://uk.php.net/features.safe-mode
http://www.webhostgear.com/166.html

carwash 05-04-2005 09:58 PM

I run this through the cron section of the admin panel, it says everything worked fine, but no file is created in the specified directory. Does anyone know why this is.

RichieBoy67 05-04-2005 10:43 PM

Is your specified directory CHmoded to 777???

carwash 05-05-2005 08:26 PM

Quote:

Originally Posted by RichieBoy67
Is your specified directory CHmoded to 777???

Yes it is. :surprised:

Kirk Y 05-07-2005 04:51 AM

I still need help: After restoring my vBulletin Board, it's stuck at the Backup in Progress screen...what do I need to do??

Paul M 05-07-2005 05:06 AM

Quote:

Originally Posted by acidburn0520
I still need help: After restoring my vBulletin Board, it's stuck at the Backup in Progress screen...what do I need to do??

Turn it back on via the ACP (options).

Kirk Y 05-07-2005 05:12 AM

When the board is disabled you cannot do anything. Login.php displays the same down page...

http://www.socomcity.net/forum/index.php is the website, if you'd like to see...

Paul M 05-07-2005 05:33 AM

Quote:

Originally Posted by acidburn0520
When the board is disabled you cannot do anything. Login.php displays the same down page...

http://www.socomcity.net/forum/index.php is the website, if you'd like to see...

You have to login direct to your ACP ;

http://www.socomcity.net/forum/admincp/index.php

xZEUSx 05-07-2005 05:51 AM

When you try to log in it takes you right back to the index were the Backup Database message is displayed.

I know this because Im also an admin for the site...who paid the money for it. So if you have any other ideas please post them.

Kirk Y 05-07-2005 03:23 PM

Quote:

Originally Posted by Paul M
You have to login direct to your ACP ;

http://www.socomcity.net/forum/admincp/index.php

I tried that, after I type in my Username and Password, I'm sent to login.php, where the Backup In Progress message is displayed.

xZEUSx 05-08-2005 12:54 AM

Hello? Can someone please help Acid and I with our problem.

Were still stuck at the Backup in Progress screen and we can't log in with the ACP.

AnaHost 05-11-2005 08:19 AM

Great

Thanx

AKOYLINI 05-15-2005 06:56 AM

hello if i run the script all is ok ,but in Scheduled job nothing happend,i make Scheduled
every 1hour and nothing happend.

Trigunflame 05-16-2005 05:02 PM

I will get around to all the problems ASAP. I've been gone for a while with some business related issues.

I will get Version 2 out ASAP; I am still working on some side projects such as the PHP Torrent tracker "Server", that runs on its own "lite http Server".

Benefits of this being all active data can be processes and handled in memory instead of relying on database queries.

As for DB Backup Pro 2, as I mentioned its a work in process.. I am having to rewrite the entire documentation and re-code it from scratch which is taking a while.. as I am trying to make it work like it should.

Christine 05-20-2005 10:19 PM

This is awesome. :D

If anyone wants the listing of all the tables to dump all except the postindex, search, and word tables (search), let me save you some typing:
Code:

$backup['TABLES'] = array('access', 'adminhelp', 'administrator', 'adminlog', 'adminutil', 'announcement', 'attachment', 'attachmenttype', 'attachmentviews', 'avatar', 'bbcode', 'calendar', 'calendarcustomfield', 'calendarmoderator', 'calendarpermission', 'cron', 'cronlog', 'customavatar', 'customprofilepic', 'datastore', 'deletionlog', 'editlog', 'event', 'faq', 'forum', 'forumpermission', 'holiday', 'icon', 'imagecategory', 'imagecategorypermission', 'language', 'mailqueue', 'moderation', 'moderator', 'moderatorlog', 'passwordhistory', 'phrase', 'phrasetype', 'pm', 'pmreceipt', 'pmtext', 'poll', 'pollvote', 'post', 'posthash', 'profilefield', 'ranks', 'regimage', 'reminder', 'reputation', 'reputationlevel', 'session', 'setting', 'settinggroup', 'smilie', 'stats', 'strikes', 'style', 'subscribeevent', 'subscribeforum', 'subscribethread', 'subscription', 'subscriptionlog', 'template', 'thread', 'threadrate', 'threadviews', 'upgradelog', 'user', 'useractivation', 'userban', 'userfield', 'usergroup', 'usergroupleader', 'usergrouprequest', 'usernote', 'userpromotion', 'usertextfield', 'usertitle');
[high]* Christine installs with thanks!![/high]

mkdevo 05-26-2005 11:44 AM

installed, and running perfectly.

i do have one question though - if you're backing up your db to a directory on your web server, and you CHMOD it to 777, what's stopping someone (assuming they find out what dir it is) from 'stealing' all of your data?

ImportPassion 05-26-2005 12:24 PM

you should NEVER backup to a dir in your webroot. go one level up.

neocorteqz 05-26-2005 08:20 PM

Quote:

Originally Posted by 7thgenCivic.Com
you should NEVER backup to a dir in your webroot. go one level up.

That, and if i recall, you need only chmod your directory to 755, and if you should choose to leave your backups to a directory in webroot, and not one directory above. You should ALWAYS password protect the directory. .htaccess is secure, easy and simple to do.

if you're running a windows server, well then you're outta luck. :p Ok not really. :)

Lionel 06-02-2005 04:28 AM

Trigunflame, do you remember the change that you did for me? It stopped backing up for a while now. In fact it backed up only for one week...

Greebo 06-02-2005 01:29 PM

Quote:

Originally Posted by Trigunflame
Sir. Read The Message.

Failover was initiated for MySQLDump Binary
but backup completed successfully.

If the dump exist in its path, then its ok. That is just informing you that the backup could not use MySQLDump, and had to resort to PHPDump.

I'm getting this too - I know its succeeding, but what would be causing it to be unable to use MySQLDump?

In my case, mysqldump is accessible from everywhere - but I get an error in apache sh: line 1: /mysqldump: No such file or directory each time it runs, even when I've explicitl mapped the path.

Greebo 06-02-2005 01:38 PM

Never mind - just read the bit about safemode blocking it.

:(

I guess phpdump is it. I'm not turning off safemode. :)

waza 06-04-2005 02:10 PM

Euh, It doesn't work :(.
I don't receive an error, but the file is not in the folder I wrote in the config file :s

kylek 06-04-2005 07:08 PM

Trying to learn and install this, done everything except when task is run manually get this error;

An error occured during the MySQL backup. Details (Could not open Destination SQL file for writing. (/httpdocs/forum/backups/06_04_05.sql))

Directory is / - has all web files on it - cant add a directory
/forum where forum is right now
/forum/backups where i have backups file

So the path is - $backup['DUMP_PATH' = '/forum/backups';

Is this the right path to use? Confusing to newbie!

kylek 06-04-2005 07:31 PM

Quote:

Originally Posted by kylek
Trying to learn and install this, done everything except when task is run manually get this error;

An error occured during the MySQL backup. Details (Could not open Destination SQL file for writing. (/httpdocs/forum/backups/06_04_05.sql))

Directory is / - has all web files on it - cant add a directory
/forum where forum is right now
/forum/backups where i have backups file

So the path is - $backup['DUMP_PATH' = '/forum/backups';

Is this the right path to use? Confusing to newbie!

Added full path and it works great - off to click 'install"

Bernd 06-05-2005 02:47 PM

Trying to backup the database after a faulty mod install, but I receive the following error:

You have an error in your sql syntax; check the manual that corresponds to your MSQL version for the right syntax to use near 'c4dportal < 1.sql' at line one.

I've emptied the c4dportal database and tried using the mysql command to restore the database.

waza 06-05-2005 04:41 PM

Bug:
If my forum is set to off, and I or My forum runs the backup script, it is still set to off, but The offline message isn't there and it is just like it's on.

clearchannel 06-06-2005 11:49 PM

I have installed and it works great clicks install.

One question. If I compress my database during backup, what is the syntax I use to restore the database?

excample: mysql -uusername -p databasename </home/virtual/site1/fst/var/www/html/forums/backups/databasename.sql.gz

Mosh 06-07-2005 02:28 AM

Quote:

Originally Posted by clearchannel
I have installed and it works great clicks install.

One question. If I compress my database during backup, what is the syntax I use to restore the database?

excample: mysql -uusername -p databasename </home/virtual/site1/fst/var/www/html/forums/backups/databasename.sql.gz

Firstly you need to run gzip to uncompress the archive:

gzip -d /home/virtual/site1/fst/var/www/html/forums/backups/databasename.sql.gz

Then run:

mysql -uusername -ppassword databasename < /home/virtual/site1/fst/var/www/html/forums/backups/databasename.sql

ADDITION: When you refresh the forum, you may have to login to the admincp, if you choose to turn them off when the backup was being performed:

goto vBulletin Options -> vBulletin Options -> Turn Your vBulletin On and Off -> Forum Active. Ensure the Yes radio button is selected and click Save (yes even if it was already selected the saving of it will re-enable the forums).

quachvu 06-07-2005 02:03 PM

hi i have this error
Fatal error: Call to undefined function: ini_get_all() in /var/www/web0/html/forum/includes/mysqlbackup.php on line 1794
any idea?

clearchannel 06-07-2005 09:36 PM

Quote:

Originally Posted by jdsinclair
Firstly you need to run gzip to uncompress the archive:

gzip -d /home/virtual/site1/fst/var/www/html/forums/backups/databasename.sql.gz

Thank you for the quick response.

I have one other small problem. If I run the script manually, the backup appears as intended in the backup directory.

It will not run automatically?
There are no logs enteries, the task manager states it is scheduled to run at the specficed time, but beyond that, nothing happens?

Great script BTW.

neocorteqz 06-07-2005 10:28 PM

Quote:

Originally Posted by clearchannel
Thank you for the quick response.

I have one other small problem. If I run the script manually, the backup appears as intended in the backup directory.

It will not run automatically?
There are no logs enteries, the task manager states it is scheduled to run at the specficed time, but beyond that, nothing happens?

Great script BTW.

started happening to me after I upgraded the script.

It may be the FTP dump option.

mkdevo 06-08-2005 12:13 PM

one problem - this doesn't seem to be pruning old backups for me. i have the # of backups to keep set to 2, but it just keeps adding to the backups that were already there..

n_wattam 06-09-2005 10:44 PM

<font color="red">I would like to see an option for restoring a database back... this also is a pain unless you have shell access.</font>

Dream 06-10-2005 05:10 AM

great! the exec() worked somehow :)

might I suggest putting the vb version in the filename, and maybe some other date format options

dsboyce8624 06-10-2005 07:42 PM

Okay, this ran fine until a couple days ago, now I get this:

Could not fetch database options. Shutting backup down.

Help please?


All times are GMT. The time now is 10:58 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.01731 seconds
  • Memory Usage 1,831KB
  • 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
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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