Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Sv translation
languageen

Application level backup

See Domain Backup guide.

Database level backup

There are three fundamentally different approaches to backing up PostgreSQL data:

  • SQL dump

  • File system level backup

  • Continuous archiving

Each has its own strengths and weaknesses; each is discussed on the PostgreSQL documentation pages.

Info

All settings, meta-data and raw data are stored within the PostgreSQL database server. Database backup is sufficient to preserve the entire BellaDati application.

The most common is the SQL dump, which backups the database contents using the dump command:

Code Block
pg_dump -U user -F c -v -f "path_to_dump/dump.backup" belladati_db

Copy the backup file to your new system and restore it in the target database:

Code Block
pg_restore -v -c -O -d belladati_db -U user path_to_dump/dump.backup
Sv translation
languageja

アプリケーション・ラベルのバックアップ

以下のドメインバックアップガイドや使用のビデオチュートリアルを参照してください。

Widget Connector
width640
urlhttps://www.youtube.com/watch?v=WhmIWKNsiKY
height480

データベースラベルのバックアップ

PostgreSQLのデータをバックアップする場合、3つの異なるアプローチがある:

  • SQLダンプ
  • ファイルシステムラベルのバックアップ
  • 連続アーカイブ

それぞれには長所と短所があります。それぞれがPostgreSQLのドキュメントページに説明されています。

 

Info

すべての設定、メタデータと生データはPostgreSQLデータベースサーバ内に格納されます。データベースのバックアップは、全体BellaDatiアプリケーションを維持するのに十分です。

最も一般的なのはdumpコマンドを使用して、データベースの内容をバックアップするSQLダンプであります。

Code Block
pg_dump -U user -F c -v -f "path_to_dump/dump.backup" belladati_db

あなたの新しいシステムにバックアップファイルをコピーし、ターゲット・データベースでそれを復元します。

Code Block
pg_restore -v -c -O -d belladati_db -U user path_to_dump/dump.backup