Support

Pre-sales

#39288 Subdomain

Posted in ‘Pre-sales and Account Questions’
This is a public ticket

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

Latest post by nicholas on Tuesday, 01 August 2023 07:53 CDT

nunonogueira

 Please look at the bottom of this page (under Support Policy Summary) for our support policy summary, containing important information regarding our working hours and our support policy. Thank you!

 

Hello,

 

If I bakcup my website, will the subdomain websites (under a folder) also be backed up?

 

Thank YOU!

nicholas
Akeeba Staff
Manager

It depends on your directory and database layout, and what you tell Akeeba Backup to do.

Let's say that you have the following disk layout:

<home folder>
|
+-- public_html
| |
| +-- sub1

Where public_html is the web root of your site and sub1 is your subdomain root. In this case, the subdomain web root is a subdirectory of your main site's web root and its contents will be backed up by default (unless you tell Akeeba Backup otherwise).

However, if your disk layout looks like this

<home folder>
|
+-- public_html
|
+-- sub1

then the subdomain root will NOT be backed up by default as it is NOT a subdirectory of your main site. If you want, you can tell Akeeba Backup Professional (not Core) to back up that directory as an add-on directory, or tell Akeeba Backup Professional (not Core) to use sub1 as the root of the site to back up — Akeeba Backup Professional has a lot of options to help you back up additional or alternative sites.

It is similar for the database.

If both sites share the same database but with a different database table name prefix (e.g. m41n_ for your main site and 5ub1_ for your subdomain) then, by default, all tables will be backed up i.e. the tables of both the main site and the subdomain unless you explicitly tell Akeeba Backup not to do that through Database Tables Exclusion (Core and Pro versions) or RegEx Database Tables Exclusion (Pro version only).

If the two sites are using different databases (different database names, not just database table name prefixes) then only the main site's database will be backed up. Unless, of course, you tell Akeeba Backup Professional to either include the subdomain's database as an add-on database, or use it as the database of the site to back up — Akeeba Backup Professional has a lot of options to help you back up additional or alternative databases.

So, no matter what your disk and database situation is, you can tell Akeeba Backup Professional to do what you want it to do, and it will do it. It is very flexible.

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!