Forum archive
Restored backup to the cloud - missing folder
I tried to restore a joomla 1.6 turnkey backup to the cloud using the hub. It restored ok, but I am missing an important folder I have created in /usr/share.
How do the TKLBAM work in this regard? Are there any "special" folders that are not backed up and thus is not restored, or is this a bug?
Regards,
Eyvind B
/usr/share is not an included folder because it is not considered best practice according to the Filesystem Hierarchy Standard (FHS) to manually install content there. It is better to install under one of the following folders: /opt, /srv, /home, /usr/local. You'll find that each of those folders are included in the TKLBAM default profile so they will get backed up.
The default backup profile is located in /var/lib/tklbam/profile. It includes a file "packages" that lists the packages necessary for the TKL appliance. It also includes a file "dirindex.conf" that lists what default folders should be included and excluded from the TKLBAM backup.
One more thing to be aware of is that the /var/lib/tklbam/profile directory will not be populated with the appliance's default TKLBAM profile until after the tklbam-init command has been run since that command installs the latest profile from TKLHUB.