{"id":13386,"date":"2019-11-05T09:26:08","date_gmt":"2019-11-05T09:26:08","guid":{"rendered":"https:\/\/dbtut.com\/?p=13386"},"modified":"2020-03-02T08:56:32","modified_gmt":"2020-03-02T08:56:32","slug":"what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12","status":"publish","type":"post","link":"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/","title":{"rendered":"What is PgBackRest and PgBackRest Installation in PostgreSQL 12"},"content":{"rendered":"<h1>What is pgBackRest<\/h1>\n<p>pgBackRest is a backup\/restore tool in postgresql.<\/p>\n<h2>PostgreSQL Backup Types<\/h2>\n<p>In Postgresql, we create backups in two ways: logical and physical.<\/p>\n<ul>\n<li><strong>Logical Backup<\/strong> (pg_dump, pg_dumpall)<\/li>\n<li><strong>Physical Backup<\/strong> (base backup)<\/li>\n<\/ul>\n<p>Replication mechanism is not a bacl\u0131up method!<\/p>\n<p>pgBackRest software is classified as \u201cphysical backup \/ restore\u201d.<\/p>\n<h3>What can you do with pgBackRest?<\/h3>\n<ul>\n<li>You can create backups on the same server or on a different server.<\/li>\n<li>You can create a backup from Replication. pgBackRest allows you to create backups on a backup server connected with master and replica. pgBackRest backs up data that is not available in Replica from the master. All remaining backup operations are performed from Replica. Thus, you do not create a backup cost on the master server.<\/li>\n<li>You can perform all backup and restore operations in parallel.<\/li>\n<li>pgBackRest compresses and sends data when creating backups. Thus, you do not overload the network traffic. This makes backup\/restore faster.<\/li>\n<li>pgBackRest maintains a catalog of backups;<\/li>\n<\/ul>\n<p>Time Information<br \/>\nSize Information<br \/>\nRequired segment files<br \/>\nBackup type<\/p>\n<ul>\n<li>pgBackRest has 3 backup types.<\/li>\n<\/ul>\n<h4>PgBackRest Backup Types<\/h4>\n<p>Full backup: All data in the PostgreSQL Cluster is backed up.<\/p>\n<p>Differential backup: Backups files that have changed from the last full backup.<\/p>\n<p>Incremental backup: Backups the files that have changed from the last backup.<\/p>\n<ul>\n<li>pgBackRest tracks wal files. It uses the archive_command parameter in Postgresql.conf. It deletes old backups and old wal files. Incremental backups related to full and diff backups are also automatically deleted.<\/li>\n<li>pgBackRest stores the number of full and differential backups you specify.<\/li>\n<li>pgBackRest supports PostgreSQL 12 with the latest version v2.18.<\/li>\n<\/ul>\n<h1>PgBackRest Installation<\/h1>\n<p>In this section, we will install PgBackRest and create backups with pgBackRest in the following ways.<\/p>\n<ul>\n<li>Create PostgreSQL Cluster Backup with pgBackRest on the Same Server<\/li>\n<li>Create PostgreSQL Cluster Backup with pgBackRest to Backup Server<\/li>\n<li>Create PostgreSQL Cluster Backup From Replication with pgBackRest<\/li>\n<\/ul>\n<p>First, according to the architecture you choose, we install pgBackrest on the PostgreSQL server and\/or on all servers where the backup we create is stored:<\/p>\n<h3>Install PgBackRest on Debian and its derivatives<\/h3>\n<pre class=\"lang:default decode:true \">sudo apt-get install pgbackrest<\/pre>\n<h3>Install PgBackRest on RedHat and its derivatives<\/h3>\n<pre class=\"lang:default decode:true \">sudo yum install pgbackrest.x86_64<\/pre>\n<p>PgBackRest uses archive_mode and archive_command in postgresql.conf to track wal. We set these parameters on all database servers.<\/p>\n<h3>Change Parameters on postgresql.conf to Track WALs<\/h3>\n<pre class=\"lang:default decode:true \">archive_mode = on\narchive_command = 'pgbackrest --stanza=12_data archive_push %p'<\/pre>\n<p>By connecting to PostgreSQL, you can do the same with the following commands;<\/p>\n<pre class=\"lang:default decode:true \">ALTER SYSTEM SET archive_mode = on;\nALTER SYSTEM SET archive_command = 'pgbackrest --stanza=12_data archive_push %p';<\/pre>\n<p>Restart PostgreSQL to enable the change to the archive_mode parameter.<\/p>\n<pre class=\"lang:default decode:true \">systemctl restart postgresql-12<\/pre>\n<h3>Create PostgreSQL Cluster Backup with pgBackRest on the Same Server<\/h3>\n<p>If you want to create a backup on the master server,<\/p>\n<h4>Configuration of pgBackRest<\/h4>\n<pre class=\"lang:default decode:true \">$ cat \/etc\/pgbackrest.conf\n[global]\nrepo-path=\/pg_backup\/12\/data\/pgbackrest\nbackup-user=postgres\nretention-full=3\nretention-diff=2\nprocess-max=2\nlog-path=\/pg_backup\/12\/data\/log\/pgbackrest\n\n\n[12_data]\npg1-path=\/var\/lib\/pgsql\/12\/data\/<\/pre>\n<h3>Create PostgreSQL Cluster Backup with pgBackRest to Backup Server<\/h3>\n<p>If you want to create a backup to backup server,<\/p>\n<h4>Configuration of pgBackRest on Master<\/h4>\n<pre class=\"\">$ cat \/etc\/pgbackrest.conf\n[global]\nrepo1-host=Backup_Server_IP\nrepo1-host-user=postgres\n\n[12_data]\npg1-path=\/var\/lib\/pgsql\/12\/data\/<\/pre>\n<h4>Configuration of pgBackRest on Backup Server<\/h4>\n<pre class=\"lang:default decode:true\">$ cat \/etc\/pgbackrest.conf\n[global]\nrepo1-path=\/pg_backup\/12\/data\/pgbackrest\nrepo1-retention-full=3\nrepo1-retention-diff=2\nprocess-max=2\n\n[12_data]\npg1-host=Master_Server_IP\npg1-path=\/var\/lib\/pgsql\/12\/data\/\npg1-user=postgres<\/pre>\n<h3>Create PostgreSQL Cluster Backup From Replication with pgBackRest<\/h3>\n<p>In this scenario, we will create a backup from Replika to backup server.<\/p>\n<h4>Configurations of pgbackrest on Master and Replica<\/h4>\n<pre class=\"\">$ cat \/etc\/pgbackrest.conf\n[global]\nrepo1-path=\/pg_backup\/12\/data\/pgbackrest\nrepo1-retention-full=3\nrepo1-retention-diff=2\nprocess-max=2\n\n[12_data]\npg1-host=Master_Server_IP\npg1-path=\/var\/lib\/pgsql\/12\/data\/\npg1-user=postgres<\/pre>\n<h4>Configuration of pgBackRest on Backup Server<\/h4>\n<pre class=\"lang:default decode:true\">$ cat \/etc\/pgbackrest.conf\n[global]\nrepo1-path=\/pg_backup\/12\/data\/pgbackrest\nrepo1-retention-full=3\nrepo1-retention-diff=2\nprocess-max=2\nbackup-standby=y\n\n[12_data]\npg1-host=Master_Server_IP\npg1-path=\/var\/lib\/pgsql\/12\/data\/\npg1-user=postgres\npg2-host=Replica_Server_IP\npg2-path=\/var\/lib\/pgsql\/12\/data\/\npg2-user=postgres<\/pre>\n<h1>Backup PostgreSQL Cluster with PgBackRest<\/h1>\n<h3>Check PgBackRest Configurations<\/h3>\n<p>We need to create a backup catalog first. Next, we need to check that the pgBackRest configurations are correct.<\/p>\n<pre class=\"lang:default decode:true \">$ pgbackrest --stanza=12_data stanza-create --log-level-console=info\n$ pgbackrest --stanza=12_data check --log-level-console=info<\/pre>\n<p>We can create a backup \ud83d\ude42<\/p>\n<pre class=\"lang:default decode:true \">$ pgbackrest --stanza=12_data backup --log-level-console=info<\/pre>\n<p>pgBackRest creates a full backup by default on the first backup. You can specify the backup type with &#8211;type(full, diff, or incr).<\/p>\n<pre class=\"lang:default decode:true\">$ pgbackrest --stanza=12_data --type=backup_type_you_want_to_create backup<\/pre>\n<p>The sample command and output are as follows:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-15110 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/11\/Ads\u0131z-106.png\" alt=\"\" width=\"740\" height=\"487\" \/><\/p>\n<h3>List the backup catalog and the backups<\/h3>\n<pre class=\"lang:default decode:true \">$ pgbackrest --stanza=12_data info<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-15111 aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/11\/Ads\u0131z-107.png\" alt=\"\" width=\"741\" height=\"480\" \/><\/p>\n<h1>Restore PostgreSQL Cluster with PgBackRest<\/h1>\n<p>When the PostgreSQL service is closed on the server we want to restore, we run the following command:<\/p>\n<pre class=\"lang:default decode:true \">$ pgbackrest --stanza=12_data restore<\/pre>\n<p>pgBackRest returns the most recent backup by default.<\/p>\n<p>In this article I talked about backing up with basic-level configurations.<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_13386\" class=\"pvc_stats all  \" data-element-id=\"13386\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>What is pgBackRest pgBackRest is a backup\/restore tool in postgresql. PostgreSQL Backup Types In Postgresql, we create backups in two ways: logical and physical. Logical Backup (pg_dump, pg_dumpall) Physical Backup (base backup) Replication mechanism is not a bacl\u0131up method! pgBackRest software is classified as \u201cphysical backup \/ restore\u201d. What can you do with pgBackRest? You &hellip;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_13386\" class=\"pvc_stats all  \" data-element-id=\"13386\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":477,"featured_media":13390,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[5],"tags":[5215,5217,5216,5218,5214,5221,5208,5225,5222,5219,5213,5210,5209,5212,5211,5223,5202,5203,5224,5207,5220,5205,5204,5200,5206,5227,5226,5201],"class_list":["post-13386","post","type-post","status-publish","format-standard","has-post-thumbnail","","category-postgres","tag-backup-postgresql-cluster-with-pgbackrest","tag-backup-postgresql-pgbackrest","tag-backup-postgresql-with-pgbackrest","tag-check-pgbackrest-configuration","tag-check-pgbackrest-configurations","tag-check-postgresql-backups","tag-create-postgresql-cluster-backup-with-pgbackrest-on-the-same-server","tag-find-pgbackrest-backups","tag-find-postgresql-backups","tag-how-to-use-pgbackrest","tag-install-pgbackrest-on-centos","tag-install-pgbackrest-on-debian","tag-install-pgbackrest-on-debian-and-its-derivatives","tag-install-pgbackrest-on-redhat","tag-install-pgbackrest-on-redhat-and-its-derivatives","tag-list-backup-catalog-for-pgbackrest","tag-logical-backup","tag-logical-backup-in-postgresql","tag-pgbackrest-backup-catalog","tag-pgbackrest-backup-types","tag-pgbackrest-documentation","tag-physical-backup","tag-physical-backup-in-postgresql","tag-postgresql-backup-types","tag-restore-only-one-database-in-postgresql","tag-restore-postgresql-cluster-with-pgbackrest","tag-restore-postgresql-database-with-pgbackrest","tag-what-is-pgbackrest"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is PgBackRest and PgBackRest Installation in PostgreSQL 12 - Database Tutorials<\/title>\n<meta name=\"description\" content=\"What is PgBackRest and PgBackRest Installation in PostgreSQL 12\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is PgBackRest and PgBackRest Installation in PostgreSQL 12 - Database Tutorials\" \/>\n<meta property=\"og:description\" content=\"What is PgBackRest and PgBackRest Installation in PostgreSQL 12\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/\" \/>\n<meta property=\"og:site_name\" content=\"Database Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2019-11-05T09:26:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-03-02T08:56:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/11\/Ads\u0131z-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"477\" \/>\n\t<meta property=\"og:image:height\" content=\"332\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Zekiye AYDEM\u0130R\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Zekiye AYDEM\u0130R\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/\"},\"author\":{\"name\":\"Zekiye AYDEM\u0130R\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/44676b832bdd5cfa774e985b6d85cd3b\"},\"headline\":\"What is PgBackRest and PgBackRest Installation in PostgreSQL 12\",\"datePublished\":\"2019-11-05T09:26:08+00:00\",\"dateModified\":\"2020-03-02T08:56:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/\"},\"wordCount\":611,\"commentCount\":8,\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/11\/Ads\u0131z-2.png\",\"keywords\":[\"Backup PostgreSQL Cluster with PgBackRest\",\"Backup PostgreSQL PgBackRest\",\"Backup PostgreSQL with PgBackRest\",\"check pgbackrest configuration\",\"Check PgBackRest Configurations\",\"Check postgresql backups\",\"Create PostgreSQL Cluster Backup with pgBackRest on the Same Server\",\"find pgbackrest backups\",\"find postgresql backups\",\"how to use pgbackrest\",\"Install PgBackRest on Centos\",\"Install PgBackRest on Debian\",\"Install PgBackRest on Debian and its derivatives\",\"Install PgBackRest on RedHat\",\"Install PgBackRest on RedHat and its derivatives\",\"list backup catalog for pgbackrest\",\"Logical Backup\",\"Logical Backup in PostgreSQL\",\"pgbackrest backup catalog\",\"pgBackRest Backup Types\",\"pgbackrest documentation\",\"Physical Backup\",\"Physical Backup in Postgresql\",\"PostgreSQL Backup Types\",\"Restore only one database in postgresql\",\"Restore PostgreSQL Cluster with PgBackRest\",\"Restore PostgreSQL Database with PgBackRest\",\"What is pgBackRest\"],\"articleSection\":[\"PostgreSQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/\",\"url\":\"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/\",\"name\":\"What is PgBackRest and PgBackRest Installation in PostgreSQL 12 - Database Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/11\/Ads\u0131z-2.png\",\"datePublished\":\"2019-11-05T09:26:08+00:00\",\"dateModified\":\"2020-03-02T08:56:32+00:00\",\"description\":\"What is PgBackRest and PgBackRest Installation in PostgreSQL 12\",\"breadcrumb\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/#primaryimage\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/11\/Ads\u0131z-2.png\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/11\/Ads\u0131z-2.png\",\"width\":477,\"height\":332},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dbtut.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What is PgBackRest and PgBackRest Installation in PostgreSQL 12\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dbtut.com\/#website\",\"url\":\"https:\/\/dbtut.com\/\",\"name\":\"Database Tutorials\",\"description\":\"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux\",\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dbtut.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/dbtut.com\/#organization\",\"name\":\"dbtut\",\"url\":\"https:\/\/dbtut.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"width\":223,\"height\":36,\"caption\":\"dbtut\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/44676b832bdd5cfa774e985b6d85cd3b\",\"name\":\"Zekiye AYDEM\u0130R\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/eac70389d03a5a61b22bd277efdc0bae561e8ee31279a0c187c57f9b16e15620?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/eac70389d03a5a61b22bd277efdc0bae561e8ee31279a0c187c57f9b16e15620?s=96&d=mm&r=g\",\"caption\":\"Zekiye AYDEM\u0130R\"},\"url\":\"https:\/\/dbtut.com\/index.php\/author\/zekiyeaydemir\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is PgBackRest and PgBackRest Installation in PostgreSQL 12 - Database Tutorials","description":"What is PgBackRest and PgBackRest Installation in PostgreSQL 12","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/","og_locale":"en_US","og_type":"article","og_title":"What is PgBackRest and PgBackRest Installation in PostgreSQL 12 - Database Tutorials","og_description":"What is PgBackRest and PgBackRest Installation in PostgreSQL 12","og_url":"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/","og_site_name":"Database Tutorials","article_published_time":"2019-11-05T09:26:08+00:00","article_modified_time":"2020-03-02T08:56:32+00:00","og_image":[{"width":477,"height":332,"url":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/11\/Ads\u0131z-2.png","type":"image\/png"}],"author":"Zekiye AYDEM\u0130R","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Zekiye AYDEM\u0130R","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/#article","isPartOf":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/"},"author":{"name":"Zekiye AYDEM\u0130R","@id":"https:\/\/dbtut.com\/#\/schema\/person\/44676b832bdd5cfa774e985b6d85cd3b"},"headline":"What is PgBackRest and PgBackRest Installation in PostgreSQL 12","datePublished":"2019-11-05T09:26:08+00:00","dateModified":"2020-03-02T08:56:32+00:00","mainEntityOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/"},"wordCount":611,"commentCount":8,"publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/11\/Ads\u0131z-2.png","keywords":["Backup PostgreSQL Cluster with PgBackRest","Backup PostgreSQL PgBackRest","Backup PostgreSQL with PgBackRest","check pgbackrest configuration","Check PgBackRest Configurations","Check postgresql backups","Create PostgreSQL Cluster Backup with pgBackRest on the Same Server","find pgbackrest backups","find postgresql backups","how to use pgbackrest","Install PgBackRest on Centos","Install PgBackRest on Debian","Install PgBackRest on Debian and its derivatives","Install PgBackRest on RedHat","Install PgBackRest on RedHat and its derivatives","list backup catalog for pgbackrest","Logical Backup","Logical Backup in PostgreSQL","pgbackrest backup catalog","pgBackRest Backup Types","pgbackrest documentation","Physical Backup","Physical Backup in Postgresql","PostgreSQL Backup Types","Restore only one database in postgresql","Restore PostgreSQL Cluster with PgBackRest","Restore PostgreSQL Database with PgBackRest","What is pgBackRest"],"articleSection":["PostgreSQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/","url":"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/","name":"What is PgBackRest and PgBackRest Installation in PostgreSQL 12 - Database Tutorials","isPartOf":{"@id":"https:\/\/dbtut.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/#primaryimage"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/11\/Ads\u0131z-2.png","datePublished":"2019-11-05T09:26:08+00:00","dateModified":"2020-03-02T08:56:32+00:00","description":"What is PgBackRest and PgBackRest Installation in PostgreSQL 12","breadcrumb":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/#primaryimage","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/11\/Ads\u0131z-2.png","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/11\/Ads\u0131z-2.png","width":477,"height":332},{"@type":"BreadcrumbList","@id":"https:\/\/dbtut.com\/index.php\/2019\/11\/05\/what-is-pgbackrest-and-pgbackrest-installation-in-postgresql-12\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dbtut.com\/"},{"@type":"ListItem","position":2,"name":"What is PgBackRest and PgBackRest Installation in PostgreSQL 12"}]},{"@type":"WebSite","@id":"https:\/\/dbtut.com\/#website","url":"https:\/\/dbtut.com\/","name":"Database Tutorials","description":"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux","publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dbtut.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/dbtut.com\/#organization","name":"dbtut","url":"https:\/\/dbtut.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","width":223,"height":36,"caption":"dbtut"},"image":{"@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/dbtut.com\/#\/schema\/person\/44676b832bdd5cfa774e985b6d85cd3b","name":"Zekiye AYDEM\u0130R","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/eac70389d03a5a61b22bd277efdc0bae561e8ee31279a0c187c57f9b16e15620?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/eac70389d03a5a61b22bd277efdc0bae561e8ee31279a0c187c57f9b16e15620?s=96&d=mm&r=g","caption":"Zekiye AYDEM\u0130R"},"url":"https:\/\/dbtut.com\/index.php\/author\/zekiyeaydemir\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/13386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/users\/477"}],"replies":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/comments?post=13386"}],"version-history":[{"count":0,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/13386\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media\/13390"}],"wp:attachment":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media?parent=13386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/categories?post=13386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/tags?post=13386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}