バックアップ リストア

提供:MoodleDocs
2007年1月10日 (水) 19:06時点におけるMitsuhiro Yoshida (トーク | 投稿記録)による版 (→‎リストア)
移動先:案内検索

作成中です - Mitsuhiro Yoshida 2007年1月9日 (火) 15:47 (CST)

Moodleでは、コースをバックアップおよびリストアすることができます。一連のMoodle次期バージョンでは、これらの処理に関してさらにオプションが追加されます。多くのMoodleサイト管理者は、スケジュールに従ってコースすべてをバックアップする、自動バックアック機能を有効にしています。コースの管理ブロックには、オンデマンドでバックアップおよびリストアをすることができるリンクがあります。

管理者またはコースの編集権限を持った教師は、コースの一部または全体を作成、移動、リストアするためのバックアップリストア機能を使用することができます。

このドキュメントでは、Moodle 1.6の処理を取り上げます。

Moodle 1.6


バックアップ

Backup icon link.gif バックアップアイコンを選択することで、下記の3つの画面が表示されます。

  • 画面1: どの活動およびリソースをバックアップするか選択します。この画面では、それぞれの活動およびリソースで学生データを含むかどうか指定します。画面1の下部では、メタコース、ユーザファイル、コースファイルの取り扱い方法に関して指定します。「続ける」ボタンをクリックすると、バックアップ処理が開始されます。
  • 画面2 ここでは、編集することのできるバックアップファイル名、およびバックアップ対象が表示されます。例えば、バックアップされるユーザ数、コースファイル、モジュールが表示されます。
  • 画面3 バックアップが正常に完了したかどうか、および「続ける」ボタンが表示されます。

リストア

Restore icon link.gif リストアアイコンを選択することで、リストア可能なバックアップディレクトリのファイルを表示します。バックアップしたいファイルを選択して、リストアリンクをクリックしてください。

  • 画面1- あなたが選択したファイルをリストアするか確認した後、続けるかキャンセルするか尋ねられます。
  • 画面2 - リストアするために、あなたが選択したファイルの中でどのデータがリストア可能か表示します。
  • 画面3 - 下記のリストアオプションを選択してください。
    • リストアオプション: 「新しいコース」「既存のコース、最初に既存のコースを削除する」「既存のコース、既存のコースにデータを追加する」
    • ここの活動に関するオプション: コースにリストアしたい活動をチェックしてください。
      • ユーザファイルを「Yes」にすることで、それぞれの活動の学生データをリストアすることができます。
    • コースファイルのリストアオプション - イメージまたはリソースファイルのリストアを選択します。
  • 画面4 - 「続ける」ボタンをクリックした後、「このコースをリストアする!」ボタンをクリックしてコースをリストアします。
  • 画面5 - 正常にリストアされた内容が表示されます。

メモ

  • 管理者およびコース作成者のオプションは:
    • Restore to an existing course either adding to the course (keeping existing data) or deleting all existing data; or
    • The creation of a new course using the data in the backup file being restored.
  • 編集権限のある教師のオプションは:
    • Restore to an existing course either adding to the course (keeping existing data) or deleting all existing data.

Moodle 1.6および古いバージョンからMoodle 1.7へコースをリストアする

Moodle 1.7

The procedure of restoring a 1.6 or older course to a 1.7 site requires additional role mapping information to be entered (on Screen 3). Since Moodle 1.7 has a dynamic roles system, it is possible to map the old roles (i.e. editing teachers, non-editing teachers and students) onto any new roles. By default, Moodle 1.7 looks for legacy roles to map intelligently, for example Moodle 1.7 will map 1.6 students onto a 1.7 legacy student role. The roles you can map onto is determined by what you can assign in the current context (current course or site). For example, if you have the teacher role in a 1.7 course, you will not be able to map students onto admins in the restored course. There is also an option to create new roles to map onto.

Moodle 1.7からMoodle 1.7へコースをリストアする

Moodle 1.7

This works pretty much the same, except there is role mapping information (on Screen 3). For every role in the backup course, you may select a corresponding role to map onto. By default, Moodle 1.7 compares the role shortname string and pre-selects the same for you. As a result, if you are restoring in the same site, you don't have to worry about what roles to map onto. The roles you can map onto are determined by what you can assign in the current context (current course or site). For example, if you have the teacher role in a 1.7 course, you will not be able to map students onto admins in the restored course. There is also an option to create new roles to map onto.

関連情報