TransWikia.com

GPG piping help for an S3 encrypted postgresql backup into RDS

Super User Asked on November 7, 2021

I was wondering if there was a trick that I am missing.

I am trying to get an encrypted Postgresql backup dump from S3 -> decrypt it in GPG -> pg_restore into RDS.

However, I am not able to get GPG to work in this piping process and that makes my life much harder.

aws s3 s3://my-archives/dump.tar.gz - | gpg ??? | pg_restore -h rdsinstance.com -U blabla

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP