Support

Akeeba Backup for Joomla!

#29821 Git Repository Support

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 Thursday, 12 July 2018 17:17 CDT

[email protected]
Hi,
I am trying to backup a .git directory with Akeeba On Joomla but when I inspect the jpa file with your extraction tool or perform a restore with kickstart the .git directory is gone. I am using the default backup profile and its really confusing as to why its not working.
Regards
Mark Gregory

tampe125
Akeeba Staff
Hello,

That's the expected behaviour.
Akeeba Backup will automatically exclude folders belonging to Control Version System, such as .git, .svn etc etc.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

[email protected]
Do you need anything to assist you with solving this issue.
I may have to revert to a manual process because of this using rsync etc.
Regards
Mark

[email protected]
I have checked the logs and it is skipping the directory
Regards

[email protected]
here is the full log file

tampe125
Akeeba Staff
As previously said, CVS folders are automatically skipped, and for good reasons.
First of all, they will bloat the size of your backup: you're going to include every single change made to every single file, even from years ago.
Then, it's a source massive issues. Let's say you perform new changes to your files, you commit to the repo. Then you restore a previous backup. Now that installation of git has an history that diverges from all other clients, if any complex operation is performed (like rebase or fixing commit conflicts) there's the serious risk to compromise that repository for good.

I strongly suggest you to avoid doing that, however, if you really want, you can add the .git folder as an external folder. Further info here: https://www.akeebabackup.com/documentation/akeeba-backup-documentation/off-site-directories-inclusion.html

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
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!