Skip to content
TURCOCOREBACKUP LINE
Year:
2026
Role:
Setup · operation
INFRASTRUCTURE
← All work

Backup and data refresh pipeline

Backups were assumed to be running. A file appeared every night but it was empty: the dump command hit a permission error on a single table and stopped, while the shell redirect created the file anyway. Eight days of backups were zero bytes and no error showed anywhere. The line was rebuilt: the command runs with the right privileges, the output is compressed, and then it is checked — the command's exit code, that the file is not empty, and the integrity of the compression. A file that fails is deleted and the error goes into its own log, so it does not stay silent. Four databases are dumped every night at 03:00, and files past their retention are removed in the same script, right after the dump. The lesson is here: that a backup EXISTS says nothing; its size and its contents do — the last one is 41 MB, passed the integrity check, and holds 145 table definitions.

Let's talk
Look at other work