Support

Akeeba Backup for Joomla!

#35799 how to make a backup with aliases directories

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 on Friday, 15 October 2021 20:17 CDT

erix

Hello,
I have a Joomla site deployed on a dedicated server and on which the DSI (Direction des Services Informatiques) has outsourced certain directories such as images, tmp, cache, etc. on other servers. When I make a backup with akeeba, the backup does not follow the aliases and I do not have the external directories. Is there a solution to make a backup with this type of architecture?
Thank you for your answer and have a nice day

 adishatz, erix

www.agerix.fr

nicholas
Akeeba Staff
Manager

It depends.

If these directories are symlinks and the target is directly readable by your server i.e. these symlinks point to readable and browsable mount points you can select the Dereference Symlinks options in the options of the archiver engine to ignore the symlinks and treat them as real directories and files (follow the symlinks and back up the files under them). Please do note that restoring the site in this case will remove the symlinks and replace them with real folders.

If these directories are NOT symlinks but implemented with Apache code to read from external servers OR if their contents are either not readable or the contents of directories cannot be listed then no, you cannot back them up since PHP has no way of listing the files.

Another way to do that is to have one full site backup as is right now and one files only backup profile per directory you want to back up (e.g. images). You can use Akeeba Backup Professional's options to use a custom site root to point the site's root to the directory you want to back up. Restoring the site will NOT lose the symlinks but it involves restoring all backup archives, the full site backup in the site's root and each files only backup in the respective directory it is backing up.

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!