I want to use git to manage changes to my site. Which files/directories in the var directory are vital to run the site properly as well as perform upgrades?
For instance it seems that
restore.php is vital to allow upgrades?
cache contains files that do not need to be version controlled
not sure on the upgrade folder (besides restore.php file)
I want to use git to manage changes to my site. Which files/directories in the var directory are vital to run the site properly as well as perform upgrades?
For instance it seems that
restore.php is vital to allow upgrades?
cache contains files that do not need to be version controlled
not sure on the upgrade folder (besides restore.php file)
Here is my current var directory
[/quote]
In fact the only must have files/folder in var folder are :
index.php
.htacces
/files
all others are sub to you
backups - to store your backups in git repository, this could take a lot of space in repository
langs - all languages variables packages that can be installed (currently used lang vars are stored in DB)
shapshots - this store all the md5 of default installation and current installation if you generate it at admin.php?dispatch=tools.view_changes
upgrade - upgrade packages, here will be stored the backups before the upgrade is performed.