Chapterبەش 8 · Lectureوانە 8.2

Backup and Recoveryباکئەپ و گەڕاندنەوەی دراوە

Why every database needs backups, the three backup types and what each restore needs, where to keep the copies (the 3-2-1 rule and ransomware), cold and hot backups, point-in-time recovery, the recovery objectives RPO and RTO, and the habits that make backups really work.

بۆچی هەموو پێویستی بە هەیە، سێ جۆرەکەی و ئەوەی گەڕاندنەوەی هەر یەکەیان پێویستی پێیەتی، کۆپییەکان لە کوێ هەڵبگیرێن ( و )، و ، ، ئامانجەکانی گەڕاندنەوە ( و ) و ئەو خووانەی وا دەکەن بە ڕاستی کار بکات.

21 min read22 خولەک خوێندنەوە · 21 stepsهەنگاو

What you will learnچی فێر دەبیت

  • Define backup, recovery and journaling, and explain why both halves must work.
  • Give four reasons for taking backups.
  • Compare full, incremental and differential backups, and say which backups each restore needs.
  • Choose where to keep backups with the 3-2-1 rule, and protect them against ransomware.
  • Explain cold, hot and warm backups and point-in-time recovery correctly.
  • Use the RPO and the RTO to plan how often to back up.
  • پێناسەی ، و بکەیت و ڕوونی بکەیتەوە بۆچی دەبێت هەردوو نیوەکە کار بکەن.
  • چوار هۆکار بۆ گرتنی بهێنیتەوە.
  • ، و بەراورد بکەیت و بڵێیت گەڕاندنەوەی هەر یەکەیان پێویستی بە کام هەیە.
  • بە بڕیار بدەیت لە کوێ هەڵبگیرێن و لە بیانپارێزیت.
  • ، ، و بە دروستی ڕوون بکەیتەوە.
  • بە و پلان دابنێیت کە چەند جار بگیرێت.

Keep a copy, and be able to bring it backکۆپییەک هەڵبگرە و بتوانیت بیگەڕێنیتەوە

A database can be damaged in a moment: a disk breaks, someone deletes records by mistake, or an attacker locks the files. A (DBA) must be ready for that day. This lesson is about the two jobs that save the data: making copies, and putting a copy back.

لە ساتێکدا زیانی پێ دەگات: دیسکێک دەشکێت، کەسێک بە هەڵە دەسڕێتەوە، یان هێرشبەرێک قوفڵ دەکات. ⁦(DBA)⁩ دەبێت بۆ ئەو ڕۆژە ئامادە بێت. ئەم وانەیە دەربارەی ئەو دوو کارەیە کە ڕزگار دەکەن: دروستکردنی کۆپی و گەڕاندنەوەی کۆپییەک بۆ شوێنی خۆی.

  • Why backups matter.
  • Full, incremental and differential backups.
  • Where to store a backup.
  • Cold and hot backups, recovery and point-in-time recovery.
  • Planning: how much data you may lose and how long you may wait (RPO and RTO).
  • Best practice: the habits that make backups work.
  • بۆچی گرنگە.
  • ، و .
  • لە کوێ هەڵبگیرێت.
  • و ، و .
  • پلاندانان: چەند لەدەست بدەیت و چەند چاوەڕێ بکەیت (RPO و RTO).
  • باشترین ڕێگاکان: ئەو خووانەی وا دەکەن کار بکات.
Definitionپێناسە

An extra copy of your kept in another place, so you can get them back if the original is lost or damaged. To back up means to make this copy.

کۆپییەکی زیادەی فایلەکانتە کە لە شوێنێکی تر هەڵدەگیرێت، تا ئەگەر ئەسڵەکە ون بوو یان تێکچوو بتوانیت بیانگەڕێنیتەوە.

In database administration the word has an exact meaning: a backup is a copy of the database and of its (and sometimes of the programs too). It is taken again and again at set times and kept on separate storage that is not connected to the live system (offline storage).

لە بەڕێوەبردنی ئەم وشەیە واتایەکی وردی هەیە: کۆپییەکە لە و لە (هەندێک جار لە ). جار لە دوای جار لە کاتی دیاریکراودا دەگیرێت و لەسەر شوێنێکی جیای هەڵدەگیرێت کە بە سیستەمە کاراکەوە نەبەستراوە (ئۆفلاین).

Definitionپێناسە

Bringing a database back to a correct state after a failure, usually by restoring a and then applying the changes saved in the .

گەڕاندنەوەی بۆ دۆخێکی دروست دوای تێکچوونێک، زۆرجار بە گەڕاندنەوەی و پاشان جێبەجێکردنی ئەو گۆڕانکارییانەی لە پاشەکەوت کراون.

Recovery restores the data from a backup, so that the database works correctly again.

لە دەگەڕێنێتەوە، تا دووبارە بە دروستی کار بکاتەوە.

Keep a copy, and be able to bring it backکۆپییەک هەڵبگرە و بتوانیت بیگەڕێنیتەوە

Two halves of one promiseدوو نیوەی یەک بەڵێن

The spare keyکلیلی یەدەگ

Many families leave a spare house key with a relative. Having that key is the backup. Going to the relative's house, finding the key and opening your own door with it is the recovery. A spare key that nobody can find, or that no longer fits the lock, is worth nothing on the day you are locked out.

زۆر خێزان کلیلێکی یەدەگی ماڵەکەیان لای خزمێک دادەنێن. بوونی ئەو کلیلە . چوون بۆ ماڵی خزمەکە، دۆزینەوەی کلیلەکە و کردنەوەی دەرگای ماڵی خۆت پێی، گەڕاندنەوەکەیە. کلیلێکی یەدەگ کە کەس نەیدۆزێتەوە، یان ئیتر لە قوفڵەکە نەگونجێت، لەو ڕۆژەدا کە لە دەرەوەی ماڵ ماویتەوە هیچ بەهایەکی نییە.

Where the analogy stops workingسنووری ئەم نموونەیە

A key never changes, but a database changes every minute. So a backup is always a little older than the live data, and the changes made after it are lost unless the keeps them. The RPO, later in this lesson, measures this gap.

کلیل هەرگیز ناگۆڕێت، بەڵام هەموو خولەکێک دەگۆڕێت. بۆیە هەمیشە کەمێک لە زیندوو کۆنترە و ئەو گۆڕانکارییانەی دوای ئەو کراون لەدەست دەچن، مەگەر هەڵیان بگرێت. ، کە دواتر لەم وانەیەدا دێت، ئەم بۆشاییە دەپێوێت.

Quick checkپشکنینی خێراWhich sentence is true?کام ڕستە ڕاستە؟

Keep a copy, and be able to bring it backکۆپییەک هەڵبگرە و بتوانیت بیگەڕێنیتەوە

Journaling: a log of every changeهەڵگرتنی لۆگ: تۆمارکردنی هەموو گۆڕانکارییەک

Definitionپێناسە

Keeping a (journal) of all changes made to the database, so that it can be recovered after a failure.

هەڵگرتنی (ڕۆژنامچە) بۆ هەموو گۆڕانکارییەکانی بنکەدراوە، بۆ ئەوەی دوای تێکچوون بتوانرێت بگەڕێنرێتەوە.

The DBMS writes every change (every insert, update and delete) into a , also called the journal, in the order the changes happen. With this log the DBMS can redo changes that were finished but not yet saved in the data files, and undo changes that were never finished.

هەموو گۆڕانکارییەک (هەموو زیادکردن، نوێکردنەوە و سڕینەوەیەک) بە هەمان ڕیزی ڕوودانیان لە دەنووسێت، کە ڕۆژنامچەشی پێدەڵێن. بە یارمەتیی ئەم دەتوانێت ئەو گۆڕانکارییانە دووبارە بکاتەوە کە تەواو بوون بەڵام هێشتا لە پاشەکەوت نەکراون و ئەو گۆڕانکارییانەش هەڵبوەشێنێتەوە کە هەرگیز تەواو نەبوون.

That is why the definition of a backup includes the log file. A backup shows the database at one moment; the log tells what happened after that moment. Later you will see that point-in-time recovery needs both. Transactions, COMMIT and the log are explained in the lesson Transactions and ACID.

بۆیە پێناسەی دەگرێتەوە. لە یەک ساتدا پیشان دەدات؛ دەڵێت دوای ئەو ساتە چی ڕوویداوە. دواتر دەبینیت کە پێویستی بە هەردووکیانە. ، COMMIT و لە وانەی مامەڵەکان و ACID ڕوون کراونەتەوە.

Quick checkپشکنینی خێراWhat does a log file (journal) hold? (ڕۆژنامچە) چی هەڵدەگرێت؟

Why database backups?بۆچی باکئەپی بنکەدراوە؟

Backups protect data against loss, including loss caused by cyberattacks. The course gives four reasons, and all of them are real:

لە لەدەستچوون دەپارێزێت، لەوانە ئەو لەدەستچوونەی دەیهێننە ئاراوە. کۆرسەکە چوار هۆکار دەهێنێتەوە و هەموویان ڕاستەقینەن:

  1. Hardware failure. A can crash, a power supply can burn, a server can be stolen. Example: the disk that holds the database stops working.
  2. Human mistakes. People delete or change the wrong data. Example: someone deletes a table by accident.
  3. Cyberattacks. Attackers break in and damage or lock the data. This includes , which encrypts the files and asks for money.
  4. Legal requirements. Laws and regulators often require organisations such as banks and hospitals to keep their records safe and to be able to restore them. Following such rules is called .
  1. تێکچوونی . لەوانەیە لە کار بکەوێت، سەرچاوەی کارەبا بسووتێت، یان بدزرێت. نموونە: ئەو دیسکەی هەڵگرتووە لە کار دەکەوێت.
  2. هەڵەی مرۆیی. خەڵک بە هەڵە دەسڕنەوە یان دەگۆڕن. نموونە: کەسێک بە هەڵە دەسڕێتەوە.
  3. . هێرشبەران دەچنە ناو سیستەمەکەوە و زیان بە دەگەیەنن یان قوفڵی دەکەن. یەکێکە لەمانە، کە شفرە دەکات و داوای پارە دەکات.
  4. داواکارییە یاساییەکان. یاسا و دەزگا چاودێرەکان زۆرجار داوا لە دامەزراوەکانی وەک بانک و نەخۆشخانە دەکەن کە خۆیان بە سەلامەتی هەڵبگرن و بتوانن بیانگەڕێننەوە. پەیڕەوکردنی ئەم جۆرە ڕێسایانە پێی دەوترێت .
Quick checkپشکنینی خێراA clerk deletes last month's orders by mistake. The disk and the server are fine. Which reason for backups does this show?فەرمانبەرێک بە هەڵە داواکارییەکانی کڕینی مانگی ڕابردوو دەسڕێتەوە. دیسکەکە و هیچیان نییە. ئەمە کام هۆکاری پیشان دەدات؟

Full backup: a complete copyباکئەپی تەواو: کۆپییەکی تەواو

Definitionپێناسە

A complete copy of the whole database. It is the easiest to restore but takes the most time and space, so it is usually made once a week, at night.

کۆپییەکی تەواوی هەموو بنکەدراوەکەیە. گەڕاندنەوەی ئاسانترینە بەڵام زۆرترین کات و شوێن دەگرێت، بۆیە زۆرجار هەفتەی جارێک و بە شەو دەگیرێت.

  • Complete copy. It saves a copy of the entire database.
  • Easy to restore. Everything is in one backup, so the restore is simple.
  • Time and space. It takes a long time to make and needs the most storage space.
  • کۆپیی تەواو. کۆپییەک لە هەموو پاشەکەوت دەکات.
  • گەڕاندنەوەی ئاسان. هەموو شتێک لە یەک هەیە، بۆیە گەڕاندنەوەکەی سادەیە.
  • کات و شوێن. دروستکردنی کاتێکی زۆری دەوێت و زۆرترین شوێنی دەگرێت.

Because a full backup is big and slow, most organisations take one full backup and then a smaller backup on the other days. There are two kinds of smaller backup: the and the .

لەبەر ئەوەی گەورە و هێواشە، زۆربەی دامەزراوەکان دەگرن و لە ڕۆژەکانی تریشدا بچووکتر دەگرن. دوو جۆر بچووکتر هەیە: و .

Incremental backup: only what changedباکئەپی هەنگاوبەهەنگاو: تەنها ئەوەی گۆڕاوە

Definitionپێناسە

A backup of only the data that changed since the last backup of any kind. It is small and quick to make, but a restore needs the last plus every incremental backup since then, in order.

باکئەپی تەنها ئەو دراوانەیە کە لە دوایین باکئەپەوە، هەر جۆرێک بێت، گۆڕاون. بچووکە و بە خێرایی دەگیرێت، بەڵام بۆ گەڕاندنەوە دوایین و هەموو باکئەپە هەنگاوبەهەنگاوەکانی دوای ئەوت بە ڕیز پێویستە.

  • Changes only. It saves only the changes since the last backup of any kind (full or incremental).
  • Less space. Each one is small and quick to make.
  • Longer restore. Restoring takes longer and needs several backups.
  • تەنها گۆڕانکارییەکان. تەنها ئەو گۆڕانکارییانە پاشەکەوت دەکات کە لە دوای دوایین کراون، هەر جۆرێک بێت ( یان ).
  • شوێنی کەمتر. هەر یەکێکیان بچووکە و زوو دروست دەبێت.
  • گەڕاندنەوەی درێژتر. گەڕاندنەوە کاتی زیاتری دەوێت و پێویستی بە چەند هەیە.

Picture it

وێنای بکە

  • Monday: full backup.
  • Tuesday: only Tuesday's changes.
  • Wednesday: only Wednesday's changes.
  • To restore Wednesday you need all three: Monday + Tuesday + Wednesday.
  • دووشەممە: .
  • سێشەممە: تەنها گۆڕانکارییەکانی سێشەممە.
  • چوارشەممە: تەنها گۆڕانکارییەکانی چوارشەممە.
  • بۆ گەڕاندنەوەی چوارشەممە پێویستت بە هەر سێکیانە: دووشەممە + سێشەممە + چوارشەممە.
Quick checkپشکنینی خێراSunday: full backup. Monday, Tuesday and Wednesday: incremental backups. The disk breaks on Thursday morning. Which backups do you need to restore the data of Wednesday night?یەکشەممە: . دووشەممە، سێشەممە و چوارشەممە: . بەیانیی پێنجشەممە دیسکەکە دەشکێت. بۆ گەڕاندنەوەی شەوی چوارشەممە کام پێویستە؟

Differential backup: everything since the last full backupباکئەپی کەڵەکەبوو: هەموو شتێک لە دوای دوایین باکئەپی تەواوەوە

Definitionپێناسە

A backup of all the data that changed since the last . Each one is bigger than an , but a restore needs only two files: the full backup and the latest differential backup.

باکئەپی هەموو ئەو دراوانەیە کە لە دوایین گۆڕاون. هەریەکەیان لە گەورەترە، بەڵام گەڕاندنەوە تەنها دوو فایلی پێویستە: باکئەپە تەواوەکە و دوایین باکئەپی کەڵەکەبوو.

  • All changes since the last full backup. Each differential backup repeats everything that changed since the full backup, not only since yesterday.
  • More space. It takes more space than incremental backups, and it grows every day until the next full backup.
  • Faster restore. It is faster to restore than incremental backups: you need only two backups, the last full one and the newest differential one.
  • هەموو گۆڕانکارییەکان لە دوای دوایین . هەر هەموو ئەو شتانە دووبارە دەکاتەوە کە لە دوای گۆڕاون، نەک تەنها لە دوێنێوە.
  • شوێنی زیاتر. لە شوێنی زیاتر دەگرێت و هەموو ڕۆژێک گەورەتر دەبێت تا داهاتوو.
  • گەڕاندنەوەی خێراتر. لە خێراتر دەگەڕێتەوە: تەنها پێویستت بە دوو هەیە، دوایین و نوێترین .

Picture it

وێنای بکە

  • Monday: full backup.
  • Tuesday: everything changed since Monday.
  • Wednesday: everything changed since Monday (Tuesday's changes again, plus Wednesday's).
  • To restore Wednesday you need only two backups: Monday + Wednesday.
  • دووشەممە: .
  • سێشەممە: هەموو ئەوەی لە دوای دووشەممەوە گۆڕاوە.
  • چوارشەممە: هەموو ئەوەی لە دوای دووشەممەوە گۆڕاوە (دووبارە گۆڕانکارییەکانی سێشەممە، لەگەڵ هی چوارشەممە).
  • بۆ گەڕاندنەوەی چوارشەممە تەنها پێویستت بە دوو هەیە: دووشەممە + چوارشەممە.
Quick checkپشکنینی خێراSunday: full backup. Monday, Tuesday and Wednesday: differential backups. The disk breaks on Thursday morning. Which backups do you need?یەکشەممە: . دووشەممە، سێشەممە و چوارشەممە: . بەیانیی پێنجشەممە دیسکەکە دەشکێت. کام پێویستە؟

The three types side by sideسێ جۆرەکە لە تەنیشت یەکەوە

The picture shows one week with each kind of backup. The coloured boxes are the backups that a restore on Wednesday needs.

وێنەکە یەک هەفتە لەگەڵ هەر جۆرێکی پیشان دەدات. چوارگۆشە ڕەنگکراوەکان ئەوانەن کە گەڕاندنەوە لە چوارشەممەدا پێویستی پێیانە.

A timeline from Monday to Wednesday in three rows. Row 1, full backups every day: Monday, Tuesday and Wednesday are each a big full copy; a restore on Wednesday needs only Wednesday's copy (1 backup). Row 2, incremental: a full copy on Monday, then small boxes with only Tuesday's changes and only Wednesday's changes; a restore needs Monday, Tuesday and Wednesday (3 backups). Row 3, differential: a full copy on Monday, then a box with the changes since Monday on Tuesday and a bigger one on Wednesday; a restore needs Monday and Wednesday only (2 backups).هێڵێکی کات لە دووشەممەوە تا چوارشەممە لە سێ ڕیزدا. ڕیزی یەکەم، باکئەپی تەواو هەموو ڕۆژێک: دووشەممە، سێشەممە و چوارشەممە هەر یەکەیان کۆپییەکی تەواوی گەورەیە؛ گەڕاندنەوە لە چوارشەممەدا تەنها پێویستی بە کۆپیی چوارشەممە هەیە (١ باکئەپ). ڕیزی دووەم، باکئەپی هەنگاوبەهەنگاو: کۆپییەکی تەواو لە دووشەممە، پاشان چوارگۆشەی بچووک بە تەنها گۆڕانکارییەکانی سێشەممە و تەنها گۆڕانکارییەکانی چوارشەممە؛ گەڕاندنەوە پێویستی بە دووشەممە، سێشەممە و چوارشەممە هەیە (٣ باکئەپ). ڕیزی سێیەم، باکئەپی کەڵەکەبوو: کۆپییەکی تەواو لە دووشەممە، پاشان لە سێشەممە چوارگۆشەیەک بە گۆڕانکارییەکانی لە دوای دووشەممەوە و لە چوارشەممە چوارگۆشەیەکی گەورەتر؛ گەڕاندنەوە تەنها پێویستی بە دووشەممە و چوارشەممە هەیە (٢ باکئەپ).
A restore on Wednesday needs 1 backup with daily full backups, 2 with differential backups and 3 with incremental backups.گەڕاندنەوە لە چوارشەممەدا: بە ڕۆژانە ١ پێویستە، بە ٢ و بە ٣.CêIT
Full, incremental and differential backups comparedبەراوردی ، و
TypeجۆرWhat it copiesچی کۆپی دەکاتTime and space to make itکات و شوێن بۆ دروستکردنیWhat a restore needsگەڕاندنەوە پێویستی بە چییەRestore speedخێرایی گەڕاندنەوە
Everythingهەموو شتێکLongest; most spaceدرێژترین؛ زۆرترین شوێن1 backup١ Fastestخێراترین
Changes since the last backup of any kindگۆڕانکارییەکان لە دوای دوایین ، هەر جۆرێک بێتShortest; least spaceکورتترین؛ کەمترین شوێنLast full + every incremental since, in orderدوایین + هەموو دوای ئەو، بە ڕیزSlowestهێواشترین
Changes since the last full backupگۆڕانکارییەکان لە دوای دوایین Grows every dayهەموو ڕۆژێک گەورەتر دەبێتLast full + newest differential (2)دوایین + نوێترین (٢)In betweenلە نێوانیاندا
Quick checkپشکنینی خێراWhich backup type is fastest to restore?کام جۆری خێراترین گەڕاندنەوەی هەیە؟

Incremental vs Differential Backup, & Full - ExplainedPowerCert Animated Videos · Englishئینگلیزی · 474K viewsبینین · 12K likesلایک

Full, incremental and differential backups compared: what each one copies, and which backups you need to restore.

بەراوردی ، و : هەریەکەیان چی کۆپی دەکات و بۆ گەڕاندنەوە پێویستت بە کام هەیە.

Whole video (6:55): the three backup types and how each one is restored.

هەموو ڤیدیۆکە ⁦(6:55)⁩: سێ جۆرەکەی و چۆنیەتی گەڕاندنەوەی هەریەکەیان.

The three types side by sideسێ جۆرەکە لە تەنیشت یەکەوە

Practice: plan a week of backupsڕاهێنان: پلانی باکئەپەکانی هەفتەیەک

ExerciseڕاهێنانPlan a week for Karwan's shopپلانی هەفتەیەک بۆ دووکانەکەی کاروان

Karwan's shop takes a full backup every Friday night. On every other night it takes a smaller backup. On Wednesday at 10:00 in the morning the server's disk fails. (a) List the backups needed if the smaller backups are incremental. (b) List them if they are differential. (c) Which plan uses more storage space during the week?

دووکانەکەی کاروان هەموو شەوی هەینی دەگرێت. لە هەموو شەوەکانی تردا بچووکتر دەگرێت. ڕۆژی چوارشەممە کاتژمێر ١٠ی بەیانی دیسکی تێک دەچێت. (أ) ئەو بنووسە کە پێویستن ئەگەر بن. (ب) بیاننووسە ئەگەر بن. (ج) کام پلان لە ماوەی هەفتەکەدا شوێنی زیاتری دەگرێت؟

Hintئاماژە

Count the nights from Friday to Tuesday.

شەوەکان لە هەینییەوە تا سێشەممە بژمێرە.

Show answerوەڵامەکە پیشان بدە
  • (a) Incremental: Friday's full backup, then the incremental backups of Saturday, Sunday, Monday and Tuesday nights, in this order. Five backups.
  • (b) Differential: Friday's full backup and Tuesday night's differential backup. Two backups.
  • (c) The differential plan: every differential backup repeats all the changes since Friday, so it grows every night.
  • In both plans the changes made on Wednesday morning, after Tuesday night's backup, are lost unless the log was saved somewhere else. The RPO section below looks at this gap.
  • (أ) : هەینی، پاشان شەوانی شەممە، یەکشەممە، دووشەممە و سێشەممە، بەم ڕیزە. پێنج .
  • (ب) : هەینی و شەوی سێشەممە. دوو .
  • (ج) پلانی : هەر هەموو گۆڕانکارییەکانی لە دوای هەینییەوە دووبارە دەکاتەوە، بۆیە هەموو شەوێک گەورەتر دەبێت.
  • لە هەردوو پلانەکەدا ئەو گۆڕانکارییانەی بەیانیی چوارشەممە، دوای شەوی سێشەممە، کراون لەدەست دەچن، مەگەر لە شوێنێکی تر پاشەکەوت کرابێت. بەشی لە خوارەوە سەیری ئەم بۆشاییە دەکات.

Where to store backupsباکئەپەکان لە کوێ هەڵبگرین

The most important rule: the copy must not sit next to the original. A fire, a flood, a thief or a virus that reaches the server will also reach a backup in the same place. There are three common places:

گرنگترین ڕێسا: کۆپییەکە نابێت لە تەنیشت ڕەسەنەکەوە بێت. ئاگر، لافاو، دز یان ڤایرۆسێک کە بگاتە ، دەگاتە ئەو کە لە هەمان شوێندایە. سێ شوێنی باو هەیە:

PlaceشوێنWhereلە کوێGoodباشRiskمەترسی
On the same computer or hard driveلەسەر هەمان یان Fast accessدەستڕاگەیشتنی خێراRisky: one failure, fire or virus can destroy both copiesمەترسیدار: یەک تێکچوون، ئاگر یان ڤایرۆس دەتوانێت هەردوو کۆپییەکە لەناو ببات
In a different building or cityلە بینایەک یان شارێکی ترSaferسەلامەتترSlower to restore: the copy must be brought or downloaded firstگەڕاندنەوەی هێواشتر: سەرەتا دەبێت کۆپییەکە بهێنرێت یان دابەزێنرێت
Online, with a provider such as Amazon Web Services (AWS), Microsoft Azure or Google Cloudئۆنلاین، لای دابینکەرێکی وەک ⁦Amazon Web Services (AWS)⁩، ⁦Microsoft Azure⁩ یان ⁦Google Cloud⁩Reliable and automatedمتمانەپێکراو و خۆکارCosts money every month; needs a good internet connectionهەموو مانگێک پارەی دەوێت؛ پێویستی بە پەیوەندییەکی باشی هەیە
Quick checkپشکنینی خێراAram keeps the database on the server's disk and the only backup on a second disk inside the same server. What is wrong?ئارام لەسەر دیسکی هەڵدەگرێت و تاکە لەسەر دیسکێکی دووەم لەناو هەمان . چی هەڵەیە؟

Data Backup: The 3-2-1 RuleExplainingComputers · Englishئینگلیزی · 160K viewsبینین · 6.4K likesلایک · Partبەشی 0:00–5:18 (ofلە 6:15)

You learn the 3-2-1 backup rule: keep three copies of your files, on two kinds of media, with one copy in another place.

یاسای ⁦3-2-1⁩ بۆ فێر دەبیت: سێ کۆپی لە هەڵبگرە، لەسەر دوو جۆری جیاوازی و یەک کۆپی لە شوێنێکی تر.

Plays 0:00–5:18: the 3-2-1 rule, why storage fails, and off-site copies.

لە ⁦0:00⁩ تا ⁦5:18⁩ پەخش دەبێت: ، بۆچی تێک دەچن و .

Where to store backupsباکئەپەکان لە کوێ هەڵبگرین

Backups against ransomwareباکئەپ لە بەرامبەر نەرمەواڵەی بارمتەگر

is malware that encrypts an organisation's files and asks for money to unlock them. A good backup means you can restore the data without paying. Attackers know this, so modern ransomware first looks for backups it can reach (shared network folders, connected disks, backup servers) and deletes or encrypts them too.

کە دامەزراوەیەک شفرە دەکات و بۆ کردنەوەیان داوای پارە دەکات. باش واتە دەتوانیت بەبێ پارەدان بگەڕێنیتەوە. هێرشبەران ئەمە دەزانن، بۆیە نوێ سەرەتا بەدوای ئەو دەگەڕێت کە دەستی پێیان دەگات (بوخچە هاوبەشەکانی ، دیسکە بەستراوەکان، ) و ئەوانیش دەسڕێتەوە یان شفرەیان دەکات.

  • Keep at least one copy offline (disconnected from the network) or immutable (: it cannot be changed or deleted until a set date).
  • Encrypt the backups, so that a stolen copy cannot be read.
  • Test restoring them regularly, so you know they work.
  • After an attack, restore the most important services first, and make sure the copy you restore is clean, so the attack does not start again.
  • لانیکەم یەک کۆپی ئۆفلاین (دابڕاو لە ) یان نەگۆڕ (: تا ڕێکەوتێکی دیاریکراو ناگۆڕدرێت و ناسڕدرێتەوە) هەڵبگرە.
  • شفرە بکە، تا کۆپییەکی دزراو نەخوێندرێتەوە.
  • بە ڕێکی گەڕاندنەوەیان تاقی بکەرەوە، تا بزانیت کار دەکەن.
  • دوای هێرشێک، سەرەتا گرنگترین خزمەتگوزارییەکان بگەڕێنەوە و دڵنیا بە کە ئەو کۆپییەی دەیگەڕێنیتەوە پاکە، تا هێرشەکە دووبارە دەست پێنەکاتەوە.
Quick checkپشکنینی خێراWhy is a backup on a disk that is always connected to the server weak against ransomware?بۆچی لەسەر دیسکێک کە هەمیشە بە بەستراوە لە بەرامبەر لاوازە؟

Cold, hot and warm backupsباکئەپی سارد، باکئەپی گەرم و باکئەپی نیمچەگەرم

Backups are also described by how they are taken: with the database stopped, or while it is still running.

بەپێی چۆنیەتیی گرتنیشیان ناو دەنرێن: کاتێک وەستێنراوە، یان کاتێک هێشتا کار دەکات.

Definitionپێناسە

A backup taken while the database is shut down, so nobody can use it during the copy. It is simple and safe but causes .

باکئەپێکە کە لە کاتی کوژاندنەوەی بنکەدراوەکەدا دەگیرێت، بۆیە لە کاتی کۆپیکردنەکەدا کەس ناتوانێت بەکاری بهێنێت. سادە و سەلامەتە بەڵام دەبێتە هۆی .

The database is shut down while the copy is taken. Nobody can use the system during the backup.

لە کاتی کۆپیکردنەکەدا دادەخرێت. لە ماوەی کەس ناتوانێت سیستەمەکە بەکار بهێنێت.

Definitionپێناسە

A backup taken while the database is still running and people are using it. There is no downtime, but the DBMS must make sure the copy is consistent.

باکئەپێکە کە لە کاتێکدا دەگیرێت کە بنکەدراوەکە هێشتا کار دەکات و خەڵک بەکاری دەهێنن. هیچ وەستانێک نییە، بەڵام DBMSـەکە دەبێت دڵنیا بێت کە کۆپییەکە کۆکە.

The copy is taken while the database is still running and people are still using it.

کۆپییەکە لە کاتێکدا دەگیرێت کە هێشتا کار دەکات و خەڵک هێشتا بەکاری دەهێنن.

FeatureتایبەتمەندیCold (offline) backup (ئۆفلاین)Hot (online) backup (ئۆنلاین)
Database during the copy لە کاتی کۆپیکردنداShut downداخراوەRunningکار دەکات
UsersCannot use the systemناتوانن سیستەمەکە بەکار بهێننKeep workingبەردەوام کار دەکەن
YesبەڵێNoneنییە
DifficultyقورسیSimple: nothing can change during the copyسادە: لە کاتی کۆپیکردندا هیچ شتێک ناگۆڕێتThe DBMS must keep the copy consistent (with locks or the log) دەبێت کۆپییەکە کۆک ڕابگرێت (بە یان بە )
Typical useبەکارهێنانی باوSmall systems, a planned maintenance time, or a copy taken from a second (replica) serverسیستەمی بچووک، کاتی پلانبۆدانراو، یان کۆپییەک کە لە دووەمی (لەبەرگیراو) دەگیرێتBusy systems that must run 24 hours a dayسیستەمی قەرەباڵغ کە دەبێت ٢٤ کاتژمێر کار بکەن
Quick checkپشکنینی خێراAn online shop must stay open 24 hours a day, 7 days a week. Which backup method fits?فرۆشگایەکی ئۆنلاین دەبێت ٢٤ کاتژمێر و ٧ ڕۆژی هەفتە کراوە بێت. کام ڕێگای گونجاوە؟

Cold, hot and warm backupsباکئەپی سارد، باکئەپی گەرم و باکئەپی نیمچەگەرم

What the course says, and a middle wayئەوەی کۆرسەکە دەیڵێت و ڕێگایەکی ناوەڕاست

Bringing the data backگەڕاندنەوەی دراوە

When something goes wrong, the DBA recovers the database in one of two main ways:

کاتێک شتێک تێک دەچێت، بە یەکێک لەم دوو ڕێگا سەرەکییە دەگەڕێنێتەوە:

  • Full recovery: restore the latest backups (a full backup plus any incremental or differential backups). The database returns to the moment the last backup was taken.
  • (PITR): restore the database to a chosen date and time, for example to five minutes before the mistake.
  • گەڕاندنەوەی تەواو: دوایین بگەڕێنەوە ( لەگەڵ هەر یان ). دەگەڕێتەوە بۆ ئەو ساتەی دوایین تێدا گیراوە.
  • ⁦(PITR)⁩: بۆ ڕێکەوت و کاتێکی هەڵبژێردراو بگەڕێنەوە، بۆ نموونە بۆ پێنج خولەک پێش هەڵەکە.
Point-in-time recovery, step by stepگەڕاندنەوە بۆ ساتێکی دیاریکراو، هەنگاو بە هەنگاو
  1. Find the moment. A wrong DELETE ran at 14:05, so the target is 14:04.

    ساتەکە بدۆزەرەوە. هەڵە لە کاتژمێر ⁦14:05⁩ جێبەجێ کرا، بۆیە ئامانجەکە ⁦14:04⁩ـە.

  2. Restore the base backup, for example last night's full backup from 02:00.

    بگەڕێنەوە، بۆ نموونە شەوی ڕابردوو لە کاتژمێر ⁦02:00⁩.

  3. Replay the log from 02:00 up to 14:04. Every change before the mistake is done again; the wrong DELETE is not.

    دووبارە جێبەجێ بکەرەوە لە ⁦02:00⁩ تا ⁦14:04⁩. هەموو گۆڕانکارییەکی پێش هەڵەکە دووبارە دەکرێتەوە؛ DELETEـە هەڵەکە ناکرێتەوە.

  4. Check the data, then let users back in.

    بپشکنە، پاشان ڕێگە بە بدە بگەڕێنەوە ژوورەوە.

Quick checkپشکنینی خێراWhat does point-in-time recovery do? چی دەکات؟

Bringing the data backگەڕاندنەوەی دراوە

Two kinds of failure, two kinds of recoveryدوو جۆر تێکچوون، دوو جۆر گەڕاندنەوە

How the DBA recovers depends on what was lost:

بەپێی ئەوەی چی لەدەست چووە دەگەڕێنێتەوە:

QuestionپرسیارSystem crash سیستەمMedia (disk) failureتێکچوونی
Exampleنموونەa power cut, an operating-system error, a server that stops suddenlyبڕانی کارەبا، هەڵەیەکی ، کە لەناکاو دەوەستێتa disk that breaks or is damagedدیسکێک کە تێک دەچێت یان زیانی پێدەگات
How oftenچەند جارfairly oftenزۆرجارrarelyبە دەگمەن
What is lostچی لەدەست دەچێتthe contents of memory (RAM); the data on disk is safeناوەڕۆکی ؛ سەر دیسک سەلامەتەthe data on that disk سەر ئەو دیسکە
How to recoverچۆن بگەڕێنرێتەوەRestart. The DBMS reads its log by itself, redoes committed transactions and undoes unfinished ones.دووبارە دەستپێکردنەوە. خۆی فایلی لۆگەکەی دەخوێنێتەوە، دووبارە دەکاتەوە و تەواونەکراوەکان هەڵدەوەشێنێتەوە.Restore the latest backup, then replay the log (MySQL's binary log) up to the moment of failure.دوایین بگەڕێنەوە، پاشان (⁦binary log⁩ـی MySQL) تا ساتی تێکچوونەکە دووبارە جێبەجێ بکەرەوە.
Quick checkپشکنینی خێراThe power fails in the middle of the day. When it comes back, the server's disks are fine. What does the DBA need to do?کارەبا لە ناوەڕاستی ڕۆژدا دەبڕێت. کاتێک دەگەڕێتەوە، دیسکەکانی سەلامەتن. پێویستە چی بکات؟

Planning: how much can we lose, how long can we wait?پلاندانان: چەند لەدەست بدەین، چەند چاوەڕێ بکەین؟

That question has a name: the recovery time objective, . It has a partner question, “How much data may we lose?”, called the recovery point objective, . The organisation decides both numbers; the DBA designs the backups to meet them.

ئەو پرسیارە ناوێکی هەیە: . هاوبەشێکیشی هەیە، «چەند دەتوانین لەدەست بدەین؟»، کە پێی دەوترێت . دامەزراوەکە هەردوو ژمارەکە دیاری دەکات؛ بە شێوەیەک دادەڕێژێت کە پێیان بگات.

A timeline. On the left, the last backup at 02:00. In the middle, a failure at 17:00. On the right, the service works again at 19:00. The span from the last backup to the failure is labelled RPO: data that can be lost, looking back. The span from the failure to the service working again is labelled RTO: downtime, looking forward.هێڵێکی کات. لە لای چەپ، دوایین باکئەپ لە کاتژمێر 02:00. لە ناوەڕاست، تێکچوونێک لە کاتژمێر 17:00. لە لای ڕاست، خزمەتگوزارییەکە لە کاتژمێر 19:00 دووبارە کار دەکاتەوە. ماوەی نێوان دوایین باکئەپ و تێکچوونەکە ناوی RPOـیە: دراوە، کە لەوانەیە لەدەست بچێت، بە سەیرکردن بۆ دواوە. ماوەی نێوان تێکچوونەکە و دووبارە کارکردنەوەی خزمەتگوزارییەکە ناوی RTOـیە: کاتی وەستان، بە سەیرکردن بۆ پێشەوە.
RPO looks back from the failure (how much data is lost). RTO looks forward (how long the service is down). لە تێکچوونەکەوە سەیری دواوە دەکات (چەند لەدەست دەچێت). سەیری پێشەوە دەکات (خزمەتگوزارییەکە چەند ماوە لە کار دەکەوێت).CêIT
Quick checkپشکنینی خێراA bank says: “After a failure we may lose at most 5 minutes of transactions, and the system must work again within 1 hour.” What is the bank's RPO?بانکێک دەڵێت: «دوای تێکچوونێک دەتوانین زۆرترین ٥ خولەکی لەدەست بدەین و دەبێت سیستەمەکە لە ماوەی ١ کاتژمێردا دووبارە کار بکاتەوە.» RPOی بانکەکە چەندە؟

Planning: how much can we lose, how long can we wait?پلاندانان: چەند لەدەست بدەین، چەند چاوەڕێ بکەین؟

An example: Dilan's clinicنموونەیەک: کلینیکەکەی دیلان

Dilan's clinic takes a full backup every night at 02:00 and nothing else. One day at 17:00 the server fails. Every appointment entered since 02:00 is lost: about 15 hours of work. If the failure had come just before 02:00, almost 24 hours would be lost. So the clinic's real RPO is up to 24 hours.

کلینیکەکەی دیلان هەموو شەوێک لە کاتژمێر ⁦02:00⁩ دەگرێت و هیچی تر. ڕۆژێک لە کاتژمێر ⁦17:00⁩ تێک دەچێت. هەموو ئەو چاوپێکەوتنانەی لە ⁦02:00⁩ـەوە تۆمار کراون لەدەست دەچن: نزیکەی ١٥ کاتژمێر کار. ئەگەر تێکچوونەکە ڕێک پێش ⁦02:00⁩ بووایە، نزیکەی ٢٤ کاتژمێر لەدەست دەچوو. کەواتە RPOی ڕاستەقینەی کلینیکەکە تا ٢٤ کاتژمێرە.

The clinic decides that it may lose at most 15 minutes of data (RPO = 15 minutes) and must work again within 2 hours (RTO = 2 hours). A nightly backup cannot meet that RPO. The DBA keeps the nightly full backup but also copies the log to another place every 15 minutes, or all the time. To meet the RTO, the DBA practises the restore and measures how long it really takes.

کلینیکەکە بڕیار دەدات کە زۆرترین ١٥ خولەک لەدەست بدات (RPO = ١٥ خولەک) و دەبێت لە ماوەی ٢ کاتژمێردا دووبارە کار بکاتەوە (RTO = ٢ کاتژمێر). شەوانە ناتوانێت بەو RPOـیە بگات. شەوانە دەهێڵێتەوە، بەڵام هەموو ١٥ خولەک جارێک، یان بەردەوام، بۆ شوێنێکی تر کۆپی دەکات. بۆ گەیشتن بە RTO، ڕاهێنان لەسەر گەڕاندنەوەکە دەکات و دەپێوێت کە بە ڕاستی چەند کاتی دەوێت.

ExerciseڕاهێنانDoes the plan meet the targets?ئایا پلانەکە بە ئامانجەکان دەگات؟

A school website keeps its database in MySQL. The school says: “We may lose one hour of data at most, and the site must be back within one day.” The DBA takes a full backup every Sunday and an incremental backup every night. Does this meet the RPO and the RTO? What would you change?

قوتابخانەیەک لە MySQL هەڵدەگرێت. قوتابخانەکە دەڵێت: «زۆرترین دەتوانین یەک کاتژمێر لەدەست بدەین و دەبێت لە ماوەی یەک ڕۆژدا بگەڕێتەوە.» هەموو یەکشەممەیەک و هەموو شەوێک دەگرێت. ئایا ئەمە بە RPO و RTO دەگات؟ چی دەگۆڕیت؟

Hintئاماژە

Ask two questions: how old can the newest copy be, and how long does the restore take?

دوو پرسیار بکە: نوێترین کۆپی دەتوانێت چەند کۆن بێت و گەڕاندنەوەکە چەند کاتی دەوێت؟

Show answerوەڵامەکە پیشان بدە
  • RPO: no. With one backup a night, up to 24 hours of data can be lost, not 1 hour. Copy the MySQL binary log to another place at least every hour (or continuously), or take a backup every hour.
  • RTO: probably yes. One day is a long time, but the restore needs Sunday's full backup plus up to six incremental backups. The DBA should test it once to be sure it finishes within a day.
  • RPO: نەخێر. بە یەک لە شەوێکدا، تا ٢٤ کاتژمێر لەدەست دەچێت، نەک ١ کاتژمێر. binary logی MySQL لانیکەم هەموو کاتژمێرێک (یان بەردەوام) بۆ شوێنێکی تر کۆپی بکە، یان هەموو کاتژمێرێک بگرە.
  • RTO: بە ئەگەری زۆر بەڵێ. یەک ڕۆژ ماوەیەکی درێژە، بەڵام گەڕاندنەوەکە پێویستی بە یەکشەممە و تا شەش هەیە. دەبێت جارێک تاقی بکاتەوە تا دڵنیا بێت لە ماوەی ڕۆژێکدا تەواو دەبێت.

Three habits that make backups workسێ خوو کە وا دەکەن باکئەپ کار بکات

  1. Test backups. Always test your backups by restoring them. A backup is useless if it does not work when you need it.
  2. Use automation. Schedule backups to run by themselves, daily or weekly, and read the report of each run. People forget; a schedule does not.
  3. Encrypt data. Encrypt sensitive backups to protect them from hackers. Keep the safe and separate: if you lose the key, you lose the backup.
  1. تاقی بکەرەوە. هەمیشە بە گەڕاندنەوەیان تاقی بکەرەوە. کە لە کاتی پێویستیدا کار نەکات بێسوودە.
  2. بەکار بهێنە. ڕێک بخە تا خۆیان ڕۆژانە یان هەفتانە کار بکەن و ڕاپۆرتی هەر جارێک بخوێنەرەوە. خەڵک لە بیریان دەچێت؛ خشتەی کات لە بیری ناچێت.
  3. شفرە بکە. شفرە بکە تا لە بیانپارێزیت. بە سەلامەتی و بە جیا هەڵبگرە: ئەگەر کلیلەکە ون بکەیت، ون دەکەیت.
Quick checkپشکنینی خێراWhy must you test your backups?بۆچی دەبێت تاقی بکەیتەوە؟

Common mistakesهەڵە باوەکان

MistakeهەڵەWhy it is a problemبۆچی کێشەیەDo this insteadلە جیاتی ئەوە ئەمە بکە
Keeping the only backup on the same disk or serverهەڵگرتنی تاکە لەسەر هەمان دیسک یان One failure, fire or virus destroys bothیەک تێکچوون، ئاگر یان ڤایرۆس هەردووکیان لەناو دەباتFollow the 3-2-1 rule: one copy in another placeپەیڕەوی بکە: یەک کۆپی لە شوێنێکی تر
Mixing up incremental and differentialتێکەڵکردنی و You collect the wrong backups for the restore هەڵە بۆ گەڕاندنەوەکە کۆ دەکەیتەوەIncremental = since the last backup; differential = since the last full backup = لە دوای دوایین ؛ = لە دوای دوایین
Saying “hot backups are faster but riskier”وتنی « خێراترە بەڵام مەترسیدارترە»Speed is not the difference; the DBMS makes hot backups consistentخێرایی جیاوازییەکە نییە؛ کۆک دەکاتHot = no downtime; cold = simple but the system is stopped = بێ ؛ = سادە بەڵام سیستەمەکە دەوەستێت
Calling cold and hot backups “recovery strategies”ناونانی و بە «ستراتیژیی گەڕاندنەوە»They are ways of taking a backupئەوانە ڕێگای گرتنی Recovery = full recovery or point-in-time recovery = گەڕاندنەوەی تەواو یان
Expecting point-in-time recovery without keeping the logچاوەڕوانیی بەبێ Without the log you can only go back to the moment of a backupبەبێ تەنها دەتوانیت بگەڕێیتەوە بۆ ساتی Keep a base backup and archive the log continuously بنەڕەتی هەڵبگرە و بەردەوام ئەرشیف بکە
Never testing a restoreهەرگیز تاقینەکردنەوەی گەڕاندنەوەEmpty or broken backups are found on the worst day بەتاڵ یان تێکچوو لە خراپترین ڕۆژدا دەدۆزرێتەوەRestore on to a test machine regularlyبە ڕێکی لەسەر ئامێرێکی تاقیکردنەوە بیگەڕێنەوە
All backups always connected to the networkهەموو هەمیشە بە بەستراونRansomware can encrypt or delete them دەتوانێت شفرەیان بکات یان بیانسڕێتەوەKeep one copy offline or immutableیەک کۆپی ئۆفلاین یان نەگۆڕ هەڵبگرە
Storing the encryption key with the backups, or losing itهەڵگرتنی لەگەڵ ، یان ونکردنیA thief gets both, or nobody can read the backupدز هەردووکیان دەبات، یان کەس ناتوانێت بخوێنێتەوەKeep the key safe, separate and documentedکلیلەکە سەلامەت، جیا و نووسراو هەڵبگرە

Quick checkپشکنینی خێرا

Try to answer each question in your own words before you read the answer.

هەوڵ بدە پێش خوێندنەوەی وەڵامەکە بە وشەی خۆت وەڵامی هەر پرسیارێک بدەیتەوە.

Review questionsپرسیارەکانی پێداچوونەوە
What is the difference between an incremental and a differential backup?جیاوازیی نێوان باکئەپی هەنگاوبەهەنگاو و باکئەپی کەڵەکەبوو چییە؟

An incremental backup saves the changes since the last backup of any kind; a differential backup saves the changes since the last full backup.

ئەو گۆڕانکارییانە پاشەکەوت دەکات کە لە دوای دوایین کراون، هەر جۆرێک بێت؛ ئەو گۆڕانکارییانە پاشەکەوت دەکات کە لە دوای دوایین کراون.

Which backup type is fastest to restore?کام جۆری باکئەپ خێراترین گەڕاندنەوەی هەیە؟

A full backup: it is one single complete copy.

: یەک کۆپیی تەواوە.

What does point-in-time recovery do, and what does it need?گەڕاندنەوە بۆ ساتێکی دیاریکراو چی دەکات و پێویستی بە چییە؟

It restores the database to a specific date and time. It needs a base backup plus the log of every change since that backup.

بۆ ڕێکەوت و کاتێکی دیاریکراو دەگەڕێنێتەوە. پێویستی بە بنەڕەتی هەیە لەگەڵ ، کە هەموو گۆڕانکارییەکی دوای ئەو تێدایە.

Why must you test your backups?بۆچی دەبێت باکئەپەکانت تاقی بکەیتەوە؟

A backup is useless if it does not work when you need it.

کە لە کاتی پێویستیدا کار نەکات بێسوودە.

What is the difference between the RPO and the RTO?جیاوازیی نێوان RPO و RTO چییە؟

The RPO is how much data (measured in time) may be lost; the RTO is how long the service may be down before it works again.

RPO ئەوەیە کە چەند (بە کات پێوراو) دەتوانێت لەدەست بچێت؛ RTO ئەوەیە کە خزمەتگوزارییەکە چەند ماوە دەتوانێت لە کار بکەوێت پێش ئەوەی دووبارە کار بکاتەوە.

Summaryپوختە

  • A backup is a copy of the database and its log; recovery puts it back. Both halves must work.
  • Four reasons: hardware failure, human mistakes, cyberattacks (ransomware) and legal requirements.
  • Full = everything (1 backup to restore); incremental = since the last backup (all of them to restore); differential = since the last full backup (2 to restore).
  • Follow the 3-2-1 rule, and keep one copy offline or immutable against ransomware.
  • Cold and hot are ways of taking a backup (stopped or running); point-in-time recovery needs a base backup plus the log.
  • RPO = how much data may be lost; RTO = how long the service may be down.
  • Test, automate and encrypt your backups.
  • کۆپییەکە لە و ؛ دەیباتەوە شوێنی خۆی. دەبێت هەردوو نیوەکە کار بکەن.
  • چوار هۆکار: تێکچوونی ، هەڵەی مرۆیی، () و داواکارییە یاساییەکان.
  • = هەموو شتێک (١ بۆ گەڕاندنەوە)؛ = لە دوای دوایین (هەموویان بۆ گەڕاندنەوە)؛ = لە دوای دوایین (٢ بۆ گەڕاندنەوە).
  • پەیڕەوی بکە و یەک کۆپی ئۆفلاین یان نەگۆڕ لە بەرامبەر هەڵبگرە.
  • و ڕێگای گرتنی (وەستاو یان کارا)؛ پێویستی بە بنەڕەتی و هەیە.
  • RPO = چەند دەتوانێت لەدەست بچێت؛ RTO = خزمەتگوزارییەکە چەند ماوە دەتوانێت لە کار بکەوێت.
  • تاقی بکەرەوە، خۆکاریان بکە و شفرەیان بکە.

Lesson complete!وانەکە تەواو بوو!

Well done. Review the key terms, then go on to the next lesson.دەستخۆش. سەیرێکی زاراوە سەرەکییەکان بکەرەوە، پاشان بڕۆ بۆ وانەی داهاتوو.

Key termsزاراوە سەرەکییەکان

Next lessonوانەی داهاتوو

NoSQL and Big DataNoSQL و دراوەی گەورە

References and further readingسەرچاوەکان و خوێندنەوەی زیاتر

This lecture is a first edition. The Kurdish text and terminology are waiting for review by Kurdish IT teachers.ئەم وانەیە چاپی یەکەمە. دەقە کوردییەکە و زاراوەکانی چاوەڕێی پێداچوونەوەی مامۆستایانی کوردی بواری IT ن.