Skip to content

Where to store persistent storage files? #6095

Closed
@ghost

Description

In another issue (sabre-io/Baikal#427) we discussed if there should be an own directory /data/ for persistent files, which differ from each installation, like a user database.

I thought it would be better to add /var/data/ for such files. But then somebody explained me that /var/ is just for temporary installation-based files like log files, cache files, etc.

The Linux Filesystem Hierarchy also use the /var/ directory only for such temporary installation-based files and not for persistent installation-based files.

Currently the file app/config/parameters.yml, which differs from each installation, is in app/config/ and not in something like /var/ or /data/.

I think the Symfony documentation should contain some tips or Best Practices how you should storage persistent installation-based files. The parameters.yml file is a good example because it differs from each installation but is not temporary like log files or cache files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions