~sirodoht/mataroa

ref: HEAD mataroa/backup-database.sh -rwxr-xr-x 255 bytes
247cd8ecTheodore Keloglou fix order of atua recent comments 11 hours ago
                                                                                
1
2
3
4
5
6
#!/usr/bin/env bash

cd /home/roa/mataroa
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)/