Deleting and restoring
Deleting a Project, repository, Service, or database stops it now but gives you 30 days to recover it. After 30 days, Tokay permanently removes it. The trash protects against deleting the wrong thing and against discovering a dependency after the deletion.
Last updated
Deletion takes effect immediately
A deleted web app stops serving, a deleted scheduled job stops running, and a deleted database is no longer available to Services. Delete is an operational stop, not a delayed request.
Tokay keeps the code, configuration, data, and history needed for restoration during the 30-day recovery window.
Restore parents before the things inside them
The trash lists deleted items and their recovery deadline. Restoring an item puts it back in its previous location.
Some items depend on a parent. Restore a deleted Project before restoring a Service or database that belonged to it. A restored Service gets its configuration and history back and can then be deployed again.
Deletion follows product boundaries
- Deleting a Service stops that running workload. Its repository stays because other Services may use it.
- Deleting code removes the repository. Tokay shows which Services depend on it before confirmation.
- Deleting a Project removes the Project and everything it contains, including databases.
- Deleting a database shows the connected Services before confirmation.
Permanent deletion has no recovery path
You can permanently delete an item from the trash before 30 days. Tokay asks for explicit confirmation because the code or data cannot be restored afterward.
Credentials are different. Revoking an SSH key, git token, or machine token is immediate and permanent because a revoked credential must not be recoverable.