Platform.sh User Documentation

Data retention

Try for 30 days
Flexible, version-controlled infrastructure provisioning and development-to-production workflows
Activate your trial

Platform.sh logs and stores various types of data as a normal part of its business. This information is only retained as needed to perform relevant business functions. Retention periods vary depending on the type of data stored. If a legal obligation, law enforcement request, or ongoing business need so requires, data may be retained after the original purpose for which it was collected ceases to exist.

Account information Anchor to this heading

Information relating to customer accounts (login information, billing information, etc.) is retained for as long as the account is active with Platform.sh.

Customers may request that their account be deleted and all related data be purged by opening a support ticket.

System logs Anchor to this heading

System level access and security logs are maintained by Platform.sh for diagnostic purposes. These logs aren’t customer-accessible. These logs are retained for at least 6 months and at most 2 years depending upon legal and standards compliance required for each system.

Application logs Anchor to this heading

Application logs on each customer environment are retained with the environment. Individual log files are truncated at 100 MB, regardless of their age. See how to access logs.

When an environment is deleted, its application logs are deleted as well.

Grid Backups Anchor to this heading

Automated backups are retained for a specific amount of time depending on their type and your backup schedule.

Type Basic Advanced Premium
6-hourly – – 1 day
Daily 2 days 1 week 1 month
Weekly – 4 weeks –
Monthly – 1 year 1 year

Manual backups are retained until you delete them or replace them with another backup.

For example, if you currently have 10 manual backups and are on the Advanced schedule, you keep all 10 manual backups until there are 15 automated backups. Then the automated backups start replacing the manual ones until you have only your allocated 4 manual backups.

Backups associated with an environment are retained according to the backup cycles outlined below, so long as the environment still exists in the project. That is, backups are deleted when the corresponding environment is deleted.

Backup cycles Anchor to this heading

Backups are created and retained in a cycle. As the cycle restarts, the first backup of that stage passes down to the next stage. The following is an example of the cycle using the shortest stage (6-hourly backups) from the Premium schedule. The times are just for understanding as actual backup times vary by project.

The first cycle is 4 backups (6-hourly backups) made in one day.

Four 6-hourly backups get taken on a Monday.

The first backup doesn’t expire after one day but is retained for the next cycle.

The first 6-hourly backup is a daily backup.

As additional backups are created, the oldest backups are replaced and no longer available.

When two backups are taken on Tuesday, the 6-hourly backups from Monday start becoming unavailable.

When the next cycle completes, it has replaced the previous cycle.

When two backups are taken on Tuesday, the 6-hourly backups from Monday start becoming unavailable.

Advanced schedule retention Anchor to this heading

The following diagram shows how the cycle works for the entire Advanced schedule:

Daily backups are retained for 1 week. The first daily backup is the weekly backup. Weekly backups are retained for 1 month. The first weekly backup is the monthly backup. Monthly backups are retained for 1 year.

Premium schedule retention Anchor to this heading

The following diagram shows how the cycle works for the entire Premium schedule:

Each 6-hourly backup is retained for 1 day. The first 6-hourly backup is the daily backup. Daily backups are retained for 30 days. The first daily backup is the monthly backup. Monthly backups are retained for 1 year.

Dedicated Gen 2 backups Anchor to this heading

Backups for Dedicated Gen 2 environments are retained based on when they were taken.

When taken Retention
Days 1–3 Every backup
Days 4–6 One backup per day
Weeks 2–6 One backup per week
Weeks 8–12 One bi-weekly backup
Weeks 12–22 One backup per month

See more about backups of Dedicated Gen 2 environments.

Tombstone backups Anchor to this heading

When a project is deleted, Platform.sh takes a final backup of active environments, as well as the Git repository holding user code. This final backup is to allow Platform.sh to recover a recently deleted project in case of accident.

These “tombstone” backups are retained for between 7 days and 6 months depending upon legal and standards compliance required for each system.

Analytics Anchor to this heading

Platform.sh uses Google Analytics on various web pages, and so Google Analytics stores collected data for a period of time. We have configured our Google Analytics account to store data for 14 months from the time you last accessed our site, which is the minimum Google allows.

Is this page helpful?