![]() |
Quote:
Yup, for the first time last night, I set the config to do one file and that's what I got. One humungous single file for restore, if I ever needed it. :D Regards, Badger |
Holy cow - worked the first try!! Awesome mod - thank you very much!!
|
Quote:
Make sure you set up your settings in the config file for the mod :) Great hack!!! Love it!! Really helps out when my host doesn't always give me the best SSH access :mad: |
Has anyone figured out how to put a conditional in, to delete backups which pass a certain age? like 7 days or something?
|
Quote:
It would be very useful... a rolling 7 days of backups as an example... Regards, Badger |
this may be a dumb question.. but where on my server should i put the files in the includes folder?
|
Destination folder is chmodded to 0777, however I'm still getting the error:
Quote:
It is a password locked folder -- from the outside. But it shouldn't affect backup, because I know I can manually back up via AdminCP. Please advise. |
Quote:
|
Edited path to root forum so it reads like:
$backup['DUMP_PATH'] = '/home/users/cabbage/'; // Path to backups folder, with trailing slash and chmodded the folder to 777. Still not working. Any ideas? |
Quote:
|
Some hosting systems (Plesk being an example) have default open_basdir settings that prevent the webserver writing to any files outside the domains root html folder. You have to check/change them.
|
the script stops after the largest table in database. How to overcome this?
thanks |
This may be unrelated to the backup itself, but right after this runs each morning my db/site seems to be having trouble restarting correctly. This doesn't happen every time but lately has occurred several times per week. Only the forumhome page starts correctly but all other pages have errors and won't display their content (just lines of errors). When I go in and turn vB off then back on, all pages display correctly. The errors occur right after the backup completes. Is there a command I could add to the end of the backup config file that would perform this restart procedure after the backup is completed?
|
How big of a database can this backup?
Thanks :) |
There is no limit other than what your server can handle.
|
Okay thanks, but I am somewhat confused. Their is the option of SSH backup and that can do big database backups, now with this one isn't it a script and could it "time out" on big databases?
I am somewhat new to database backups and don't fully understand them, so say my database is 500mb , this can back it up without timing out and would do a FULL backup?, now what do you mean "other than your server can handle"??? Sorry for all the questions, I truly appreciate the help :) |
I have a question, this may sound stupid however:
the backup isnt just 1 sql file, say I wanted to restore the database, would I have to load each .sql file that this backup saved? Say I had a database error, how would I go about restoring the database? sorry just trying to figure out how to use this since im used to the 1 .sql file |
When this backs up it put the sql into seperate files and not into a zip or something, how would I re-upload the database now???
Thanks :) |
As per the many previous posts on the subject, you have the choice to backup to a single file if you wish.
|
Quote:
Sorry found out how to do it now, wow!, this backs up the database so fast, how come it is this fast, it took like 3 seconds to do a backup, whereas I used another script and it took like 1 minute. I downloaded the backup file and it was 15 mb, now is this too large for a database? Now sorry but I have to ask this, how would I go about restoring the database from this 1 file?, please I need to know this. Thanks :) |
Hi Paul.... :)
I assume since my Client API version says it's 5.0.24a, I should change this option below to "0"? // Backup Optimizations $backup['MYSQL4'] = 1; // Set to 1 if you are using MySQL4 Thanks Regards, Badger |
I posted this question a couple days ago but now I have the actual error to go with it.
PHP Code:
Here is my original question: Quote:
|
I would guess there is some problem with the vboptions not being saved properly when the board is turned off/on by the mod.
I would just turn that option off in the config file (I don't use it). (set $backup['SHUTDOWN'] = 0) |
Quote:
Question on a different option setting ... I assume since my Client API version says it's 5.0.24a, I should change this option below to "0"? // Backup Optimizations $backup['MYSQL4'] = 1; // Set to 1 if you are using MySQL4 Thanks Regards, Badger |
It's actually an option for mysql4 or above, so you can leave it set to 1.
|
I really don't recommend people to install this, I know it royally screwed my site up, thank goodness for backups!
|
Quote:
|
Quote:
|
Quote:
Some problems were header links missing and a lot of functionality missing on the site. So now I will spend some time fixing up the site only because I had previous mods installed that have got messed up from re-storing the site, but if you do have problems like ones I have mention uninstall this mod to see if it is it(in my case it was) and do not go ahead and restore all your forum files like I had done :( Other than that I like the idea of the mod and the way it was working until these problems arose. |
I've had this installed since back in October when it was first released without any problems whatsoever.
|
The only time this modification can actually change anything on a site is if you use the 'shutdown' option to close your forum during a backup, in theory if the save of the options failed for some bizarre reason then the options in the datastore could get corrupted (simply editing an option would rebuild them I think).
Other than that, this has no capability to change anything, it's a "read only" modification. Given that the basic code (written by Trigunflame) has been in use for over two years without any other such reports, I'm inclined to conclude that something else caused your issue. If you have evidence otherwise then please feel free to contact me. (JFYI, This runs a backup on my site every night, and has done since the day 3.6 was released. I do not use the shutdown option.) |
I don't understand why the generated backup file is 53 megs when the file if I do a backup through SSH is 130 megs.
|
Quote:
Times out incompleted,the forum stays locked.Locking and unlocking is the only way to start functioning again. I installed it but cannot use it . It stops around 10 MB. (There is a large table which stops it.) Tried to save the result to the server,same result. |
I only have problems if the PHP Memory Limit is left at default.
I have to raise it to about 100mb then it runs fine, otherwise i get an error about the memory being exausted. |
For reference, our server PHP limit is 32MB, and SQL packet Size is 16MB.
Our largest table (post) is about 550MB, and it backs up fine. |
Quote:
|
Quote:
2. As per previous posts, did you use the 'shutdown' option. |
Quote:
Server Type Linux Safe Mode Web Server Apache v2.2.3 PHP 5.1.6 PHP Max Post Size 8.00 MB PHP Maximum Upload Size 16.00 MB PHP Memory Limit 64.00 MB MySQL Version 5.0.27 MySQL Packet Size 16.00 MB Any ideas? |
Turn off safe mode, I have a feeling that you cannot override the default php timeout in safemode, so the script is possibly timing out.
|
Quote:
2. Yes |
All times are GMT. The time now is 08:24 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|