{"id":2045,"date":"2018-08-22T06:03:55","date_gmt":"2018-08-22T06:03:55","guid":{"rendered":"http:\/\/dbtut.com\/?p=2045"},"modified":"2018-12-06T13:33:09","modified_gmt":"2018-12-06T13:33:09","slug":"configuration-of-postgresql-database-replication","status":"publish","type":"post","link":"https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/","title":{"rendered":"Configuration of PostgreSQL Database Replication"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><strong>Replication:<\/strong> Replication is a way of copying and distributing data and database objects from master to slave servers. These databases are synchronized to maintain consistency. Note that replication is not a replacement of backing up databases because changes to master also affect slave servers.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Pre-Requisites:<\/strong><\/p>\n<ul style=\"list-style-type: disc;\">\n<li>\u00a02 Computers with a working network connection.<\/li>\n<li>\u00a0These computers should be installed with the same OS.<\/li>\n<li>\u00a0These computers should be running the same EDB version.<\/li>\n<li>\u00a0Fire walls should be enabled on both servers.<\/li>\n<li>\u00a0ssh complete package should be pre-installed<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><strong>The following are the IP address of master and slaves<\/strong><\/p>\n<p><strong>Master server IP:<\/strong> 192.168.2.11<\/p>\n<p><strong>Slave server IP:<\/strong> 192.168.2.12<\/p>\n<p><strong>Description:<\/strong><\/p>\n<p>Configuration of database replication between Master and Slave Server.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Procedure: In Master Side<\/strong><\/p>\n<p><strong>i) Enable the port 5444 from firewall using following command in both servers :<\/strong><\/p>\n<pre class=\"lang:default decode:true \">firewall-cmd --zone=public --add-port=5444\/tcp --permanent\r\n\r\nsystemctl restart firewalld.service<\/pre>\n<p>&nbsp;<\/p>\n<p>ii) <strong>Configuration of master server in postgresql.conf file<\/strong><\/p>\n<pre class=\"lang:default decode:true \">wal_level = hot_standby \/* to enable streaming replication *\/\r\n\r\narchive_mode = on \/* to enable archive process *\/\r\n\r\narchive_command = cp -i %p \/data\/archive\/as9.6\/%f \/* create my archive folder and give postgres permission *\/\r\n\r\nmax_wal_senders\u00a0= 2 (This should be non-zero value) \/* number of parallel wal senders to be initiated *\/\r\n\r\nwal_keep_segments = 100<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>iii) Configuration of master server in pg_hba.conf file:<\/strong><\/p>\n<p>Add ip address of both servers In IPv4 Section:<\/p>\n<pre class=\"lang:default decode:true\">host replication enterprisedb 192.168.2.11\/32 trust (Master IP)\r\nhost replication enterprisedb 192.168.2.12\/32 trust (Slave IP)<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>iv) Now restart the server using below command<\/strong><\/p>\n<pre class=\"lang:default decode:true \">pg_ctl -D \/opt\/as9.6\/data\u00a0 restart<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>v) Take the data directory backup for replication using below command<\/strong><\/p>\n<pre class=\"lang:default decode:true \">.\/pg_basebackup -h 192.168.2.11 -p 5444 -D \/pgdata\/BACKUP -U enterprisedb -v -P<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>vi) Go to the new &#8216;<\/strong><strong>\/pgdata\/<\/strong><strong>BACKUP<\/strong><strong>\u2019 directory and create the new recovery file &#8216;recovery.conf&#8217; with touch:<\/strong><\/p>\n<pre class=\"lang:default decode:true\">touch recovery.conf<\/pre>\n<pre class=\"lang:default decode:true\">standby_mode = 'on'\u00a0\/* this parameter for read only transaction *\/\r\n\r\nprimary_conninfo = 'host=192.168.2.11 port=5444 user=enterprisedb password=admin'\u00a0\/* primary server connection information *\/\r\n\r\nrestore_command = 'scp \/data\/archive\/as9.6\/%f %p' \/*\u00a0we need to specify the archive path to restore the transaction from primary server *\/\r\n\r\ntrigger_file = '\/tmp\/trigger.failover' \/*\u00a0we need to create if primary goes down standby server will come up*\/<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>vii) Edit postgresql.conf file<\/strong><\/p>\n<pre class=\"lang:default decode:true\">hot_standby = on<\/pre>\n<p>Save and exit<\/p>\n<p>&nbsp;<\/p>\n<p><strong>viii) Now goto the directory \/pgadmin\/as9.6\/bin and start the cluster by using:<\/strong><\/p>\n<pre class=\"lang:default decode:true \">.\/pg_ctl \u2013D \/pgdata\/BACKUP start<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>\u00a0To check replication status from master end<\/strong><\/p>\n<pre class=\"lang:default decode:true \">Select * from\u00a0 pg_stat_replication;<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>To check replication status from slave end<\/strong><\/p>\n<pre class=\"lang:default decode:true\">Select * from pg_is_in_recovery();<\/pre>\n<p>If the o\/p is true then it is in recovery mode.<\/p>\n<p>If the o\/p is false then it is out of recovery.<\/p>\n\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_2045\" class=\"pvc_stats all  \" data-element-id=\"2045\" 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>&nbsp; Replication: Replication is a way of copying and distributing data and database objects from master to slave servers. These databases are synchronized to maintain consistency. Note that replication is not a replacement of backing up databases because changes to master also affect slave servers. &nbsp; Pre-Requisites: \u00a02 Computers with a working network connection. \u00a0These &hellip;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_2045\" class=\"pvc_stats all  \" data-element-id=\"2045\" 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":151,"featured_media":0,"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":[],"class_list":["post-2045","post","type-post","status-publish","format-standard","","category-postgres"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Configuration of PostgreSQL Database Replication - Database Tutorials<\/title>\n<meta name=\"description\" content=\"Configuration of PostgreSQL Database Replication\" \/>\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\/2018\/08\/22\/configuration-of-postgresql-database-replication\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configuration of PostgreSQL Database Replication - Database Tutorials\" \/>\n<meta property=\"og:description\" content=\"Configuration of PostgreSQL Database Replication\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/\" \/>\n<meta property=\"og:site_name\" content=\"Database Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2018-08-22T06:03:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-12-06T13:33:09+00:00\" \/>\n<meta name=\"author\" content=\"Nikhil Palle\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nikhil Palle\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/\"},\"author\":{\"name\":\"Nikhil Palle\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/dd0873ff6b51367e62886ecd22764a03\"},\"headline\":\"Configuration of PostgreSQL Database Replication\",\"datePublished\":\"2018-08-22T06:03:55+00:00\",\"dateModified\":\"2018-12-06T13:33:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/\"},\"wordCount\":272,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"articleSection\":[\"PostgreSQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/\",\"url\":\"https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/\",\"name\":\"Configuration of PostgreSQL Database Replication - Database Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/#website\"},\"datePublished\":\"2018-08-22T06:03:55+00:00\",\"dateModified\":\"2018-12-06T13:33:09+00:00\",\"description\":\"Configuration of PostgreSQL Database Replication\",\"breadcrumb\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dbtut.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configuration of PostgreSQL Database Replication\"}]},{\"@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\/dd0873ff6b51367e62886ecd22764a03\",\"name\":\"Nikhil Palle\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/97493367586b962718e508ec27140702efec67fc31b579b0ef651cadf8b0c712?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/97493367586b962718e508ec27140702efec67fc31b579b0ef651cadf8b0c712?s=96&d=mm&r=g\",\"caption\":\"Nikhil Palle\"},\"url\":\"https:\/\/dbtut.com\/index.php\/author\/nikhilpalle\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configuration of PostgreSQL Database Replication - Database Tutorials","description":"Configuration of PostgreSQL Database Replication","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\/2018\/08\/22\/configuration-of-postgresql-database-replication\/","og_locale":"en_US","og_type":"article","og_title":"Configuration of PostgreSQL Database Replication - Database Tutorials","og_description":"Configuration of PostgreSQL Database Replication","og_url":"https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/","og_site_name":"Database Tutorials","article_published_time":"2018-08-22T06:03:55+00:00","article_modified_time":"2018-12-06T13:33:09+00:00","author":"Nikhil Palle","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Nikhil Palle","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/#article","isPartOf":{"@id":"https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/"},"author":{"name":"Nikhil Palle","@id":"https:\/\/dbtut.com\/#\/schema\/person\/dd0873ff6b51367e62886ecd22764a03"},"headline":"Configuration of PostgreSQL Database Replication","datePublished":"2018-08-22T06:03:55+00:00","dateModified":"2018-12-06T13:33:09+00:00","mainEntityOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/"},"wordCount":272,"commentCount":2,"publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"articleSection":["PostgreSQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/","url":"https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/","name":"Configuration of PostgreSQL Database Replication - Database Tutorials","isPartOf":{"@id":"https:\/\/dbtut.com\/#website"},"datePublished":"2018-08-22T06:03:55+00:00","dateModified":"2018-12-06T13:33:09+00:00","description":"Configuration of PostgreSQL Database Replication","breadcrumb":{"@id":"https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/dbtut.com\/index.php\/2018\/08\/22\/configuration-of-postgresql-database-replication\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dbtut.com\/"},{"@type":"ListItem","position":2,"name":"Configuration of PostgreSQL Database Replication"}]},{"@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\/dd0873ff6b51367e62886ecd22764a03","name":"Nikhil Palle","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/97493367586b962718e508ec27140702efec67fc31b579b0ef651cadf8b0c712?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/97493367586b962718e508ec27140702efec67fc31b579b0ef651cadf8b0c712?s=96&d=mm&r=g","caption":"Nikhil Palle"},"url":"https:\/\/dbtut.com\/index.php\/author\/nikhilpalle\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/2045","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\/151"}],"replies":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/comments?post=2045"}],"version-history":[{"count":0,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/2045\/revisions"}],"wp:attachment":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media?parent=2045"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/categories?post=2045"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/tags?post=2045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}