• Products
    • View all products
    • Free trials
    • Buy online
    • Product lines
      • ApexSQL
      • Change Auditor
      • Enterprise Reporter
      • Foglight Database Monitoring
      • Foglight Evolve
      • KACE
      • Metalogix
      • Migration Manager
      • NetVault Backup
      • One Identity
      • QoreStor
      • Quest On Demand
      • Rapid Recovery
      • Recovery Manager
      • RemoteScan
      • SharePlex
      • Spotlight
      • Stat
      • Toad
    • Featured products
      • Cloud Management
        • Cloud Access Manager
        • Foglight for Virtualization, Enterprise Edition
        • Identity Manager
        • On Demand Migration for Email
        • Quest On Demand
        • Rapid Recovery
      • Data Protection
        • Foglight for Virtualization
        • NetVault
        • NetVault for Office 365
        • QorePortal
        • QoreStor
        • Rapid Recovery
        • vRanger
      • Database Management
        • Foglight for Databases
        • Litespeed for SQL Server
        • SharePlex
        • Spotlight SQL Server Enterprise
        • Toad Data Point
        • Toad DevOps Toolkit
        • Toad Edge
        • Toad for Oracle
        • Toad for SQL Server
      • Identity & Access Management
        • Active Roles
        • Defender
        • Identity Manager
        • Identity Manager Data Governance
        • One Identity Safeguard
        • Password Manager
        • Privileged Access Suite for Unix
        • Starling Connect
        • Starling Two-Factor Authentication
        • syslog-ng
      • Microsoft Platform Management
        • Active Administrator
        • Change Auditor
        • Enterprise Reporter
        • GPOADmin
        • InTrust
        • Metalogix
        • Migration Manager
        • On Demand Migration for Email
        • Quest On Demand
        • Recovery Manager
      • Performance Monitoring
        • Foglight Capacity Director
        • Foglight Hybrid Cloud Manager
        • Foglight for Databases
        • Foglight for Operating Systems
        • Foglight for Oracle
        • Foglight for PostgreSQL
        • Foglight for SQL Server
        • Foglight for Storage Management
        • Foglight for Virtualization
        • Spotlight on SQL Server
      • Unified Endpoint Management
        • Desktop Authority Management Suite
        • KACE Cloud Mobile Device Manager
        • KACE Desktop Authority
        • KACE Privilege Manager
        • KACE Systems Deployment Appliance
        • KACE Systems Management Appliance
        • RemoteScan
  • Solutions
    • View all Solutions
    • Industries
      • Education
      • Energy
      • Federal Government
      • Financial Services
      • Healthcare
      • State & Local Government
    • Platforms
      • Active Directory
      • Cisco
      • DB2
      • Exchange
      • Hyper-v
      • Lotus Notes
      • OneDrive for Business
      • Office 365
      • Oracle
      • SAP/Sybase
      • SharePoint
      • SQL Server
      • Teams
      • Unix/Linux
      • VMware
      • Windows Server
    • Cloud Management
    • Data Protection
      • Overview
      • Backup & Recovery
      • Cloud Management
      • Deduplication & Compression
      • Disaster Recovery
      • Office 365 Data Protection
      • Virtualization Management
    • Database Management
      • Overview
      • Administration
      • Cloud Migration
      • Data Preparation and Provisioning
      • Development
      • DevOps
      • Performance Monitoring
      • Replication
      • Supported Platforms
        • IBM DB2
        • MySQL
        • Oracle
        • PostgreSQL
        • SAP Solutions
        • SQL Server
    • GDPR Compliance
    • Identity & Access Management
      • Overview
      • Identity Administration
      • Identity Governance
      • Privileged Access Management
      • AD Account Lifecycle Management
      • Access Control
      • Cloud
      • Log Management
    • Microsoft Platform Management
      • Overview
      • Mergers & Acquisitions
      • Migration & Consolidation
      • Office 365 Migration & Management
      • Security & Compliance
      • Windows Backup & Recovery
      • Supported Platforms
        • Active Directory
        • Cisco
        • Exchange
        • Groupwise
        • Lotus Notes
        • Office 365
        • OneDrive for Business
        • SharePoint
        • SQL Server
        • Teams
        • Unix/Linux
        • Windows Server
    • Performance Monitoring
      • Overview
      • Database Performance Monitoring
      • Operating System Monitoring
      • Storage Performance & Utilization Management
      • Supported Platforms
        • Active Directory
        • DB2
        • Exchange
        • Java
        • Hyper-V
        • .NET
        • Oracle
        • SAP/Sybase
        • Storage
        • SQL Server
        • VMware
    • Unified Endpoint Management
      • Overview
      • Endpoint Compliance
      • Endpoint Security
      • Endpoint Visibility
      • Industries
        • Education
        • Healthcare
      • Supported Platforms
        • Internet of things
        • Microsoft® Windows
        • MAC
        • UNIX/LinuX
  • Resources
    • Blogs
      • Data Protection
      • Database Management
      • IT industry Insights
      • IT Ninja
      • Microsoft Platform Management
      • Performance Monitoring
      • Toad World Blog
      • Unified Endpoint Management
    • Customer Stories
    • Documents
    • Events
    • Webcasts
    • Technical Documentation
    • Videos
    • Whitepapers
  • Trials
  • Services
    • Consulting Services
      • Overview
      • Microsoft Platform Services
      • Data Protection Services
      • Unified Endpoint Management
      • Performance Monitoring Services
      • Database Management Services
    • Educational Services
    • Support Services
  • Support
    • Support Home
    • By Product
      • All Products
      • AppAssure
      • Archive Manager
      • Change Auditor
      • Desktop Authority
      • DR Series
      • Foglight
      • KACE
      • Migration Manager
      • NetVault
      • Rapid Recovery
      • SharePlex
      • Toad
      • vRanger
    • Contact Support
      • Overview
      • Customer Service
      • Licensing Assistance
      • Renewal Assistance
      • Technical Support
    • Download Software
    • Knowledge Base
    • My Account
      • My Products
      • My Service Requests
      • My Licenses
      • My Groups
      • My Profile
    • Policies & Procedures
    • Consulting Services
      • Microsoft Platform Management
      • Data Protection
      • Unified Endpoint Management
      • Performance Monitoring
      • Database Management
    • Technical Documentation
    • Educational Services
    • User Forums
    • Video Tutorials
  • Partners
    • Overview
    • Partner Circle Log In
    • Become a Partner
    • Find a Partner
    • Partner Community
    • Deal Alert
  • Blogs
    • IT Industry Insights
    • Quest Solution Blogs
      • Data Protection
      • Database Management
      • ITNinja
      • Microsoft Platform Management
      • Performance Monitoring
      • Toad World Blog
      • Unified Endpoint Management
  • Forums
  • 製品情報
    • すべての製品情報を見る
    • Change Auditor
    • Foglight
    • KACE
    • Metalogix
    • Migration Manager
    • Migrator for Notes to SharePoint
    • NetVault Backup
    • On Demand Migration for Email
    • QoreStor
    • Rapid Recovery
    • Recovery Manager
    • SharePlex
    • Spotlight
    • Toad
  • ソリューション
    • すべてのプラットフォームを見る
    • クラウド管理
    • GDPRコンプライアンス
    • データ保護
      • 概要
      • クラウド管理
      • ディザスタリカバリ
      • バックアップとリカバリ
      • Office 365 データ保護
      • 仮想化管理
      • 重複除外と複製
    • データベース管理
      • 概要
      • DevOps
      • データの準備と分析
      • データベースのクラウド移行
      • データベースパフォーマンス監視
      • データベース管理
      • データベース複製ソフトウェアツール
    • 統合エンドポイント管理
      • 概要
      • エンドポイントコンプライアンス
      • エンドポイントセキュリティ
      • エンドポイントの可視化
    • Microsoftプラットフォーム管理
      • 概要
      • ハイブリッドActive Directoryのセキュリティとガバナンス
      • Microsoftプラットフォームの移行計画と統合
      • セキュリティとコンプライアンス
      • 情報アーカイブおよびストレージ管理ソリューション
      • Windowsのバックアップとリカバリ
      • Microsoft Serverのパフォーマンスと可用性
      • レポート作成機能
      • グループポリシーと権限
    • パフォーマンス監視
  • サービス
    • コンサルティングサービス
      • 概要
      • Microsoftプラットフォーム管理
      • データ保護
      • 統合エンドポイント管理
      • パフォーマンス監視
      • データベース管理
    • トレーニングと認定資格
    • サポートサービス
  • サポート
    • サポートホーム
    • 製品で検索
      • All Products
      • AppAssure
      • Archive Manager
      • Change Auditor
      • Desktop Authority
      • DR Series
      • Foglight
      • KACE
      • Migration Manager
      • NetVault
      • Rapid Recovery
      • SharePlex
      • Toad
      • vRanger
    • お問い合わせ
      • すべて
      • カスタマサービス
      • ライセンス アシスタンス
      • 更新のアシスタンス
      • 技術サポート
    • コミュニティフォーラム
    • ソフトウェアのダウンロード
    • ナレッジ%E3%83%99ース
    • マイアカウント
      • マイ プロダクト
      • Myサービスリクエスト
      • マイ ライセンス
      • マイ グループ
      • マイ プロファイル
    • ポリシーおよび手順
    • コンサルティングサービス
      • Microsoftプラットフォーム管理
      • データ保護
      • 統合エンドポイント管理
      • パフォーマンス監視
      • データベース管理
    • リリースノートおよびガイド
    • 教育サービス
    • ビデオチュートリアル
  • トライアル
  • パートナー
    • 概要
    • Partner Circleへのログイン
    • パートナーになる
    • Find a Partner
    • パートナーコミュニティ
    • Deal Alert
  • コミュニティ
Quest Community
Quest Community
  • Site
  • User
  • Site
  • Search
  • User
Quest Software | One Identity Japan ホーム
Quest Software | One Identity Japan ホーム
Data Protection - Wiki PostgreSQL Pluginのファイルベースバックアップの設定
    • New
    • -データ保護 - Wiki
      • +NetVault 13
      • -NetVault Backup
        • NetVault 販売代理店/パートナー
        • +NetVault 講座
        • NetVault製品ライフサイクルについて
        • +NetVault Tips!
        • -NetVault Backup 簡単設定・操作ガイド
          • +NetVaultインストールの際に確認していただきたいFAQ
          • NetVault12.0.x簡単設定ガイド第3版
          • NetVault 13.0 簡単設定ガイド Revision 1.0
          • NetVault 13.1 簡単設定ガイド Revision 1.0
          • プラグインオプションのインストール(共通)
          • +NetVaultクライアントのPush Install
          • +NetVault Backupのアップグレード例
          • +Oracle データベースのバックアップ
          • -PostgreSQLデータベースのバックアップ
            • PostgreSQL Plug-inの設定(旧バージョン)
            • PostgreSQL Pluginのファイルベースバックアップの設定
          • +ディザスタ・リカバリ用オプションBMR(VaultDR)を使用する
          • IBM Db2データベースのバックアップ
          • +Office 365アイテムのバックアップ(Office 365 プラグイン12.4)
          • Microsoft 365 の永久増分バックアップ(M365 プラグイン13.2.5)
          • SAP HANA データベースのバックアップ
          • +VMware仮想マシンのバックアップ
          • +VMware仮想マシンの永久増分バックアップ
          • +VM2DD2Tー仮想マシンの重複排除バックアップ設定例
          • Nutanix AHV 仮想マシンのバックアップ
          • Oracle VM環境でのNetVault Backupを使用した仮想マシンの保護
          • +NetApp Clustered DataONTAPのバックアップ
          • Dell EMC Unity VSAをNDMPバックアップ
          • +OceanStor NAS をNDMPバックアップ
          • SmartDiskのインストール(Windows編)
          • SNMPトラップ通知を試してみる
          • (仮)Windows2019のFireWall環境でNetVaultを使用する(作業中)
          • Domino Server データベースのバックアップ
          • HPE StoreOnce VSA のVTLを利用する
          • KVM環境でのNetVaultを使用した仮想マシンの保護
          • MongoDBデータベースのバックアップ
          • +Oracle 19c HAクラスタ構成のバックアップ検証
          • +Oracle 19c SEHAのバックアップ検討(1)
          • ストレージの筐体間コピー機能を利用した災対NetVault環境でのリストア検証(作業中)
          • NetVaultクライアントのHybrid版からPure64版への移行
          • NetVault13.1でwasabiストレージを利用する
        • +NetVault product information FAQ
        • NetVaultBackupコンパチビリティガイド(日本サイト)
        • +Plugin概要
        • 【ブログ Back number】一からはじめるNetVault Backup
      • +Rapid Recovery
      • DL series(販売終了)
      • +DR series(販売終了)
      • +vRanger
      • Backup Disaster Recovery Suite
      • +【メルマガ back number】
      • +QoreStor

    PostgreSQL Pluginのファイルベースバックアップの設定

    PostgreSQL Plugin 12.3から、2種類のバックアップ方式を利用することができます。
    ・pg_dumpを利用するダンプベースのバックアップ(フルバックアップのみ)
    ・WALを利用するファイルベースのバックアップ(フルと増分バックアップ運用が可能)
     
    >>WALアーカイブを利用するファイルベースのフル・増分バックアップの設定方法
     

    (例)以下の環境について
    CentOS 7.5に、PostgreSQL 11.4をyumでインストールして、PostgreSQLコミュニティのチュートリアル
    用サンプルデータベースdvdrental をロードしています。

    (1) WALアーカイブを保存する場所として、
    NetVault用のPostgreSQLのWALログステージングディレクトリを作成します。
    (PostgreSQLのユーザがアクセスできるようにしてください)

    mkdir -p /nvbupostgresql/walstage/postgresql11
    (2) WALアーカイブを有効にします。
    WALがフルとなって再利用される前にWALアーカイブに保存するように
    postgresql.confを編集します。

    vi /var/lib/pgsql/11/data/postgresql.conf
    (3)

    postgresql.confの編集例(Linuxの場合)

    wal_level = replica            # minimal,  replica,  or logical

    archive_mode = on    # enables archiving; off, on, or always
                  # (change requires restart)

    archive_command = 'cp %p /nvbupostgresql/walstage/postgresql11/%f'
    #archive_command = '' # command to use to archive a logfile segment
                 # placeholders: %p = path of file to archive
                 # %f = file name only

    (Windowsの場合)

    wal_level = replica            # minimal,  replica,  or logical

    archive_mode = on    # enables archiving; off, on, or always
                  # (change requires restart)
    archive_command = 'copy %p "C:\\nvbupostgresql\\walstage\\postgresql11\\"%f'

    (4)

    サービスを再起動します。

    systemctl restart postgresql-11.service


    これで、archive_commandに指定されたコマンドは、
    PostgreSQL運用中に$PG_DATA/pg_wal下のWALファイルがフルになると
    実行されます。

    (5)

    NetVault用のその他のPostgreSQL側設定として
    pg_hba.confでlocalとhostの認証方式をtrustに設定します

    # TYPE DATABASE USER ADDRESS METHOD

    # "local" is for Unix domain socket connections only
    local     all     all                           trust
    # IPv4 local connections:
    host     all     all    127.0.0.1/32     trust
    # IPv6 local connections:
    host     all     all     ::1/128            trust

     

    >PostgreSQL Pluginの設定

    (6) プラグインのインストール

    >>プラグインのインストール(共通)を参照
    (7) バックアップジョブの作成画面で
    セレクションの+新規作成をクリック

    (8) 一覧からPostgreSQL Plug-inをインストールしたクライアントをドリルダウンし、
    Plug-in for PostgreSQLをクリックし、クリックメニューからAdd Database Clusterを選択

    (9) Configure Database ClusterウインドウでPostgreSQLに接続するための情報を入力します

     

    >設定項目
    データベースクラスタ名 (一意の名前) ローカルホスト名など
    port 5432
    データベーススーパーユーザ postgres
    パスワード ※pg_hba.confの認証設定にあわせる
    PostgreSQL Binディレクトリ /usr/pgsql-11/bin pg_dumpのある場所
    PostgreSQL ライブラリ /usr/pgsql-11/lib

    UNIX/Linuxのみ。
    libpq.soのある場所

    PostgreSQL データディレクトリ /var/lib/pgsql/11/data
    初期接続に使用されるデータベース postgres
    テンプレートデータベース template0
    デフォルト文字セット SJIS
    Tablespaces Reside Outside
     Data Directory
    (任意) データディレクトリ以外に配置した
    テーブルスペースをバックアップする場合に
    チェック
    Tablespace Directories (任意) そのディレクトリパス
    PostgreSQL Directory for Current Log Files pg_wal

    カレントWALファイルの場所
    $PG_DATA\pg_wal

    Temporary Directory to Stage Log Files /nvbupostgresql/walstage/postgresql11 (1)で作成したWALアーカイブ
     格納ディレクトリ

     
    注意!
    入力ウインドウにスクロールバーがありませんが、PostgreSQL Directory for Current Log Files以下が表示されていない場合があります
    その場合はタブキーで移動して入力してください。

    (10)

    NetVault PostgreSQL Plug-inが、PostgreSQLデータベースクラスタに接続し、
    バックアップセレクションで、データベースをドリルダウンし、アイテムを選択できるようになります
    データベースを選択し、Set Nameに一意となるセット名を入力して「保存」をクリックします。

    (11)

    バックアップジョブの作成画面に戻ったら
    プラグインオプションの+新規作成をクリック

    (12)

    プラグインオプションでBackup MethodのFile Level Data Copyをチェックします。

     
    >設定項目
    Backup Method SQL Logical Data Dump Pg_dumpベース、フルのみ
    File Level Data Copy base Backup 増分運用の場合はこちら
    Backup Level Base(PostgreSQL Data Directory) フルバックアップのときはこちらを選択。
    ベースラインバックアップとして
    データディレクトリの物理ファイルを
    バックアップします。
    Incremental(Changed Log Files)

    増分のときはこちらを選択。
    ステージングディレクトリにあるWALログ
    のみをバックアップします。

    Include Tablespaces outside default data directory デフォルトのデータディレクトリ以外にある
    テーブルスペースを含める場合
    Perform Offline Backup

    オフラインバックアップを行う場合

    Remove Backup Log files from Logs Backup Directory WALアーカイブ(ステージングディレクトリのWALログ)
    を削除する場合にチェックします。
    ※WALアーカイブはユーザが削除するまでたまり続けるので
    適宜削除する必要があります。

    Backup Level : Baseのフルバックアップジョブと、Backup Level : Incrementalの増分バックアップジョブを作成します。

    • Share
    • History
    • More
    • Cancel
    Related
    Recommended
    • Company
      • About Us
      • Buy
      • Contact Us
      • Careers
      • News
    • Resources
      • Industry Insights Blog
      • Communities
      • Customer Stories
      • Documents
      • Events
    • Support
      • Professional Services
      • Renew Support
      • Technical Support
      • Training & Certification
      • Support Services
    • Social Networks
      • Facebook
      • LinkedIn
      • Twitter
      • YouTube
    • © 2023 Quest Software Inc. ALL RIGHTS RESERVED.
    • Legal
    • Terms of Use
    • Privacy
    • Community Feedback & Support
    • Cookie Preference Center
    • 会社名
      • 会社情報
      • 購入
      • お問い合わせ
      • 採用情報
      • ニュース
    • リソース
      • ブログ
      • お客様の事例
      • ドキュメント
      • イベント
      • ビデオ
    • サポート
      • プロフェッショナルサービス
      • サポートの更新
      • テクニカルサポート
      • トレーニングと認定資格
      • サポートサービス
    • ソーシャルネットワーク
      • Facebook
      • Instagram
      • LinkedIn
      • Twitter
      • YouTube
    • © 2023 Quest Software Inc. ALL RIGHTS RESERVED.
    • 「法務」
    • ご利用規約
    • 個人情報保護方針
    • コミュニティのフィードバックとサポート