I want to mirror a website regularly. Right now I use httrack started by cron.
The problem is that sometimes the website has a database problem and says just that (HTTP status still remains "200" in those cases). Then my last working mirror is overridden by a copy just saying “Database problem”.
I could write a script that does something like
curl website.com if not “Database problem”: httrack website.com
I can not believe that a mirror program doesn't have such a feature. Is there a tool that will only mirror on such an inline condition?