Where are my files, logs and backups stored?

RSS

Where are my files, logs and backups stored?

Last updated July 14th, 2016

Your files, logs and backups are all stored in a separate location on your Cloud Container server away from where your containers are located. This allows you to easily swap out and update the images that your containers use.

Upon logging into a SSH user you will see a 'containers' symbolic link within your home directory. This will contain directories for each of the containers that you have assigned to this SSH user.

The following directories can be present for a container:

application/

Place the files of your application within this directory and they will be made available to the software running in your container. For web containers, this directory will also contain a 'public' directory with this being the web root for your application.

backups/

Any backups that are made of your container or the databases that are linked to it, will be placed within this directory. If your container has not had any backups taken, this directory may not yet be present. Additionally, you may also see a 'migration' directory appear here when your container has been migrated or updated to a new image.

config/

All configuration files related to the software running inside your container can be found here. For example, if your container is running a web server such as Nginx or Apache, the configuration files for these will be placed under a 'nginx' or 'apache2' directory respectively. Optionally, this directory can be marked as readonly to prevent changes from being made to configuration files. For more information on this, please see our SSH user privileges article.

crontabs/

Custom cron entries can be placed within the 'crontab' file that resides in this directory. For more information, please see our article on setting up a custom crontab.

logs/

Logs for each piece of software running within your container will be recorded here.

Can we improve this article? Suggest an improvement to this article.

Suggest an Improvement

Thank you for helping us to improve this Knowledge Base article. Please type your suggestions below:

Still need help? Get in touch with us.

If you aren't able to find the help you need then please send us a question and we can help you further.