kalua: db: check() better expose errors and always run before db_backup() - send SMS if check fails