[3.2][RC] Auto db Backup

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
Galixte de EzCom
Registered User
Posts: 944
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 » Sat Jun 09, 2018 10:07 am

accs-p wrote:
Fri Jun 08, 2018 5:52 am

I'm running this on a Linux-based Hosting service, and I have the same problem (inadequate usage during "off-hours"). To resolve this, I created a cron job

Code: Select all

# Run the phpBB crontab command
*/5 * * * * /usr/local/bin/php /home/user/forum-directory/bin/phpbbcli.php cron:run
This runs the phpBB cron check every 5 minutes.

I expect that Windows can do something similar.

It should be noted that the backup will slowly shift to a later time. This issue has been addressed previously in this topic.
Before to do that, in ACP on the “Server settings” page you have to activate the setting “Run periodic tasks from system cron”.
Communau EzCom
📖 « Traductions d’extensions & styles pour phpBB 3.1.x & 3.2.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.

Havym
Registered User
Posts: 44
Joined: Sun Jan 29, 2017 3:50 pm
Location: Netherlands
Name: Marco

Re: [3.2][RC] Auto db Backup

Post by Havym » Tue Aug 28, 2018 4:32 pm

Maybe i'm the only one with this problem, maybe it isn't a problem after all.
Every time when the auto backup system creates a backup the timer is placed about an hour in advance.
Every backup the clock is placed in the future.

For example. The timer is set at 2am. When i click Ok the timer goes to 3am. The next day the database is created at 4:15am en so on..

User avatar
Galixte de EzCom
Registered User
Posts: 944
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 » Tue Aug 28, 2018 8:52 pm

Communau EzCom
📖 « Traductions d’extensions & styles pour phpBB 3.1.x & 3.2.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.

Havym
Registered User
Posts: 44
Joined: Sun Jan 29, 2017 3:50 pm
Location: Netherlands
Name: Marco

Re: [3.2][RC] Auto db Backup

Post by Havym » Wed Aug 29, 2018 2:59 pm

Ah thanks for the links. The extension does make a backup but changes the new time of backup like in the 2nd link.
Now i know why the backup isn't exactly on time, but why does it it change future backups after every backup? same issue?

User avatar
david63
Jr. Extension Validator
Posts: 14656
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][RC] Auto db Backup

Post by david63 » Wed Aug 29, 2018 3:07 pm

Havym wrote:
Wed Aug 29, 2018 2:59 pm
but why does it it change future backups after every backup? same issue?
There is a minor problem that I have not had time to get to the bottom of which is to do with timezones/server time/DST
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
martti
Registered User
Posts: 622
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][RC] Auto db Backup

Post by martti » Fri Aug 31, 2018 10:04 am

david63 wrote:
Wed Aug 29, 2018 3:07 pm
Havym wrote:
Wed Aug 29, 2018 2:59 pm
but why does it it change future backups after every backup? same issue?
There is a minor problem that I have not had time to get to the bottom of which is to do with timezones/server time/DST
Probably today the European Commission is going to abolish the Daylight Saving Time altogether. I would highly welcome it!
Last edited by martti on Sun Sep 23, 2018 8:33 am, edited 1 time in total.

fabioganga
Registered User
Posts: 15
Joined: Mon May 28, 2018 12:10 pm

Re: [3.2][RC] Auto db Backup

Post by fabioganga » Wed Sep 05, 2018 10:55 am

Hi everyone!

I have uploaded and enabled the extension, however I do not see its settings under the tab "extensions". I have also purged the cache to no avail.

Any help, please? Thanks!

Havym
Registered User
Posts: 44
Joined: Sun Jan 29, 2017 3:50 pm
Location: Netherlands
Name: Marco

Re: [3.2][RC] Auto db Backup

Post by Havym » Wed Sep 05, 2018 11:29 am

It is situated in the maintenance tab..

kamaleon
Registered User
Posts: 303
Joined: Tue Sep 09, 2014 9:47 am

Re: [3.2][RC] Auto db Backup

Post by kamaleon » Sat Sep 22, 2018 10:48 pm

Does it also backup the files?

I guess not... Can that be added?

User avatar
david63
Jr. Extension Validator
Posts: 14656
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][RC] Auto db Backup

Post by david63 » Sun Sep 23, 2018 2:47 am

kamaleon wrote:
Sat Sep 22, 2018 10:48 pm
Does it also backup the files?
No - the clue is in the name
kamaleon wrote:
Sat Sep 22, 2018 10:48 pm
I guess not... Can that be added?
No
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

kamaleon
Registered User
Posts: 303
Joined: Tue Sep 09, 2014 9:47 am

Re: [3.2][RC] Auto db Backup

Post by kamaleon » Sun Sep 23, 2018 8:23 am

But it makes no sense backing up the database without the files...

User avatar
Mick
Support Team Member
Support Team Member
Posts: 20008
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: [3.2][RC] Auto db Backup

Post by Mick » Sun Sep 23, 2018 8:26 am

Why? If you lose the files it's very easy to recover if you lose the db that's the end of it. In any case, if you're not continually editing core files and have one copy of the latest files you shouldn't need any more copies, they're static, the db isn't.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.

kamaleon
Registered User
Posts: 303
Joined: Tue Sep 09, 2014 9:47 am

Re: [3.2][RC] Auto db Backup

Post by kamaleon » Sun Sep 23, 2018 11:02 am

Need to test it, but if you had extensions enabled, probably you would get some nice errors when you only have the database backup to recover.

User avatar
david63
Jr. Extension Validator
Posts: 14656
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][RC] Auto db Backup

Post by david63 » Sun Sep 23, 2018 12:25 pm

kamaleon wrote:
Sun Sep 23, 2018 11:02 am
Need to test it, but if you had extensions enabled, probably you would get some nice errors when you only have the database backup to recover.
Not if you have the files (which you will already have downloaded) still in the ext folder
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

kamaleon
Registered User
Posts: 303
Joined: Tue Sep 09, 2014 9:47 am

Re: [3.2][RC] Auto db Backup

Post by kamaleon » Mon Sep 24, 2018 7:28 am

david63 wrote:
Sun Sep 23, 2018 12:25 pm
kamaleon wrote:
Sun Sep 23, 2018 11:02 am
Need to test it, but if you had extensions enabled, probably you would get some nice errors when you only have the database backup to recover.
Not if you have the files (which you will already have downloaded) still in the ext folder
So you should have backed up the files too, right?

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: Naguissa, nextgen, wads24 and 18 guests