Support

Akeeba Backup for Joomla!

#33655 Shared backup 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 guzabi on Monday, 07 September 2020 03:32 CDT

guzabi

Hello,

On a shared host with multiple websites, is it possible to use a common location for all websites backup? e.g. websites roots are /home/account/html-site1 , /home/account/html-site2 etc. and all sites aoutput directory would be set to /home/account/backup ?

I wanted to try that but noticed that there are files other that the backup files (log files, from what I see) so I guess if multiple instances of Akeebabackup try to overwrite theses, it will fail ?

Thanks in advance and sorry if it's a silly question.
Best regards,

nicholas
Akeeba Staff
Manager

You are correct that the log files have the same names (since they are based on the monotonically increasing backup ID on each site). If multiple backups with the same backup ID try to run at the same time your log files will not make sense – the lines will be mixed from two or more backups. Otherwise logs will simply be overwritten.

It's best to have one subdirectory per site inside your big backup repository.

Not just for the log file naming, but also for filesystem performance. After a few hundred files filesystem performance starts to degrade, with simple things like listing the contents of the folder taking several hundred milliseconds. This is easy to reach if you have, for example, a backup that consists of around ten parts and have a quota setting that allows forty or so backups to be present at the same time. Do this for thirty sites and you will be experiencing slow access to that directory. Using subdirectories reduces the number of files per directory, meaning you are unlikely to experience this issue.

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!

guzabi

I thought so, so thanks for the confirmation. I'll do just that :-)

Best regards !

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!