METRICS_LOCATION=$1 START=$2 END=$3 SIZE=$4 # Write to a temporary file invisible to prometheus cat > $(pwd)/postgres_backup.prom.$$ <