Changes between Version 1 and Version 2 of TracBackup


Ignore:
Timestamp:
Jun 21, 2005, 1:13:36 AM (19 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracBackup

    v1 v2  
    1 = Trac Backup =
    2 Since Trac uses a database backend, it requires some extra care to safely create a backup of a TracEnvironment. Luckily, TracAdmin has a command to make backups easier - '''hotcopy'''.
     1= バックアップ =
     2Trac はバックエンドにデータベースを使用しているため、安全に TracEnvironment のバックアップを作成するためには、何らかの配慮が必要になります。 TracAdmin に用意されている '''hotcopy''' コマンドを使用するとバックアップの作成を簡単に行なう事ができます。
    33
    4 '''Note:''' Trac uses the ''hotcopy'' nomenclature to match that of [http://subversion.tigris.org/ Subversion], to make it easier to remember when managing both Trac and Subversion servers.
     4'''Note:''' Trac では、 Trac と Subversion 両方を管理するときに分かりやすいよう、 [http://subversion.tigris.org/ Subversion] にあわせて、 ''hotcopy'' という用語にしました。
    55
    6 == Creating a Backup ==
    7 To create a backup of a live TracEnvironment, simply run:
     6== バックアップの作成 ==
     7稼働中の TracEnvironment をバックアップするためには、以下のコマンドを実行してください:
    88{{{
    99  $ trac-admin /some/where/mytracenv hotcopy /my/vault/mytracenv-backup
    1010}}}
    1111
    12 '''Note:''' TracAdmin will lock the database while copying.
     12'''Note:''' TracAdmin はバックアップの間、データベースをロックします。
    1313
    14 The resulting backup copy is safe to handle using standard file-based backup tools like tar or dump/restore.
     14バックアップされたファイルは、tar や dump/restore のような通常のファイルベースのバックアップツールで、安全に取り扱うことができます。
    1515
    1616
    17 === Restoring a Backup ===
    18 Backups are simply a copied snapshot of the entire TracEnvironment directory structure, including the SQLite database.
     17=== バックアップからの復元 ===
     18バックアップは、SQLite データベースを含む TracEnvironment ディレクトリ配下の全体のスナップショットです。
    1919
    20 To restore an environment from a backup, simply shut down your Trac service (Web server or tracd), restore the directory structure from backup and restart the service.
     20バックアップから TracEnvironment を復元するためには、単に、 Trac サービス (Webサーバ、もしくは tracd )を停止し、バックアップから TracEnvironment を書き戻した後、サービスを起動するだけです。
    2121
    2222----
    23 See also: TracAdmin, TracGuide
     23参考: TracAdmin, TracGuide