From 71bfe10d98eec5975f1e20fd010b651a5136da4a Mon Sep 17 00:00:00 2001 From: Matt Jadud Date: Mon, 4 Mar 2024 16:35:23 -0500 Subject: [PATCH] Missing part of the S3 command. --- internal/pipes/s3.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/pipes/s3.go b/internal/pipes/s3.go index dcb9152..e95ea5c 100644 --- a/internal/pipes/s3.go +++ b/internal/pipes/s3.go @@ -16,6 +16,7 @@ func S3(in_pipe *script.Pipe, up *vcap.CredentialsS3, prefix string, source_db s os.Setenv("SECRET_ACCESS_KEY", up.SecretAccessKey) // https://serverfault.com/questions/886562/streaming-postgresql-pg-dump-to-s3 cmd := []string{ + "aws", "s3", "cp", fmt.Sprintf("s3://%s/backups/%s-%s.dump",