![]() |
Quote:
|
Quote:
Very nice feature, which i'll see if works tomorrow morning after my scheduled backup at 6am :) (already tested the run now thing) |
What settings would I set to make the script run every 2 days in the admincp task area?
|
Small problem...
While the task ran as scheduled and made the file in the correct area, the time was half an hour late... and there is no record of the script being run in the log. (view all). I selected log entries: yes. Any tips? |
I was wondering about this as well... I looked at the other cron scripts and noticed a call to the log_cron_action function. I tried adding:
PHP Code:
|
Quote:
|
Quote:
|
Quote:
What format for the path should we be using? /home/space/public_html/backupdir or ./backupdir ? |
thanks, this worked for me! :p
btw, Martyjp , i used the 1st path you mentioned. /home/space/public_html/backupdir |
nobody could help me ? :(
|
I hope the "extended version" will be released soon, which switches the board offline for the backup-process - and of course turns it on again after finishing ;)
|
ThePartyBorg,
I am also backing up to another server. Why not just write a system cron that will take the datadump from this vBcron and ftp it to the other box? Brad.loo, Nice job! One question -- would it be possible to exclude tables from this (search/word/etc) so as to pare down the size of the datadump? |
Quote:
|
anychance of being able to actually reload the backup back though this proggie as i dont have a clue of how to telnet in and do it that way.
On vb2 someone made a hack that did just this it saved to a folder on the server and you could also re-install it if needed.If this was added this would be a cool hack esp for someone like me as this is one of the major reasons i wont update to vb3 cause my host wont allow outside connections so i cant use a program like MYSQLfront to do it all for me. Plz consider it :) |
I'm getting this error:
Parse error: parse error in /home/******/public_html/forum/includes/cron/****.php on line 31 |
Quote:
PHP Code:
|
Quote:
Anyway, Brad.loo, s'up? When can we expect an update with the new features? I think this is one of the best "hacks"/additions to vB3 so far. So keep up the good work! https://vborg.vbsupport.ru/external/2011/01/19.gif |
bump?
|
Quote:
PHP Code:
|
I vote for the ability to move the backup to a different server too!
I would like to have the backups ftp'd to my home ftp-server, but i doubt i can set any system cron's on my hosting site. |
Quote:
MySQL backup All Done vBulletin v3.0.0 Release Candidate 3, Copyright ?2000-2004, Jelsoft Enterprises Ltd. Fatal error: Call to undefined function: query() in /home/mywebiste/www/forum/includes/functions.php on line 501 But no backup is made:-( |
That is the best hack in 2004.
Thank you |
Hello
Yesterday I installed this hack like that : https://vborg.vbsupport.ru/ Today I login to Ftp and I see that : https://vborg.vbsupport.ru/ Tell me please what the problem? Thank you |
Quote:
|
Quote:
|
Quote:
But did you notice ( in my images ) that hack does not deleted last backup files? untill now I deleted laste backup files manualy every day. Tell me please what's the problem ? Best regards :) alkahf |
This Hack only makes a backup of the database !
There ist no code for deleting old backups. If you want to do that you have to add a line like exec('rm ' .DUMP_PATH. '/yourolddatabasename.tar.gz'); in your cron_dbbackup.php file before backing up the actual db |
Or you can cause the hack to overwrite with the latest backup (weekly) by using the day of the week modification, instaed of the unix timestamp filename...
|
arggh !
I configured in the options to log the activity of this backup script, but I no activities are logged ! Script is running fine every day and backing up the db. anybody an answer or solution ? |
Don'r work for me. no backups recorded.
: Database Backup Done vBulletin v3.0.0, Copyright ©2000-2004, Jelsoft Enterprises Ltd. My defs: // Set these vars up to to suit your server define('DB_HOST', 'localhost'); // database host define('DB_USER', 'dbusername'); // database username define('DB_PASSWORD', 'dbpass'); // database password define('DB_NAME', 'dbname'); // vbulletins database name define('DUMP_PATH', '/public_html/foruns/dbBackup'); // path to where db backup will be stored define('DUMP_MAKE_TAR', 1); // set this to 1 for the backup to be compressed in a .tar.gz file // end changes What I made wrong? |
Quote:
also there is a typo in forums ;) Did you change your /forums/dbBackup folder to 777 with chmod ? |
Quote:
Now work great:) |
Well this seems to be creating 3 new files in my backup folder but i'm still getting this error
Backup Done vBulletin v3.0.0, Copyright ©2000-2004, Jelsoft Enterprises Ltd. Fatal error: Call to undefined function: query() in /home/anabol/public_html/forum/includes/functions.php on line 500 Can someone help? |
oh and the files are
error.txt *.sql - 0.13GB *.tar.gz - 15mbs |
Interesting hack and I could use this for a customers site, one quick question though, any plans on implementing a feature to email the backup? If not I will add it for myself as I could really use this feature...
|
Quote:
|
Quote:
|
You could always PM it if you come up with something before you hear from the author. ;)
|
Quote:
|
Thank you, sir. Will be looking forward to it. ;) I have the attchmnets in PMs hack on my site if that will make it easier for you. ;)
|
All times are GMT. The time now is 11:44 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:
|