~/talk

Prod backups in staging? Why not

TalkinItalianat laravelday 2023 · on Thursday, 2023-11-09· [databases, php, laravel]
links:none on file
slides:none on file

A runnable Laravel 9.x service launched from a Bitbucket pipeline that builds a Kubernetes pod to dump a production MySQL database, anonymize data using information_schema metadata and per-table mutators, and import the anonymized dump into a staging database. Configuration specifies source/destination, columns and custom mutators; a ~1 GB test takes about 40–50 minutes end-to-end, and the pod plus local DB are destroyed after the run. The uploader states the anonymization follows GDPR-safe practices used in Jobtech.

AI-written summary · about

  1. 0:00Data anonymization intro
  2. 2:16Microservice needs
  3. 8:04MySQL Information Schema
  4. 12:24System structure
  5. 21:42Anonymization steps
  6. 29:57Staging results
  7. 31:23Conclusion
  8. 32:04Q&A: schemas
  9. 34:35Q&A: prod anonymization
  10. 37:45Q&A: handling & performance
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.