لماذا تفشل الاستعادة؟Why do restores fail?

خمسة أسباب متكررة: النسخة الاحتياطية تالفة أو ناقصة (لم يُتحقق منها)، نسيان نسخ الملفات مع قاعدة البيانات، عدم توثيق إجراءات الاستعادة، تغيّر البيئة فلم تعد النسخة متوافقة، والوقت المطلوب للاستعادة أطول من قدرة العمل على الانتظار.Five recurring causes: the backup is corrupt or incomplete (never verified), forgetting to back up files alongside the database, undocumented restore procedures, an environment change making the backup incompatible, and restore time longer than the business can wait.

RTO و RPO — تعريف واضحRTO and RPO — clear definitions

زمن التعافي المستهدف (RTO): كم وقتاً نتحمّل توقف الخدمة؟ نقطة التعافي المستهدفة (RPO): كم بيانات نتحمّل فقدانها؟ هذان الرقمان يحددان تصميم النسخ — بلا تحديدهما، تصمم نسخاً عشوائية.Recovery Time Objective (RTO): how much downtime can we tolerate? Recovery Point Objective (RPO): how much data can we afford to lose? These two numbers determine the backup design — without them you design arbitrary backups.

كيف تختبر فعلياً؟How to actually test?

اختبار حقيقي يعني: استعادة إلى بيئة معزولة، قياس الزمن الفعلي، التحقق من سلامة البيانات (ليست موجودة فقط — بل صحيحة)، وتوثيق ما نجح وما فشل. الاختبار الجزئي (نسخ ملف واحد) لا يُثبت شيئاً عن السيناريو الكامل.A real test means: restoring to an isolated environment, measuring actual time, verifying data integrity (not just presence — correctness), and documenting what worked and what failed. A partial test (restoring one file) proves nothing about the full scenario.

الوتيرة والتغطيةFrequency and coverage

اختبار كامل مرة كل ربع سنة على الأقل، واختبار جزئي شهرياً. التغطية يجب أن تشمل: قواعد البيانات، الملفات، الإعدادات، الشهادات والمفاتيح، وسجلات الأنظمة. كثير من الاستعادات تفشل لأن الشهادات أو الإعدادات لم تُنسخ.A full test at least quarterly, and a partial test monthly. Coverage must include: databases, files, configurations, certificates and keys, and system logs. Many restores fail because certificates or configurations were never backed up.

النسخ غير القابلة للتعديلImmutable backups

برامج الفدية الحديثة تستهدف النسخ الاحتياطية أولاً — لأنها تعلم أنها خط الدفاع الأخير. الحل: نسخة غير قابلة للتعديل (Immutable) أو غير متصلة (Offline) لا يستطيع أي برنامج حذفها أو تشفيرها. نسخة متصلة بالشبكة قابلة للتشفير.Modern ransomware targets backups first — because it knows they are the last line of defence. The answer: an immutable or offline copy that no software can delete or encrypt. A backup connected to the network is encryptable.

التوثيق والتدريبDocumentation and training

إجراءات الاستعادة يجب أن تكون مكتوبة ومُجرَّبة من شخص غير من كتبها. الاختبار الحقيقي: هل يستطيع مهندس آخر تنفيذ الاستعادة من الوثيقة وحدها في وقت حادث حقيقي؟ إن كان الجواب لا، فالتوثيق ناقص.Restore procedures must be written and tested by someone other than their author. The real test: can another engineer execute the restore from the document alone during a real incident? If not, the documentation is incomplete.