Support

Akeeba Backup for Joomla!

#14879 Backup up site that is within another directory

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 Tuesday, 05 February 2013 01:11 CST

muddauber

Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes, configuration
Have I searched the tickets before posting? Yes, used directory, subdirectory, etc
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 1.5.26
PHP version:Β 5.3.19
MySQL version:5.5.28-29.2
Host: AISO
Akeeba Backup version:3.4.3

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:

I didn't attached the ZIP of the log, as I don't think you need it in this case. I have an

odd setup, where my host put my second domain in thesubdirectory of another

site. As a result Akeeba Backup backs up my FULL SITE and the other primary

directory, creating a very large file. On top of that, if I ever had to do a restore,
it would possibly overwrite my other directory

Example

/public_html Β  - site one -domain

/public_html/domain2 Β - second site

So, as it is right now, when I run Akeeba back up for second site, it creates

a large combined backup file of both sites and all the directories.

Is there a way to configure Akeeba Backup to only do the root directory and

subdirectories of just the second site, and just the first site?

Β 

nicholas
Akeeba Staff
Manager

You read the wrong documentation page :) You should have read the Files and Directories Exclusion section. From the introductory paragraph:

[...] Possibly, you have another script (for example, a forum, a torrent tracker, you name it) in a subdirectory of your site's root - or even buried deeper in the directory structure - that you don't want to backup. Anyway, you need to exclude the contents of a directory from your backup. The Files and Directories Exclusion filters are just right for you.

If this sounds like the description of your problem and the solution it's because it is :) So, here's what you have to do:

  • Main site in /public_html, go to Components, Akeeba Backup, Files and Directories Exclusion, exclude the domain2 directory. Now only the main site will be backed up.
  • Second domain in /public_html/domain2, no change required. The backup will consider /public_html/domain2 to be the site's root, which is exactly what you want.

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!

muddauber

You're a Prince.

Thanks,

dd

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!