Sha256: c39a8a216a0e5a1b2c6a76b69be539fbf256ffa8526e716b45e3094801097747
Contents?: true
Size: 342 Bytes
Versions: 9
Compression:
Stored size: 342 Bytes
Contents
#!/bin/sh # Downloads a live dump from Heroku remote # Exit if any subcommand fails set -e target="${1:-staging}" heroku pg:backups:capture --remote "$target" heroku pg:backups:download --remote "$target" pg_restore --verbose --clean --no-acl --no-owner -h localhost -U $(whoami) -d <%= app_name %>_development latest.dump rm latest.dump
Version data entries
9 entries across 9 versions & 1 rubygems