Support

Documentation

Q104 - Temp directory is the same as the site's root

[Warning]Warning

Your backup will not work when this message is displayed!

This only applies to Akeeba Backup for Joomla!.

Akeeba Backup has detected that your site's temporary directory is the same as the site's root. Akeeba Backup automatically excludes the files and folders included in the temporary directory from the backup. As a result, your backup will not contain any of your site's files, making it impossible to restore your site from this backup.

How to fix this issue

  1. Log in to your site's back-end.

  2. Go to the Site, System Information menu item

  3. Click on the PHP Information tab and search for SCRIPT_FILENAME

  4. Next to it you will see something like /home/users/myuser/public_html/administrator/index.php

  5. Replace /administrator/index.php with /tmp and note that down. In our example this would result in /home/users/myuser/public_html/tmp

  6. Go to the Site, Global Configuration menu item and click on the Server tab.

  7. Find the Path to Temp Folder option and paste the path from step 5 of these instructions (in our example, /home/users/myuser/public_html/tmp) in the edit box, replacing any content in there

  8. Click on Save & Close

Alternatively, if you do not see the SCRIPT_FILENAME line, use the following procedure:

  1. Log in to your site's back-end.

  2. Go to the Component, Akeeba Backup menu item and click on Configuration.

  3. Next to the Output Directory there's a button with an icon that looks like a folder. Click on it.

  4. At the top of the popup there's a text box. In its contents you will see something like /home/users/myuser/public_html/administrator/components/com_akeeba/backup

  5. Replace administrator/components/com_akeeba/backup with tmp and note that down. In our example this would result in /home/users/myuser/public_html/tmp

  6. Go to the Site, Global Configuration menu item and click on the Server tab.

  7. Find the Path to Temp Folder option and paste the path from step 5 of these instructions (in our example, /home/users/myuser/public_html/tmp) in the edit box, replacing any content in there

  8. Click on Save & Close