Translation

English
First we need to make sure that the backup files are not created in the file system that is internal to the container. Because in that case all data would be lost when the container is stopped. Therefore the backup directory must be in a volume. For now we only consider the most simple case, where the backup dir is a local dir on the Docker host. The location of the backup dir in the container can be arbitrarily chosen. In this example we choose the local dir ``otobo_backup`` as the location on the host, and ``/otobo_backup`` as the location in the container.
0/5650
Context English Japanese State
Backup and Restore バックアップとリストア
OTOBO has built in scripts for backup and restore. Execute the scripts with the option ``-h`` for more information. OTOBO にはバックアップ用とリストア用のスクリプトが組み込まれています。 詳細については、`-h`オプションを指定してスクリプトを実行して下さい。
Backup バックアップ
To create a new backup, write permission for the destination directory is needed for the user ``otobo``. 新しいバックアップを作成するには、「otobo」ユーザーに宛先ディレクトリへの書き込み権限が必要です。
The output of the script: スクリプトの出力:
Restore リストア
To restore the database make sure that the database ``otobo`` exists and contains no tables. データベースをリストアする為には、「otobo」データベースが存在し、テーブルの中が空であることを確認して下さい。
Considerations for running OTOBO under Docker Docker で OTOBO を実行する場合の考慮事項
The same scripts can be used with OTOBO running under Docker. However some Docker specific limitation must be considered. 同じスクリプトは、Docker で実行される OTOBO でも使用できます。 ただし、Docker 固有の制限を考慮する必要があります。
First we need to make sure that the backup files are not created in the file system that is internal to the container. Because in that case all data would be lost when the container is stopped. Therefore the backup directory must be in a volume. For now we only consider the most simple case, where the backup dir is a local dir on the Docker host. The location of the backup dir in the container can be arbitrarily chosen. In this example we choose the local dir ``otobo_backup`` as the location on the host, and ``/otobo_backup`` as the location in the container.
First we need to create the volume.
For creating the backup we need a running database and the volumes ``otobo_opt_otobo`` and ``otobo_backup``. This means that the webserver and the Daemon may, but don't have to, be stopped.
For restoring the backup we also need to specify which backup should be restored. The placeholder ``<TIMESTAMP>`` is something like ``2020-09-07_09-38``.
Backup and Restore using Docker
Please read to the chapter :doc:`backup-restore` for basic information about the backup and restore scripts.
The standard scripts ``backup.pl`` and ``restore.pl`` can also be used with OTOBO running under Docker. However some Docker specific limitations have to be considered.
First, we need to make sure that the backup files are not created in the file system that is internal to a Docker container. Because in that case the created files would be lost when the container is stopped. This means that the backup directory must located within in a volume. For this manual we only consider the most simple case, where the backup directory is a local directory on the Docker host. The location of the backup dir in the container can be arbitrarily chosen. In this example we choose the local dir ``otobo_backup`` as the location on the host and ``/otobo_backup`` as the location in the container.
Secondly, commands in the Docker container usually run as the user `otobo` with the user id 1000 and the group id 1000. It must be made sure, that this user can write in the backup directory.
For creating the backup we need a running database and the volumes ``otobo_opt_otobo`` and ``otobo_backup``. This means that the webserver and the OTOBO daemon may, but don't have to, be stopped.
To drop an existing otobo database and create a new one you can use the following commands. First, you have to connect to the MySQL CLI of the `db` container.
As soon as you are connected to the MySQL server, you can drop and recreate the `otobo` database.
Adapt customer interface with corporate identity
In OTOBO it is very easy to adapt the customer area to your own corporate identity. Follow this tutorial step by step and OTOBO will shine in your own design in a short time.
Currently, it is not so easy to adapt the agent area to one's own CI. Changes in the OTOBO .css files would be necessary here. One exception is the logo on the agent login page and the agent header. The logos can be easily exchanged by copying the logos to the server and then adjusting the options ``AgentLoginLogo`` and ``AgentLogo`` under ``Admin -> System Configuration``.
Change colors in Customer Area
User avatar mistral880

Suggestion added

最初に、コンテナの内部にあるファイルシステムにバックアップファイルが作成されていないことを確認する必要があります。 その場合、コンテナを停止すると全てのデータが失われるためです。 従って、バックアップディレクトリはボリューム内にある必要があります。 今のところ、バックアップディレクトリがDockerホストのローカルディレクトリである最も単純なケースのみを検討します。 コンテナ内のバックアップディレクトリの場所は任意に選択できます。 この例では、ローカルディレクトリ 「otobo_backup」をホスト上の場所として選択し、 「/ otobo_backup」をコンテナ内の場所として選択します。

Suggested change:

最初に、コンテナの内部にあるファイルシステムにバックアップファイルが作成されていないことを確認する必要があります。 その場合、コンテナを停止すると全てのデータが失われるためです。 従って、バックアップディレクトリはボリューム内にある必要があります。 今のところ、バックアップディレクトリがDockerホストのローカルディレクトリである最も単純なケースのみを検討します。 コンテナ内のバックアップディレクトリの場所は任意に選択できます。 この例では、ローカルディレクトリ 「otobo_backup」をホスト上の場所として選択し、 「/ otobo_backup」をコンテナ内の場所として選択します。
a year ago

Loading…

First we need to make sure that the backup files are not created in the file system that is internal to the container. Because in that case all data would be lost when the container is stopped. Therefore the backup directory must be in a volume. For now we only consider the most simple case, where the backup dir is a local dir on the Docker host. The location of the backup dir in the container can be arbitrarily chosen. In this example we choose the local dir ``otobo_backup`` as the location on the host, and ``/otobo_backup`` as the location in the container.
最初に、コンテナの内部にあるファイルシステムにバックアップファイルが作成されていないことを確認する必要があります。 その場合、コンテナを停止すると全てのデータが失われるためです。 従って、バックアップディレクトリはボリューム内にある必要があります。 今のところ、バックアップディレクトリがDockerホストのローカルディレクトリである最も単純なケースのみを検討します。 コンテナ内のバックアップディレクトリの場所は任意に選択できます。 この例では、ローカルディレクトリ 「otobo_backup」をホスト上の場所として選択し、 「/ otobo_backup」をコンテナ内の場所として選択します。
a year ago
Browse all component changes

Things to check

Suggestions

There is 1 suggestion for this string.

View

Glossary

English Japanese
Open Tickets / Need to be answered 対応中チケット / 回答が必要 OTOBO 10

Source information

Source string location
../../content/backup-restore.rst:100
String age
a year ago
Source string age
3 years ago
Translation file
locale/ja/LC_MESSAGES/content.po, string 10