GenAiHub

Last checked 24 November 2026 — responded normally.

Daily Postgres table backup to GitHub in CSV format

This workflow automatically backs up all public Postgres tables into a GitHub repository as CSV files every 24 hours.

Live
Open / InstallLast updated November 24, 2026

Description

This workflow automatically backs up all public Postgres tables into a GitHub repository as CSV files every 24 hours. It ensures your database snapshots are always up to date updating existing files if data changes, or creating new backups for new tables. How it works: Schedule Trigger – Runs daily to start the backup process. GitHub Integration – Lists existing files in the target repo to avoid duplicates. Postgres Query – Fetches all table names from the public schema. Data Extraction – Selects all rows from each table. Convert to CSV – Saves table data as CSV files. Conditional Upload – If the table already exists in GitHub → Update the file. If new → Upload a new file. Postgres Tables Preview GitHub Backup Preview Use case: Perfect for developers, analysts, or data engineers who want daily automated backups of Postgres data without manual exports keeping both history and version control in GitHub. Requirements: Postgres credentials with read access. GitHub repository (OAuth2 connected in n8n). An n8n automation workflow template by Jay Emp0.

Community Metrics

Views
665
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—

Author

Jay Emp0

Platform

web

Pricing model

free

Categories

  • Automation

Tags

  • n8n
  • workflow
  • github
  • postgres
  • code

Capabilities

  • 3 nodes
  • 665 views

Information

TypeWorkflow
Sourcen8n
AddedSeptember 3, 2026

Comments

?

Others in the same category, ranked by how often they are opened.