~sirodoht/mataroa

mataroa/backup-database.sh -rwxr-xr-x 269 bytes
521adb51Theodore Keloglou fix page ul ol serif theme 6 days ago
                                                                                
1
2
3
4
5
6
7
8
#!/usr/bin/env bash

cd /home/roa/mataroa || exit 1

source .envrc

pg_dump -Fc --no-acl mataroa -h localhost -U mataroa -f /home/roa/mataroa.dump -w
/usr/local/bin/mc cp /home/roa/mataroa.dump s3scw/tamaroa/backups/postgres-mataroa-"$(date --utc +%Y-%m-%d-%H-%M-%S)"/