[ABD] Backup Scheduler

Any abandoned MODs will be moved to this forum.

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

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
david63
Registered User
Posts: 18071
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: [BETA] Backup Scheduler

Post by david63 »

Updated to version 0.0.2

Added Utf-8 support
Added facility to FTP backups
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
XxXYonIXxX
Registered User
Posts: 38
Joined: Sun Apr 13, 2008 9:59 am

Re: [BETA] Backup Scheduler

Post by XxXYonIXxX »

When i want update this mod(from 0.0.1 to 0.0.2), i replace the files in folder:
"ROOT/schemas",
with the original.

Now, i get this problem:

Code: Select all

The install file, and/or the schemas folder, for this mod has not been deleted
hlep please,
yoni.
User avatar
david63
Registered User
Posts: 18071
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: [BETA] Backup Scheduler

Post by david63 »

XxXYonIXxX wrote:When i want update this mod(from 0.0.1 to 0.0.2), i replace the files in folder:
"ROOT/schemas",
with the original.
There is no need to copy the schema files for the update - it says in the update .xml file which files to copy.
XxXYonIXxX wrote:Now, i get this problem:

Code: Select all
The install file, and/or the schemas folder, for this mod has not been deleted
Do as it says delete the install file and/or the schemas 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
golgoth
Registered User
Posts: 199
Joined: Tue Jul 18, 2006 11:36 pm

Re: [BETA] Backup Scheduler

Post by golgoth »

Im getting this error whenever i try to add a schedule:

Code: Select all

SQL ERROR [ mysql4 ]

Incorrect integer value: '' for column 'backup_ftp' at row 1 [1366]

SQL

INSERT INTO phpbb_backup_scheduler (backup_name, backup_key, backup_type, backup_file_type, backup_tables, backup_frequency, backup_next, backup_expire, backup_ftp) VALUES ('Test', '3qcux2', 'full', 'gzip', 'a:1:{i:0;s:16:\"phpbb_acl_groups\";}', 12, 1213517520, 1, '')

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal_mysql->sql_error()

FILE: includes/acp/acp_backup_scheduler.php
LINE: 188
CALL: dbal_mysql->sql_query()

FILE: includes/functions_module.php
LINE: 471
CALL: acp_backup_scheduler->main()

FILE: adm/index.php
LINE: 79
CALL: p_master->load_active()
User avatar
david63
Registered User
Posts: 18071
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: [BETA] Backup Scheduler

Post by david63 »

@ golgoth

Can you change line 148 of includes/acp/acp_backup_scheduler.php

Code: Select all

$ftp        = request_var('ftp', '');  
to be

Code: Select all

$ftp        = request_var('ftp', 0);  
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
golgoth
Registered User
Posts: 199
Joined: Tue Jul 18, 2006 11:36 pm

Re: [BETA] Backup Scheduler

Post by golgoth »

Ok, no more ftp error, yet when i click on "backup scheduler" and i add a schedule i get:

Code: Select all

Backup statistics
The backup scheduler is currently set to not active.
And in fact it's not working, even if the schedule is set on active.
User avatar
david63
Registered User
Posts: 18071
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: [BETA] Backup Scheduler

Post by david63 »

Have you set the scheduler to active in the ACP? ACP > General > Board configuration > Backup scheduler
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
golgoth
Registered User
Posts: 199
Joined: Tue Jul 18, 2006 11:36 pm

Re: [BETA] Backup Scheduler

Post by golgoth »

I activated, but it's still not working.

May it be due to an internal server error that i get whenever i try to make a manual local backup?

Anyway, i just deleted every scheduled backup, yet it's telling me that:

Code: Select all

Backup statistics
The backup scheduler is currently set to active.
The next scheduled backup is 15 jun 2008 10:08 am.
Why is it saying that the next scheduled backup is at 10:08 am (that is 2:30 hours ago, right when i activated the first scheduled backup)?
User avatar
david63
Registered User
Posts: 18071
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: [BETA] Backup Scheduler

Post by david63 »

golgoth wrote:Why is it saying that the next scheduled backup is at 10:08 am (that is 2:30 hours ago, right when i activated the first scheduled backup)?
That is held in the config table and is only updated when a backup is run.
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
ttuu
Registered User
Posts: 224
Joined: Wed Feb 13, 2008 6:28 pm

Re: [BETA] Backup Scheduler

Post by ttuu »

i install the 0.0.2 version of this mod end stil its not work in hebrew (UTF-8)
User avatar
david63
Registered User
Posts: 18071
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: [BETA] Backup Scheduler

Post by david63 »

@ ttuu

Can you try this edit for me please?

In includes/acp/acp_backup_scheduler.php line ~142

Code: Select all

$name        = utf8_normalize_nfc(request_var('name', '');  
change to

Code: Select all

$name        = utf8_normalize_nfc(request_var('name', '', true));  
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
ttuu
Registered User
Posts: 224
Joined: Wed Feb 13, 2008 6:28 pm

Re: [BETA] Backup Scheduler

Post by ttuu »

stil its not work
User avatar
david63
Registered User
Posts: 18071
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: [BETA] Backup Scheduler

Post by david63 »

ttuu wrote:stil its not work
What is not working? Have you tried to add a new schedule?
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
ttuu
Registered User
Posts: 224
Joined: Wed Feb 13, 2008 6:28 pm

Re: [BETA] Backup Scheduler

Post by ttuu »

sorry. its work perfect now.
thanks.
User avatar
A_O_C
Registered User
Posts: 2383
Joined: Sun Jul 01, 2007 11:26 pm
Location: phpbb_

Re: [BETA] Backup Scheduler

Post by A_O_C »

im watching this MOD. would make it so much more easier.
Locked

Return to “[3.0.x] Abandoned MODs”