Nick Janetakis
Read post

How to Back Up PostgreSQL in Docker (Local, S3, and Plakar) — Nick Janetakis

A comprehensive guide to backing up PostgreSQL databases running in Docker, covering three approaches: local filesystem, AWS S3, and using Plakar (an open source deduplication backup tool). Includes shell scripts for automated daily backups via cron, restore procedures, and a cost comparison showing how Plakar's deduplication can reduce S3 storage from ~455 GB to ~65 GB after one year of growth. Also covers Plakar installation, repository setup, snapshot management, pruning policies, and syncing between local and S3 storage backends.

    #docker#postgresql#aws-s3
Jul 21•44m read time•From nickjanetakis.com
Post cover image
Table of contents
# How I Backed Up My Databases for 10+ Years# How Does Plakar Help?# Installing Plakar# Daily Database Backups with Plakar# Getting Ready with AWS and S3# Using S3 Storage with Plakar# Demo Video
29.5K Impressions2 Comments
Nick Janetakis's image
Nick Janetakis

Nick Janetakis's blog provides insights into web development, Docker, and technology tutorials. Read...

77 Followers

•

1.3K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard