[ABD] Auto db Backup

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
Locked
DSMFool
Registered User
Posts: 3
Joined: Sat Oct 21, 2017 10:31 pm

Re: [3.2][RC] Auto db Backup

Post by DSMFool »

Hello,

I actually wasn't aware how phpBB was calling the cron jobs. Is it actually modifying a crontab file or is it just an internal phpbb 'cron' function that's called?

Either way, I did notice that it has been executing the cron jobs. It did in fact just require visitors/posts and since I was the only one monitoring the board yesterday these conditions weren't met.

I really want to thank you for your time. I appreciate it a lot.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [3.2][RC] Auto db Backup

Post by david63 »

David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [3.2][RC] Auto db Backup

Post by RMcGirr83 »

You can try this

Make a backup of your database before attempting

go into phpmyadmin and into the, usually called, phpbb_ext table. Within it you will see

Code: Select all

pico/autodbbackup
and under ext_active it will be 1, change that to a zero then via FTP delete the entire production folder.

Try your forum again. If you can then login, go into the ACP and under extension choose "delete data" from the autobackup extension and once done remove the extension, again via FTP, from the extension directory.

I just tried these exact steps and was able to get back onto my test forum.

PS you probably should have posted this in the extension support area instead of within this development topic.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
eunaumtenhoid
Registered User
Posts: 1007
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][RC] Auto db Backup

Post by eunaumtenhoid »

language files changed?
ext_autodbbackup.php >> ext_enable_error.php?
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [3.2][RC] Auto db Backup

Post by david63 »

eunaumtenhoid wrote: Fri Dec 08, 2017 1:42 pm language files changed?
ext_autodbbackup.php >> ext_enable_error.php?
What does that mean?
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
eunaumtenhoid
Registered User
Posts: 1007
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][RC] Auto db Backup

Post by eunaumtenhoid »

currently the language file and this ext_enable_error.php? for translation
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [3.2][RC] Auto db Backup

Post by david63 »

eunaumtenhoid wrote: Fri Dec 08, 2017 2:22 pm currently the language file and this ext_enable_error.php? for translation
Still don't understand
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
eunaumtenhoid
Registered User
Posts: 1007
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][RC] Auto db Backup

Post by eunaumtenhoid »

in the download, the translation files are different
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes
toastedoat
Registered User
Posts: 2
Joined: Mon Apr 07, 2014 10:14 pm

Re: [3.2][RC] Auto db Backup

Post by toastedoat »

I ran into the same type of issue after upgrading to 3.2 and forgetting to disable the old version, here is the SQL query that I executed to disable the extension so that I could even get into the board (I use webmin server to connect to the MySQL instance):

select * from phpbb_ext (this got me the extension name in the database)
UPDATE phpbb_ext SET ext_active = 0 WHERE ext_name = 'pico/autodbbackup'

Then I did a manual purge of phpBB3/cache (everything except index.htm)

Obviously you can modify the above for any other extensions causing grief after the upgrade
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [3.2][RC] Auto db Backup

Post by david63 »

toastedoat wrote: Fri Dec 08, 2017 4:56 pm Obviously you can modify the above for any other extensions causing grief after the upgrade
Unless you know what you are doing running a query like that may well create more problems than it solves.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
Galixte de EzCom
Registered User
Posts: 1106
Joined: Mon Oct 04, 2004 11:14 pm
Location: France
Name: Raphaël M.
Contact:

Re: [3.2][RC] Auto db Backup

Post by Galixte de EzCom »

eunaumtenhoid wrote: Fri Dec 08, 2017 1:42 pm language files changed?
ext_autodbbackup.php >> ext_enable_error.php?
Yes, on 5 july 2017 david had updated the language files: https://github.com/david63/david63-auto ... 68c3897cc1. But, what’s your question (what do you want to know) ?
Communau EzCom
📖 « Traductions d’extensions & styles pour phpBB 3.2.x & 3.3.x ».
📋 Lists of all extensions identified for phpBB 3.1.x & 3.2.x.
📋 Lists of all styles identified for phpBB 3.1.x & 3.2.x.
Image Tu as un forum et tu veux aussi un site web ? Regarde par ici.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [3.2][RC] Auto db Backup

Post by david63 »

accs-p wrote: Thu Dec 14, 2017 9:30 pm The only cron setting I found was under ACP -> GENERAL -> SERVER CONFIGURATION -> Server settings. In this screen, the Run periodic tasks from system cron: parameter is set to No.
That has nothing to do with this extension and relates to using system cron - this extension uses phpBB cron.

The most likely reason that the backup is not running is the way that phpBB cron works. It will run the next time that the board is accessed after the time interval, but only if it is the next cron job to be ru. There are several core cron maintenance jobs that are being run all the time and it all depends where the backup is within that list of jobs. On a busy board it is not normally noticeable but if the board is quiet then it can take quite a while to run. On my local test board I sometimes have to keep accessing the board continuously for two or three minutes before I can force it to run.
accs-p wrote: Thu Dec 14, 2017 9:30 pm Also, I found something that appears to be a bug.
That sounds as if there is something wrong with your setup - cookies, .htaccess, caching as I have never seen, or heard, of it happening before.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [3.2][RC] Auto db Backup

Post by david63 »

I have never tried running it via cli but if all you are doing is invoking the cron task to run at a specified time then I suspect that you will still have the problem of other cron jobs being in the queue ahead of this one
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [3.2][RC] Auto db Backup

Post by david63 »

accs-p wrote: Sat Dec 16, 2017 10:30 pm Perhaps the easiest way to handle this is to have a flag to not change the minute portion of the run time.
That is already programmed in the next version
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
draky
Registered User
Posts: 250
Joined: Tue Dec 10, 2002 2:04 pm
Location: France
Name: Gilles W.
Contact:

Re: [3.2][RC] Auto db Backup

Post by draky »

Nice tool :)

In OP, you tell about "sending files using event", is it doable in admin panel ?
Locked

Return to “Abandoned Extensions”