Support

Akeeba Backup for Joomla!

#12162 Suggestion for additional feature

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Thursday, 03 May 2012 14:20 CDT

trevorwood
I've a suggestion for an additional feature for Akeeba backup. I can't see anywhere else I coudl suggest this so, apologies if this is posted in the wrong place

A couple of days ago a few tables got corrupted in a client's Joomla installation. Easy to see which ones. I put the previous night's backup onto our test server. I created a temporary Akeeba Backup profile and then just backued up the tables that were broken.

Here's the thing - I had to exclude all the other tables and all the files & directories which took quite a long time. Could we have an option to "backup only these tables" - perhaps done with a "deselect all" in the "Files and directories exclusion" and the "database tables exclusion" sections?

Cheers

nicholas
Akeeba Staff
Manager
That's why I added the RegEx Database and Files filters ;) They are very powerful once you get the hang of them.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

trevorwood
Ah, OK I'll have a look at them. I like the idea of an exclude all button though - I'm a simple techie :-)

nicholas
Akeeba Staff
Manager
Well, you know how these things are. If you make a very powerful feature too easy for people to use, the wrong people will use it (the people who didn't really need and understand it). It's actually easier to teach you regular expressions 101. For instance, let's say you need to include only the users table of the site. Use the following RegEx filter:
!@#__users@

Translation for humans:
! Negates the following expression, so that we are telling Akeeba Backup "exclude everything UNLESS it matches the following RegEx"
@ These are the delimiters of the expression. What goes between them is the actual RegEx
#__users That's the name of the table. The hash-double-underscore thingie there is the "abstracted" database table name prefix. This is required so that the RegEx will work no matter what your prefix is.

A similar thing if you want to include only the images/stories folder. You need this RegEx in the RegEx Files and Folders Filters page:
!@images/stories@


I believe by now you should understand how that works. The only funkiness you need to know about is how you express dots and backslashes. Dots must be "escaped" as \. (backslash-dot) and backslashes must be abstracted as \\ (double backslash).

That concludes the crash course to practical RegEx for use with Akeeba Backup Professional. Go do something amazing :)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

trevorwood
Thanks I'll file this for later use

nicholas
Akeeba Staff
Manager
You're welcome!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!