We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3e9db6 commit 9e20ab4Copy full SHA for 9e20ab4
deploy/jobs/backup_pg.sh
@@ -31,3 +31,4 @@ chmod 0600 ~/.pgpass
31
OUTPUT_FILE="ott-prod-$(date +%Y-%m-%d).sql.gz"
32
pg_dumpall --no-password -d "$DATABASE_URL" | gzip --best > "$OUTPUT_FILE"
33
./rclone --progress --config ./rclone.conf --b2-chunk-size 64M --b2-upload-cutoff 100M --checkers 1 --transfers 1 copy "$OUTPUT_FILE" "b2:ott-backups/ott-prod"
34
+rm "$OUTPUT_FILE"
0 commit comments