diff --git a/internal/pipes/pg_dump.go b/internal/pipes/pg_dump.go index 6bfca02..612bb60 100644 --- a/internal/pipes/pg_dump.go +++ b/internal/pipes/pg_dump.go @@ -31,6 +31,7 @@ func PG_Dump(creds *vcap.CredentialsRDS) *script.Pipe { } // Combine the slice for printing and execution. combined := strings.Join(cmd[:], " ") + fmt.Printf("command: %s\n", combined) logging.Logger.Printf("BACKUPS pg_dump targeting %s", creds.DB_Name) return script.Exec(combined) } diff --git a/internal/pipes/s3.go b/internal/pipes/s3.go index e95ea5c..25e997d 100644 --- a/internal/pipes/s3.go +++ b/internal/pipes/s3.go @@ -27,6 +27,7 @@ func S3(in_pipe *script.Pipe, up *vcap.CredentialsS3, prefix string, source_db s // Combine the slice for printing and execution. combined := strings.Join(cmd[:], " ") + fmt.Printf("command: %s", combined) logging.Logger.Printf("BACKUPS s3 targeting %s", prefix) return in_pipe.Exec(combined) }