Project

General

Profile

1
#!/bin/bash
2
# Exports analytical DB
3

    
4
selfDir="$(dirname -- "$0")"
5

    
6
out="$selfDir/../backups/analytical_aggregate.${public=public}.csv"
7

    
8
"$selfDir/psql_script_vegbien" >"$out" <<EOF
9
COPY analytical_aggregate TO STDOUT CSV HEADER NULL '\N';
10
EOF
(19-19/68)