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

ForumUser210 11-09-2009 08:48 AM

Quote:

Originally Posted by DontWannaName (Post 1911875)
Worked for me but if we backup everyday to be safe, and it does this for a long time, it will take up a lot of space. How can we delete old backups every month?

I download my daily backup, and delete it right after I download.

In my experience, I figure I don't need more than one backup, so there is no reason to have a list of them piling up.

ForumUser210 11-09-2009 08:49 AM

Quote:

Originally Posted by Alucard^ (Post 1900882)
Hi,

I have a question, sorry if this is answered but I didn't see nothing about that in the first page.

This plugin make a backup, good, but if I did it a backup (without this plugin) and I want to upload this backup, I can use this for that? or this is only to make backups?

Thanks and sry if I writed something wrong, my english isn't perfect.

To restore a backup, use BigDump:

http://www.ozerov.de/bigdump.php

control1110 11-10-2009 01:20 AM

I have a few questions,

1) I am assuming no but im going to ask to make sure, Can you compress in gzip format?

2) I set my to backup every hour with date format Y-m-d-G but it creates another folder for each backup not really a big detail but I would prefer one folder for each day. Any possible way to do this?

3) Is there a way to automatically delete backups more than a week old?

4) For the exclude list for tables can you use wildcards like prefix_*?

Thanks

Paul M 11-10-2009 09:19 AM

Hi,

1. No, tho I think someone posted some code to do this somewhere in the thread.

2. I use the format "l" (lowercase L) - this simply sets it to the day of the week, so you always have just 7 folders.

3. See 2.

4. Nope.

gerbil249 11-10-2009 10:24 PM

XML Error: syntax error at Line 3

BlackJacket 11-18-2009 12:08 AM

Paul i have this installed on my VB3 board but wanted to know if it would work with VB4 and if not, would you be able to make a version for VB4?

Thanks Paul! :)

control1110 11-18-2009 05:05 AM

Quote:

Originally Posted by Paul M (Post 1912308)
Hi,

1. No, tho I think someone posted some code to do this somewhere in the thread.

Did search and just read through the entire thread no one has posted any code on how to gzip, or I just missed it, if someone finds it please like me know

Paul M 11-18-2009 11:20 AM

Quote:

Originally Posted by NittoMOD (Post 1916316)
Paul i have this installed on my VB3 board but wanted to know if it would work with VB4 and if not, would you be able to make a version for VB4?

Thanks Paul! :)

I have no idea if it works with vb4 atm.

I suspect it probably will, since it doesnt rely on any templates or hooks.

I also expect there will be a vb4 version, when I have the time to look into it.

BlackJacket 11-19-2009 04:26 AM

Quote:

Originally Posted by Paul M (Post 1916551)
I have no idea if it works with vb4 atm.

I suspect it probably will, since it doesnt rely on any templates or hooks.

I also expect there will be a vb4 version, when I have the time to look into it.

I tried it in VB4 and it did not work. This is the error message "An error occurred during backup"


I have installed this mod on two other boards so the setup was correct. I rechecked the directory and file permissions just to make sure which still did not work.

Thanks Paul. :)

JVSP 11-30-2009 09:10 PM

Working fine in 4.0 just tested it. Had to remove minversion and maxversion in the xml to install.

GreenKman 12-01-2009 12:10 AM

I can't seem to get this to work. When I click 'Run Now' I don't get an error code, I just get the following message:
Quote:

Automatic Database Backup for vBulletin

An error occured during the Backup :
I'm not sure what's wrong. Do you think you can help?
Thanks in advanced. :D

Paul M 12-01-2009 10:58 AM

That message doesnt really help. 99% of problems are write permission errors on the folder.

ChopSuey 12-01-2009 10:35 PM

You need to set the path correctly
/home/user/backups/
Thats how i have mine set, i get backups everyday.
Works great. MAKE SURE its in the same place as public_html
Needs to be CHMODDED to 777.

GreenKman 12-02-2009 02:29 AM

Quote:

Originally Posted by ChopSuey (Post 1923731)
You need to set the path correctly
/home/user/backups/
Thats how i have mine set, i get backups everyday.
Works great. MAKE SURE its in the same place as public_html
Needs to be CHMODDED to 777.

That did it! I had the directory wrong. Thanks a ton! This is a GREAT mod.

Forumi Shqiptar 12-02-2009 03:10 AM

Does it affect larger vbulletin boards? As i have to back mine up using shell as PHP and MYSQL keeps breaking the connection because of a larger information that my board holds and also photos too.

Waiting for a reply and many thanks in advance.

Paul M 12-02-2009 11:46 AM

Define "Larger".

SilabGarza 12-11-2009 06:24 PM

eh took 45 seconds for mine to make a backup, giant forum (in my opinion) still trying to figure out the way it saves lol

SilabGarza 12-11-2009 06:40 PM

it does all this loading and stuff when i click run now, but i can't find the location it saved it if it did....

heres wat i have in the vb option part

Backups Path
./recover/backups

billb 12-12-2009 11:01 PM

marked as Installed
many thanks Paul

SilabGarza 12-15-2009 10:18 PM

wats the directory it automaticly saves to..?
cuz i can't figure out wat the path is suppose to be..

armthehomeless1 12-15-2009 10:22 PM

Please support vB 4.0 :D

McCarroll21 12-16-2009 10:03 AM

Quote:

Originally Posted by armthehomeless1 (Post 1931417)
Please support vB 4.0 :D

This works in vB 4. You have to go into the product XML file and remove the minversion and maxversion fields.

Change lines 10-12 in the XML file from this:
Code:

        <dependencies>
                <dependency dependencytype="vbulletin" minversion="3.8.0" maxversion="3.8.99" />
        </dependencies>

to this:
Code:

        <dependencies>
                <dependency dependencytype="vbulletin" />
        </dependencies>

After doing that, you should be able to import it just fine.

cheat-master30 12-18-2009 10:57 PM

Great work, so installed. Seems to work fine, the only long part is actually downloading the backup from the server my site is actually on.

ayman1204 12-24-2009 12:40 PM

thanks man
Installed

itznfb 12-28-2009 01:20 PM

So, if my forum is hosed and I can't access the forum main page or admin portal how can I restore the database directly?

bleros 12-29-2009 11:19 PM

bro look i create folder backups but why when i run manual from Scheduled Tasks one folder is created with backups2009 and date and the backups continues but is stoped with error in my admicp internal server error

see pic
http://img710.imageshack.us/img710/1308/80315426.png

bleros 01-15-2010 03:44 AM

Paul this thread is Supported i think . maybe u can edit thread and make it Unsupported thanks

Paul M 01-15-2010 08:04 AM

Nope, Im not editing it.

However, I do not support server level errors (for example permissions).

In this case I dont understand what your actual problem is.

Mecho 01-19-2010 11:04 AM

in last few days , it wont finish the backup . so forum would be closed until i came online and run it via Cpanel !

Any idea what should i check and fix ?

Thanks

p.s. i have my own dedi

Paul M 01-19-2010 11:26 AM

Run it manually and see what happens.

As for the closed option - turn that off - its not always reliable, and has been removed in the 4.0 version.

flashwave 01-19-2010 03:07 PM

Empty backup file...

I already read through the whole thread to get this Mod running on my forum, before asking.

When run manually:

Quote:

Automatic Database Backup for vBulletin
An error occured during the Backup :
It's neither a backup folder path problem nor a write permission problem, since the [date] folder is created and the backup file inside is created as well. The backup file is empty, however (size= 1 byte).


My vb version is 3.8.4 PL2

Any help would be much appreciated. :)

Paul M 01-19-2010 07:35 PM

I have no idea - there is no error message which is strange in itself. Without admin/ftp access there is nothing I can tell you.

bleros 01-21-2010 09:27 AM

Ok Paul i change server now is work fine, but i not create folder the folder created his /home/user
is thir correct?

Paul M 01-21-2010 12:41 PM

Sorry, Im not sure what your asking. The folder can be any name you want.

yoyoman 01-28-2010 05:04 PM

Installed and marked!
Thanks for the MOD!

samiro 01-30-2010 11:47 AM

what about upgrading to vb4 ?

yoyoman 02-01-2010 12:01 AM

Quote:

Originally Posted by princeedward (Post 1876272)
thanks and all workin now....hope so....having error using this ../../backups/

instead use this ././backups/ now its all okay...

will see how it work auto tommorrow...one thing is this going to have only 1 fresh backup daily? not the old way to have the daily back up files?...so everytime it backup our database...it gonna change the old one with the fresh and latest one?
if it is...great and better than before..


i'm not getting this...

InnoDB Tables
Set to yes if you have any innodb tables
...care to explain this pls.


million thanks Paul M

;)

Thanks a lot! Fixed my problem!
Guys, if you get the "An error occured during the Backup:" message and no error description whatsoever, them try changing ../../backups/ to ././backups/

Paul I think you should definitely add this to the description.
Thanks for the hack!

Paul M 02-01-2010 10:04 AM

The path is entirely down to your server and personal set-up, I cannot add that to the description.

You should note that ././backups/ is the same as ./backups/ and means the backup folder is within your publicly available website - which means anyone can potentially access your backups.

slowphantom 02-06-2010 02:52 PM

i got error after i used :v3.8.002 : Moved most of options to ACP.

Quote:

Fatal error: Maximum execution time of 30 seconds exceeded
in includes/mysqlbackup.php on line 468
and some time on line 474
i never had error with the old one

any help pls

Thank you

Paul M 02-06-2010 06:54 PM

That is a server issue, your php is set to a 30 second limit.


All times are GMT. The time now is 07:32 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.01632 seconds
  • Memory Usage 1,819KB
  • 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
  • (11)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