[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!
Anti-Spam Guide
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)
jackennils
Registered User
Posts: 65
Joined: Mon Jun 01, 2009 7:48 pm

Re: [3.2][RC] Auto db Backup

Post by jackennils » Fri May 05, 2017 3:17 pm

WelshPaul wrote:
Sun Apr 23, 2017 10:00 am
jackennils wrote:
Sun Apr 23, 2017 1:24 am
Is this still in the making? Time zone issue fixed? :?:
Nope, replacing this:

Code: Select all

			$dst = date('I', $time);
			$this->backup_date = mktime($hour + $dst, $minute, 0, $month, $day, $year);
With:

Code: Select all

$this->backup_date = mktime($hour, $minute, 0, $month, $day, $year);
Fixes the issue for me.
Worked for me. Thank you.

Just for the records: I'm in CEST time zone (UTC+2).

User avatar
Galixte de EzCom
Registered User
Posts: 809
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 Jun 20, 2017 9:04 am

Communau EzCom
Image « Traductions d’extensions & styles pour phpBB 3.1.x & 3.2.x ».
ImageLists of all extensions identified for phpBB 3.1.x & 3.2.x.
ImageLists of all styles identified for phpBB 3.1.x & 3.2.x.

User avatar
Galixte de EzCom
Registered User
Posts: 809
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 Jun 20, 2017 10:13 am

On fresh install of phpBB 3.2.0 with this extension activated, i have this notice from debug mode on top of window:
[phpBB Debug] PHP Notice: in file [ROOT]/ext/david63/autodbbackup/cron/task/core/auto_db_backup.php on line 77: date_default_timezone_set(): Timezone ID '' is invalid
After setting options from auto db backup the notice message disappears.

But, if i set 12h for the next auto db backup in parameters, i save the page, and the hour new is setted on 13h, why ?
Communau EzCom
Image « Traductions d’extensions & styles pour phpBB 3.1.x & 3.2.x ».
ImageLists of all extensions identified for phpBB 3.1.x & 3.2.x.
ImageLists of all styles identified for phpBB 3.1.x & 3.2.x.

User avatar
david63
Jr. Extension Validator
Posts: 12989
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 » Tue Jun 20, 2017 10:18 am

Galixte de EzCom wrote:
Tue Jun 20, 2017 10:13 am
But, if i set 12h for the next auto db backup in parameters, i save the page, and the hour new is setted on 13h, why ?
It is a known problem that I need to fix.
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 or as they will be ignored

User avatar
Jorup16
Registered User
Posts: 384
Joined: Sun Dec 14, 2008 5:13 am
Location: Zacapa, Guatemala
Name: Jorge
Contact:

Re: [3.2][RC] Auto db Backup

Post by Jorup16 » Mon Sep 18, 2017 5:43 am

Nice extension! 8-)

User avatar
karbiko
Registered User
Posts: 53
Joined: Thu Jul 24, 2008 8:47 pm
Location: La Palma, Canary Islands, Spain

Re: [3.2][RC] Auto db Backup

Post by karbiko » Wed Oct 11, 2017 8:57 pm

Hi, I'm having a problem while setting this ext..

I set all variables and when I choose date, it shows me a message saying year value must be less or equal to 1971!!

I choose 2017-10-14 at 23:00, in next future... but I always have that message...

I have 2.1.0 rc2 version of the ext, running in phpbb 3.2.1 and php is 5.6...

See this pic with message in spanish
Image

User avatar
Galixte de EzCom
Registered User
Posts: 809
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 » Thu Oct 12, 2017 12:59 am

Too complicated to translate the message in english? :roll:
Communau EzCom
Image « Traductions d’extensions & styles pour phpBB 3.1.x & 3.2.x ».
ImageLists of all extensions identified for phpBB 3.1.x & 3.2.x.
ImageLists of all styles identified for phpBB 3.1.x & 3.2.x.

User avatar
david63
Jr. Extension Validator
Posts: 12989
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 » Thu Oct 12, 2017 6:15 am

I have never seen or heard of that happening before. It would suggest that there is a problem with the time, possibly on your PC
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 or as they will be ignored

User avatar
karbiko
Registered User
Posts: 53
Joined: Thu Jul 24, 2008 8:47 pm
Location: La Palma, Canary Islands, Spain

Re: [3.2][RC] Auto db Backup

Post by karbiko » Sun Oct 15, 2017 12:23 pm

[/quote]
Galixte de EzCom wrote:
Thu Oct 12, 2017 12:59 am
Too complicated to translate the message in english? :roll:
I did!:
karbiko wrote:
Wed Oct 11, 2017 8:57 pm
...it shows me a message saying year value must be less or equal to 1971!!
david63 wrote:
Thu Oct 12, 2017 6:15 am
I have never seen or heard of that happening before. It would suggest that there is a problem with the time, possibly on your PC
Time in my computer?
It is configured and showed ok:
Image

what a strange thing!!!

User avatar
david63
Jr. Extension Validator
Posts: 12989
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 Oct 15, 2017 12:45 pm

That error message is not coming from the extension so I would be inclined to start thing that it is something to do with the browser or a browser add on. Which browser are you using?

What is making me suspicious about this is saying 1971 which, as we all know, is one year greater than the default year that most computers use.

If you switch to using English language what happens?
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 or as they will be ignored

User avatar
karbiko
Registered User
Posts: 53
Joined: Thu Jul 24, 2008 8:47 pm
Location: La Palma, Canary Islands, Spain

Re: [3.2][RC] Auto db Backup

Post by karbiko » Sun Oct 15, 2017 9:38 pm

Finally, I disconnected the ext, erased all data and uninstalled it.

I did a new installation and now everything is correct.

Thanks for the help and support!

DSMFool
Registered User
Posts: 3
Joined: Sat Oct 21, 2017 10:31 pm

Re: [3.2][RC] Auto db Backup

Post by DSMFool » Sat Oct 21, 2017 10:53 pm

Hello,

I'm having some issues with this extension. In short it's not working automatically. I have the cron status extension installed so I can see when my cron jobs are slated to run, and when they run. I can also manually run the cron job.

Manually running the cron job through the cron status extension works, however when the cron job runs automatically on schedule no backup file is created in /store.

I've attempted to disable/delete files and enabling the extension again. I've also tried .gzip and text backups. Neither work. (gzip compression works from manual backups)

/store is chmod to 777

Is there a log file that I can check to further troubleshoot this issue? I'm running phpBB 3.2.1, and auto backup 2.1.0rc2.

Thank you in advance!

User avatar
Galixte de EzCom
Registered User
Posts: 809
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 » Sun Oct 22, 2017 1:06 am

See the Apache logs.
Communau EzCom
Image « Traductions d’extensions & styles pour phpBB 3.1.x & 3.2.x ».
ImageLists of all extensions identified for phpBB 3.1.x & 3.2.x.
ImageLists of all styles identified for phpBB 3.1.x & 3.2.x.

DSMFool
Registered User
Posts: 3
Joined: Sat Oct 21, 2017 10:31 pm

Re: [3.2][RC] Auto db Backup

Post by DSMFool » Sun Oct 22, 2017 4:11 am

Hello,

Thanks for the quick reply. Is there anything in particular that I should be looking for? I don't see any errors, or anything that really sticks out.

Why would the 'Run' link work on my Cron Status addon, but not the actual cron job starting on its own?

This is a GoDaddy host if it helps. Again, thank you for your time!

User avatar
david63
Jr. Extension Validator
Posts: 12989
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 Oct 22, 2017 6:29 am

DSMFool wrote:
Sun Oct 22, 2017 4:11 am
This is a GoDaddy host if it helps.
That in itself should not be a problem - but who knows with Godaddy?

Perhaps you are not aware of how phpBB cron works - it is only triggered when somebody visits your board so if you have a backup time set at, say, 11:00 the job will only run when the board is visited after that time, and only then if there are no other cron jobs waiting before it in the queue.

When this extension runs there will be an entry in the board's Admin log.
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 or as they will be ignored

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: Binano, mykee, Naguissa, nou nou, wangshi, Yandex [Bot], zorni and 18 guests