[CDB] Auto Database 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
Pico88
Registered User
Posts: 878
Joined: Sat Mar 07, 2009 10:24 pm
Location: Poland
Name: Lukasz

[CDB] Auto Database Backup

Post by Pico88 » Thu Nov 07, 2013 7:47 pm

Auto Database Backup

Description:
An extension for phpBB 3.1 that will automatically backup your database using the phpBB 3.1 Cron.

This extension is a port of my MOD from phpBB 3.0.x.

Features:
  • enable/disable Auto Backup,
  • Auto Backup frequency,
  • database optimization,
  • the quantity of stored backups,
  • the backup time,
  • the backup file type - gzip, bzip2 or text.
All backups are stored in folder /store/. You can restore and download them using phpBB backup functions (Maintaince -> Backup Module -> Restore). You don't need to use ftp access to download them.

Support:
Link

Requirements:
  • phpBB 3.1-RC3 or higher
Repository: https://github.com/Pico/phpBB-Auto-Database-Backup

Installation:
  • Copy the entire contents of the repository to phpBB/ext/pico/autodbbackup/
  • Navigate in the ACP to Customise -> Extension Management -> Extensions.
  • Click Enable.
Last edited by Pico88 on Sun Aug 31, 2014 6:03 am, edited 8 times in total.
Please do not PM me for support.

User avatar
Raul [ThE KuKa]
Jr. Extension Validator
Posts: 3739
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [DEV] Auto Backup

Post by Raul [ThE KuKa] » Thu Nov 07, 2013 8:26 pm

Nice work Pico88 :)
If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate with Image
phpBB International Support Team (Spanish - Español) :flag_es: Online Since 2003
🎨phpBB Professional Premium Themes🔥
Author Translations (Spanish - Spain) :two_hearts:

:warning: I don't support those without the copyright Spanish translation. :warning:

User avatar
Raul [ThE KuKa]
Jr. Extension Validator
Posts: 3739
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [DEV] Auto Backup

Post by Raul [ThE KuKa] » Fri Nov 08, 2013 9:53 pm

Spanish language for this Extension. ;)

Note: Updated translation and link.
Last edited by Raul [ThE KuKa] on Sat Aug 16, 2014 2:42 pm, edited 1 time in total.
If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate with Image
phpBB International Support Team (Spanish - Español) :flag_es: Online Since 2003
🎨phpBB Professional Premium Themes🔥
Author Translations (Spanish - Spain) :two_hearts:

:warning: I don't support those without the copyright Spanish translation. :warning:

User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: [DEV] Auto Backup

Post by Mess » Tue Nov 12, 2013 7:15 am

Nice, good luck with the validation. :)

User avatar
ž££§ȟåñ
I've Been Banned!
Posts: 21
Joined: Mon Nov 11, 2013 10:08 am
Location: You Know I'm Behind You And i'll Eat You in 5 Seconds
Name: Zeeshan Ahmed

Re: [DEV] Auto Backup

Post by ž££§ȟåñ » Tue Nov 12, 2013 7:17 am

Sounds Awesome

Good luck With it! :)

regazer
Registered User
Posts: 69
Joined: Sun Sep 08, 2013 7:11 pm
Name: Reginald Gazer

Re: [DEV] Auto Backup

Post by regazer » Thu Jan 09, 2014 11:34 pm

Here you can download my german translations

de und de_x_sie, UTF-8 ohne BOM

EDIT: New download address

leschek
Registered User
Posts: 758
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] Auto Backup

Post by leschek » Thu Jan 23, 2014 6:10 pm

When I enable this extension on phpBB 3.1 a2 updated from phpBB 3.0.10 on which was installed MOD version of this extension and go to Auto Backup settings (in ACP) I get this error:

Code: Select all

General Error
Cannot find module ./../includes/acp/acp_auto_backup.php

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/functions_module.php
LINE: 506
CALL: trigger_error()

FILE: [ROOT]/adm/index.php
LINE: 71
CALL: p_master->load_active()
If I disable this extension, delete it's data and enable it again, it works.

User avatar
Pico88
Registered User
Posts: 878
Joined: Sat Mar 07, 2009 10:24 pm
Location: Poland
Name: Lukasz

Re: [DEV] Auto Backup

Post by Pico88 » Thu Jan 23, 2014 6:48 pm

The ACP module path for extension is completly differnt in phpBB3.1., so that you got the error.
You can create a ticket for that.
Please do not PM me for support.

leschek
Registered User
Posts: 758
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] Auto Backup

Post by leschek » Thu Jan 23, 2014 7:07 pm

Where should I create it? On area51?

User avatar
Pico88
Registered User
Posts: 878
Joined: Sat Mar 07, 2009 10:24 pm
Location: Poland
Name: Lukasz

Re: [DEV] Auto Backup

Post by Pico88 » Thu Jan 23, 2014 7:39 pm

Yes, on area51 tracker.
Please do not PM me for support.

leschek
Registered User
Posts: 758
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] Auto Backup

Post by leschek » Thu Jan 23, 2014 8:40 pm

OK. Created.

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4462
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [DEV] Auto Backup

Post by VSE » Thu Jan 23, 2014 11:24 pm

Actually, Pico88, you should use the migration file to update the ACP modules from older versions of the MOD.

You can see an example of how I do this here: https://github.com/VSEphpbb/precise-sim ... 0_data.php

Basically, remove the old modules (if they exist) and hen insert the new modules using the new module naming system in phpBB 3.1
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.
Dictated but not read.

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

Re: [DEV] Auto Backup

Post by david63 » Tue May 27, 2014 7:51 am

Can I make two suggestions about this extension.

1. Can the frequency be changed from days to hours - on a "fast moving" board a daily backup is of little use and anyone who only wants the backup daily would enter 24.

2. Can you move the config update and log entries to the end of the routine, not at the start. If the backup fails for whatever reason then it will give a false impression that the backup has been completed when in fact it may have not even run. Ideally it would be better to have a started log entry and a completed log entry - that way if there is a problem it will be obvious.
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
draky
Registered User
Posts: 245
Joined: Tue Dec 10, 2002 2:04 pm
Location: France
Name: Gilles W.
Contact:

Re: [DEV] Auto Backup

Post by draky » Wed Jul 16, 2014 6:25 am

Not compatible with phpBB 3.1 RC2 :/

garden of green
Registered User
Posts: 108
Joined: Mon Sep 16, 2013 2:41 pm
Name: Tony
Contact:

Re: [DEV] Auto Backup

Post by garden of green » Wed Jul 16, 2014 6:36 am

I like the sound of a auto backup,as i'am very lazy at backing mine up

Locked

Return to “Extensions in Development”

Who is online

Users browsing this forum: GoBieN and 29 guests

cron