Ashraf Magdy (ghs) — AshMovis Developer

Most small sites I look at have no backup they have ever tested. Mine did not either, until a bad import overwrote a table on AshMovis.

The data was recoverable only because I had kept the plain-text source files. The database copy was gone. That afternoon showed me that having a backup and having a backup that restores are two different things.

Here is the routine I use now. Once a week I export the database to a dump file. Then I restore that dump into an empty test database on my own machine and open three random film pages to check they render. If any of the three fails, the backup does not count.

The restore test takes ten minutes. Without it, the dump file is only a guess that the data is safe.

Two more habits cost nothing. I keep the last four dumps, not just the latest, because a corrupt export can overwrite a good one. And I store one copy somewhere that is not the same host as the site.

None of this is clever. It is the boring part that decides whether a bad day is an afternoon or a lost project.

Project: https://ashmovis.free.nf