Home / Companies / Neon / Blog / Post Details
Content Deep Dive

How to Set Up Nightly Backups to AWS S3 for Multiple Neon Projects

Blog post from Neon

Post Details
Company
Date Published
Author
Paul Scanlon
Word Count
1,035
Company Posts That Month
38
Language
English
Hacker News Points
-
Post removed?
No
Summary

This post explains how to set up nightly backups for multiple Neon Postgres databases using GitHub Actions and pg_dump/restore. The process involves three main components: AWS, Postgres Database, and GitHub Action. The author demonstrates the setup with a single S3 bucket holding multiple folders, each containing backup files created by a GitHub Action. The code discussed in this post covers a single Action, but the same method can be applied to multiple Actions. The GitHub repository secrets are used for secure access and interaction with AWS services. The steps involved include installing PostgreSQL, configuring AWS credentials, setting file, folder, and path variables, creating folders if they don't exist, running pg_dump, emptying the bucket of old files (optional), and uploading to the bucket.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Secrets Management 7 1,056 113 60 -18%
Serverless 1 959 185 89 +42%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.