Vercel Postgres Backup (pg_dump)

Hey all, looking to use vercel's postgres storage in production, but need to be able to backup the tables on a schedule somehow.

First I'm unsure how to
pg_dump
from a serverless function, looks like ill have to use a process, then stream it to an s3.

This looks promising but it's built specifically for aws lambda. https://github.com/jameshy/pgdump-aws-lambda

Anyone done this already?
GitHub
Lambda function for executing pg_dump and streaming the output to s3. - GitHub - jameshy/pgdump-aws-lambda: Lambda function for executing pg_dump and streaming the output to s3.
Was this page helpful?