[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 »

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]
Style Customisations
Style Customisations
Posts: 8767
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [DEV] Auto Backup

Post by Raul [ThE KuKa] »

Nice work Pico88 :)
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate.
:flag_es: phpBB Spain - Online Since 2003 :heart:


User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 8767
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [DEV] Auto Backup

Post by Raul [ThE KuKa] »

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.
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate.
:flag_es: phpBB Spain - Online Since 2003 :heart:


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

Re: [DEV] Auto Backup

Post by Mess »

Nice, good luck with the validation. :)
ž££§ȟåñ
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 ž££§ȟåñ »

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 »

Here you can download my german translations

de und de_x_sie, UTF-8 ohne BOM

EDIT: New download address
leschek
Registered User
Posts: 791
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] Auto Backup

Post by leschek »

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 »

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: 791
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] Auto Backup

Post by leschek »

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 »

Yes, on area51 tracker.
Please do not PM me for support.
leschek
Registered User
Posts: 791
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] Auto Backup

Post by leschek »

OK. Created.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5280
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [DEV] Auto Backup

Post by MattF »

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
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
david63
Registered User
Posts: 18572
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: [DEV] Auto Backup

Post by david63 »

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 as they will be ignored
User avatar
draky
Registered User
Posts: 250
Joined: Tue Dec 10, 2002 2:04 pm
Location: France
Name: Gilles W.
Contact:

Re: [DEV] Auto Backup

Post by draky »

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 »

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

Return to “Extensions in Development”