
{"id":8083,"date":"2025-04-23T12:35:06","date_gmt":"2025-04-23T12:35:06","guid":{"rendered":"https:\/\/test.opensource-db.in\/wp1\/?p=8083"},"modified":"2025-04-23T12:35:12","modified_gmt":"2025-04-23T12:35:12","slug":"efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman","status":"publish","type":"post","link":"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/","title":{"rendered":"Efficient PostgreSQL Backup Management Using Incremental Backups in pgBarman"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">As database environments grow in size and complexity, managing efficient and reliable backups becomes critical\u2014especially in enterprise setups where downtime and data loss are not an option. <code>pgBarman<\/code> offers powerful features for automating and managing PostgreSQL backups, including support for <strong>incremental backups<\/strong> that can dramatically reduce storage consumption.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this blog post, we&#8217;ll walk through a real-world scenario where we transitioned from a daily full backup strategy to a more efficient model: retaining just one full backup with remaining incremental backups. This change was driven by storage constraints and aimed at maintaining recovery capabilities without compromising retention or performance. If you&#8217;re looking for a complete configuration, click <a href=\"https:\/\/test.opensource-db.in\/wp1\/setting-up-and-configuring-pgbarman\/\">here<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We\u2019ll explore:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>How to configure and enable incremental backups in pgBarman<\/li>\n\n\n\n<li>The storage savings achieved through deduplication<\/li>\n\n\n\n<li>How Barman handles backup retention and promotes incremental backups to full when needed<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Whether you&#8217;re a DBA looking to optimize your backup strategy or exploring pgBarman for the first time, this guide will offer practical insights and hands-on examples.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Configuring Incremental backup<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">pgBarman supports file-level incremental backups, allowing substantial space savings by reusing unchanged data from previous backups. We all know that the server configuration file would usually be located in \/etc\/barman.d\/ . We can take the incremental in one of the following two ways:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#Adding reuse_backup = link in configuration file\n&#91;barman@localhost ~]$ vi \/etc\/barman.d\/edb-server.conf\nreuse_backup = link\n\n#Using through the barman command\nbarman backup --reuse-backup=link edb-server<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">We have server configuration file <code>edb-server<\/code> . Let&#8217;s see the how we are getting the incremental backup<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#Running the backup command after adding the reuse_backup = link to edb-server.conf\n&#91;barman@localhost ~]$ barman backup edb-server\nWARNING: No backup strategy set for server 'edb-server' (using default 'concurrent_backup').\nStarting backup using rsync-concurrent method for server edb-server in \/var\/lib\/barman\/backups\/base\/20250422T040627\nBackup start at LSN: 0\/11000028 (000000020000000000000011, 00000028)\nStarting backup copy via rsync\/SSH for 20250422T040627\nCopy done (time: 1 second)\nAsking PostgreSQL server to finalize the backup.\nBackup size: 67.1 MiB. Actual size on disk: 8.7 KiB (-99.99% deduplication ratio).\nBackup end at LSN: 0\/11000100 (000000020000000000000011, 00000100)\nBackup completed (start time: 2025-04-22 04:06:27.804322, elapsed time: 5 seconds)\nProcessing xlog segments from streaming for edb-server\n        000000020000000000000010\n        000000020000000000000011<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If we observe the above output of the command, we see deduplication happens (-99.99%). Let&#8217;s see the size of the backups on the disk. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;barman@localhost ~]$ cd \/var\/lib\/barman\/backups\/base\/\n&#91;barman@localhost base]$ ls -ltr\ntotal 0\ndrwxr-xr-x. 3 barman barman 18 Apr 22 00:39 20250422T003958\ndrwxr-xr-x. 3 barman barman 18 Apr 22 01:03 20250422T010218\ndrwxr-xr-x. 3 barman barman 18 Apr 22 01:06 20250422T010514\ndrwxr-xr-x. 3 barman barman 18 Apr 22 02:13 20250422T021317\ndrwxr-xr-x. 3 barman barman 18 Apr 22 04:06 20250422T040627\n&#91;barman@localhost base]$ du -sh *\n61M     20250422T003958\n8.5M    20250422T010218\n8.5M    20250422T010514\n2.9M    20250422T021317\n80K     20250422T040627<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">We can see the old and first(full) backup <code>20250422T003958<\/code> is of <code>61M<\/code> . Remaining 4 backups are incremental backups. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Retention Policy<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Assuming a retention policy is in place, what happens to the oldest (first) full backup that is currently available?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For the demo purpose , I have configured a retention policy as 5 backups.I currently have 5 backups: 1 full backup followed by 4 incremental backups.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Checking the list of backups that are available\n&#91;barman@localhost ~]$ barman list-backup edb-server\nWARNING: No backup strategy set for server 'edb-server' (using default 'concurrent_backup').\nedb-server 20250422T040627 - R - Tue Apr 22 04:06:17 2025 - Size: 67.1 MiB - WAL Size: 0 B #Incremental backup\nedb-server 20250422T021317 - R - Tue Apr 22 02:13:07 2025 - Size: 67.1 MiB - WAL Size: 48.3 KiB #Incremental backup\nedb-server 20250422T010514 - R - Tue Apr 22 01:06:09 2025 - Size: 67.1 MiB - WAL Size: 27.3 KiB #Incremental backup \nedb-server 20250422T010218 - R - Tue Apr 22 01:03:13 2025 - Size: 63.6 MiB - WAL Size: 1.5 MiB #Incremental and second oldest backup \nedb-server 20250422T003958 - R - Tue Apr 22 00:40:12 2025 - Size: 60.1 MiB - WAL Size: 1.5 MiB #Full and oldest backup<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Here, we will initiate a new backup with the expectation that the oldest full backup (<code>20250422T003958<\/code>) will be removed, and the second oldest incremental backup (<code>20250422T010218<\/code>) will be promoted to a full backup.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#Taking a backup \n&#91;barman@localhost base]$ barman backup edb-server\nWARNING: No backup strategy set for server 'edb-server' (using default 'concurrent_backup').\nStarting backup using rsync-concurrent method for server edb-server in \/var\/lib\/barman\/backups\/base\/20250422T052117\nBackup start at LSN: 0\/13000028 (000000020000000000000013, 00000028)\nStarting backup copy via rsync\/SSH for 20250422T052117\nCopy done (time: 1 second)\nAsking PostgreSQL server to finalize the backup.\nBackup size: 67.1 MiB. Actual size on disk: 848.2 KiB (-98.77% deduplication ratio). # Deduplication applys \nBackup end at LSN: 0\/13000138 (000000020000000000000013, 00000138)\nBackup completed (start time: 2025-04-22 05:21:18.069937, elapsed time: 4 seconds)\nProcessing xlog segments from streaming for edb-server\n        000000020000000000000012\n        000000020000000000000013\n&#91;barman@localhost base]$ barman list-backup edb-server\nWARNING: No backup strategy set for server 'edb-server' (using default 'concurrent_backup').\nedb-server 20250422T052117 - R - Tue Apr 22 05:21:07 2025 - Size: 67.1 MiB - WAL Size: 0 B\nedb-server 20250422T040627 - R - Tue Apr 22 04:06:17 2025 - Size: 67.1 MiB - WAL Size: 32.3 KiB\nedb-server 20250422T021317 - R - Tue Apr 22 02:13:07 2025 - Size: 67.1 MiB - WAL Size: 48.3 KiB\nedb-server 20250422T010514 - R - Tue Apr 22 01:06:09 2025 - Size: 67.1 MiB - WAL Size: 27.3 KiB\nedb-server 20250422T010218 - R - Tue Apr 22 01:03:13 2025 - Size: 63.6 MiB - WAL Size: 1.5 MiB\nedb-server 20250422T003958 - R - Tue Apr 22 00:40:12 2025 - Size: 60.1 MiB - WAL Size: 1.5 MiB - OBSOLETE <\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">We can see the backup <code>0250422T003958<\/code> is obsolete. Let see whether it is converting the second backup <code>20250422T010218<\/code> into a full backup or not.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;barman@localhost base]$ ls -ltr\ntotal 0\ndrwxr-xr-x. 3 barman barman 18 Apr 22 01:03 20250422T010218\ndrwxr-xr-x. 3 barman barman 18 Apr 22 01:06 20250422T010514\ndrwxr-xr-x. 3 barman barman 18 Apr 22 02:13 20250422T021317\ndrwxr-xr-x. 3 barman barman 18 Apr 22 04:06 20250422T040627\ndrwxr-xr-x. 3 barman barman 18 Apr 22 05:21 20250422T052117\n&#91;barman@localhost base]$ du -sh *\n64M     20250422T010218 \n8.5M    20250422T010514\n2.9M    20250422T021317\n80K     20250422T040627\n912K    20250422T052117<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">We can see the second oldest backup (20250422T010218) is converted into full backup.I have configured a retention policy as 5 backups for the demo purpose. Alter this parameter <code>retention_policy<\/code> as per your requirement.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Summary<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In this blog, we demonstrated how PostgreSQL backup strategies can be optimized using pgBarman\u2019s incremental backup feature. By configuring <code>reuse_backup = link<\/code>, we enabled file-level incremental backups, allowing pgBarman to reuse unchanged data blocks from previous backups. This approach significantly reduces storage usage, as shown by real backup sizes dropping due to deduplication. We also explored how pgBarman&#8217;s retention policy manages backups automatically removing the oldest full backup once the retention limit is reached and promoting the next incremental backup to full. This ensures data consistency while maintaining a lightweight and efficient backup chain. Such a setup is especially beneficial for environments facing storage constraints, offering a practical and scalable solution for maintaining reliable and space-efficient backups.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As database environments grow in size and complexity, managing efficient and reliable backups becomes critical\u2014especially in enterprise setups where downtime [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":8098,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8083","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-others"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Efficient PostgreSQL Backup Management Using Incremental Backups in pgBarman - OpenSource DB<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Efficient PostgreSQL Backup Management Using Incremental Backups in pgBarman - OpenSource DB\" \/>\n<meta property=\"og:description\" content=\"As database environments grow in size and complexity, managing efficient and reliable backups becomes critical\u2014especially in enterprise setups where downtime [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/\" \/>\n<meta property=\"og:site_name\" content=\"OpenSource DB\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/people\/OpenSource-DB\/100072970755470\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-23T12:35:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-23T12:35:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2000\" \/>\n\t<meta property=\"og:image:height\" content=\"1050\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Venkat Akhil\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@opensource_db\" \/>\n<meta name=\"twitter:site\" content=\"@opensource_db\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Venkat Akhil\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/\"},\"author\":{\"name\":\"Venkat Akhil\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/person\/a37b142ecbf953189a4f9209b0b8d328\"},\"headline\":\"Efficient PostgreSQL Backup Management Using Incremental Backups in pgBarman\",\"datePublished\":\"2025-04-23T12:35:06+00:00\",\"dateModified\":\"2025-04-23T12:35:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/\"},\"wordCount\":526,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#organization\"},\"image\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman.png\",\"articleSection\":[\"Others\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/\",\"url\":\"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/\",\"name\":\"Efficient PostgreSQL Backup Management Using Incremental Backups in pgBarman - OpenSource DB\",\"isPartOf\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman.png\",\"datePublished\":\"2025-04-23T12:35:06+00:00\",\"dateModified\":\"2025-04-23T12:35:12+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/#primaryimage\",\"url\":\"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman.png\",\"contentUrl\":\"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman.png\",\"width\":2000,\"height\":1050},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/test.opensource-db.in\/wp1\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Efficient PostgreSQL Backup Management Using Incremental Backups in pgBarman\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#website\",\"url\":\"https:\/\/test.opensource-db.in\/wp1\/\",\"name\":\"OpenSource DB\",\"description\":\"Your Trusted OpenSource Databases partner\",\"publisher\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/test.opensource-db.in\/wp1\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#organization\",\"name\":\"OPENSOURCE DB PRIVATE LIMITED\",\"url\":\"https:\/\/test.opensource-db.in\/wp1\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2021\/10\/osdb-logo-tm-2.png\",\"contentUrl\":\"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2021\/10\/osdb-logo-tm-2.png\",\"width\":368,\"height\":120,\"caption\":\"OPENSOURCE DB PRIVATE LIMITED\"},\"image\":{\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/people\/OpenSource-DB\/100072970755470\/\",\"https:\/\/x.com\/opensource_db\",\"https:\/\/www.youtube.com\/channel\/UCmTI5h\",\"https:\/\/www.linkedin.com\/company\/opensource-db\",\"https:\/\/www.instagram.com\/opensource_db\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/person\/a37b142ecbf953189a4f9209b0b8d328\",\"name\":\"Venkat Akhil\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/522c0947d21b2c2c89f10698fd9131f9db4110f65c8d02b53d9b4559c7650865?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/522c0947d21b2c2c89f10698fd9131f9db4110f65c8d02b53d9b4559c7650865?s=96&d=mm&r=g\",\"caption\":\"Venkat Akhil\"},\"url\":\"https:\/\/test.opensource-db.in\/wp1\/author\/sudheer-sopensource-db-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Efficient PostgreSQL Backup Management Using Incremental Backups in pgBarman - OpenSource DB","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Efficient PostgreSQL Backup Management Using Incremental Backups in pgBarman - OpenSource DB","og_description":"As database environments grow in size and complexity, managing efficient and reliable backups becomes critical\u2014especially in enterprise setups where downtime [&hellip;]","og_url":"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/","og_site_name":"OpenSource DB","article_publisher":"https:\/\/www.facebook.com\/people\/OpenSource-DB\/100072970755470\/","article_published_time":"2025-04-23T12:35:06+00:00","article_modified_time":"2025-04-23T12:35:12+00:00","og_image":[{"width":2000,"height":1050,"url":"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman.png","type":"image\/png"}],"author":"Venkat Akhil","twitter_card":"summary_large_image","twitter_creator":"@opensource_db","twitter_site":"@opensource_db","twitter_misc":{"Written by":"Venkat Akhil","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/#article","isPartOf":{"@id":"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/"},"author":{"name":"Venkat Akhil","@id":"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/person\/a37b142ecbf953189a4f9209b0b8d328"},"headline":"Efficient PostgreSQL Backup Management Using Incremental Backups in pgBarman","datePublished":"2025-04-23T12:35:06+00:00","dateModified":"2025-04-23T12:35:12+00:00","mainEntityOfPage":{"@id":"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/"},"wordCount":526,"commentCount":0,"publisher":{"@id":"https:\/\/test.opensource-db.in\/wp1\/#organization"},"image":{"@id":"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/#primaryimage"},"thumbnailUrl":"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman.png","articleSection":["Others"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/","url":"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/","name":"Efficient PostgreSQL Backup Management Using Incremental Backups in pgBarman - OpenSource DB","isPartOf":{"@id":"https:\/\/test.opensource-db.in\/wp1\/#website"},"primaryImageOfPage":{"@id":"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/#primaryimage"},"image":{"@id":"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/#primaryimage"},"thumbnailUrl":"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman.png","datePublished":"2025-04-23T12:35:06+00:00","dateModified":"2025-04-23T12:35:12+00:00","breadcrumb":{"@id":"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/#primaryimage","url":"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman.png","contentUrl":"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman.png","width":2000,"height":1050},{"@type":"BreadcrumbList","@id":"https:\/\/test.opensource-db.in\/wp1\/efficient-postgresql-backup-management-using-incremental-backups-in-pgbarman\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/test.opensource-db.in\/wp1\/"},{"@type":"ListItem","position":2,"name":"Efficient PostgreSQL Backup Management Using Incremental Backups in pgBarman"}]},{"@type":"WebSite","@id":"https:\/\/test.opensource-db.in\/wp1\/#website","url":"https:\/\/test.opensource-db.in\/wp1\/","name":"OpenSource DB","description":"Your Trusted OpenSource Databases partner","publisher":{"@id":"https:\/\/test.opensource-db.in\/wp1\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/test.opensource-db.in\/wp1\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/test.opensource-db.in\/wp1\/#organization","name":"OPENSOURCE DB PRIVATE LIMITED","url":"https:\/\/test.opensource-db.in\/wp1\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/logo\/image\/","url":"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2021\/10\/osdb-logo-tm-2.png","contentUrl":"https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2021\/10\/osdb-logo-tm-2.png","width":368,"height":120,"caption":"OPENSOURCE DB PRIVATE LIMITED"},"image":{"@id":"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/people\/OpenSource-DB\/100072970755470\/","https:\/\/x.com\/opensource_db","https:\/\/www.youtube.com\/channel\/UCmTI5h","https:\/\/www.linkedin.com\/company\/opensource-db","https:\/\/www.instagram.com\/opensource_db\/"]},{"@type":"Person","@id":"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/person\/a37b142ecbf953189a4f9209b0b8d328","name":"Venkat Akhil","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/test.opensource-db.in\/wp1\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/522c0947d21b2c2c89f10698fd9131f9db4110f65c8d02b53d9b4559c7650865?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/522c0947d21b2c2c89f10698fd9131f9db4110f65c8d02b53d9b4559c7650865?s=96&d=mm&r=g","caption":"Venkat Akhil"},"url":"https:\/\/test.opensource-db.in\/wp1\/author\/sudheer-sopensource-db-com\/"}]}},"rttpg_featured_image_url":{"full":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman.png",2000,1050,false],"landscape":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman.png",2000,1050,false],"portraits":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman.png",2000,1050,false],"thumbnail":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman-150x150.png",150,150,true],"medium":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman-300x158.png",300,158,true],"large":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman-1024x538.png",1024,538,true],"1536x1536":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman-1536x806.png",1536,806,true],"2048x2048":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman.png",2000,1050,false],"ultp_layout_landscape_large":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman.png",1200,630,false],"ultp_layout_landscape":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman.png",870,457,false],"ultp_layout_portrait":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman.png",600,315,false],"ultp_layout_square":["https:\/\/test.opensource-db.in\/wp1\/wp-content\/uploads\/2025\/04\/Efficient-PostgreSQL-Backup-Management-Using-Incremental-Backups-in-pgBarman.png",600,315,false]},"rttpg_author":{"display_name":"Venkat Akhil","author_link":"https:\/\/test.opensource-db.in\/wp1\/author\/sudheer-sopensource-db-com\/"},"rttpg_comment":0,"rttpg_category":"<a href=\"https:\/\/test.opensource-db.in\/wp1\/category\/business\/others\/\" rel=\"category tag\">Others<\/a>","rttpg_excerpt":"As database environments grow in size and complexity, managing efficient and reliable backups becomes critical\u2014especially in enterprise setups where downtime [&hellip;]","_links":{"self":[{"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/posts\/8083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/comments?post=8083"}],"version-history":[{"count":4,"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/posts\/8083\/revisions"}],"predecessor-version":[{"id":8099,"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/posts\/8083\/revisions\/8099"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/media\/8098"}],"wp:attachment":[{"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/media?parent=8083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/categories?post=8083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/test.opensource-db.in\/wp1\/wp-json\/wp\/v2\/tags?post=8083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}