scwrypts/zsh/cloud/aws/rds/load-backup

12 lines
233 B
Bash
Executable File

#!/bin/zsh
use cloud/aws/rds
use db/postgres
#####################################################################
MAIN() {
local DB_HOST DB_PORT DB_NAME DB_USER DB_PASS
RDS__GET_DATABASE_CREDENTIALS $@ || return 1
PG_RESTORE
}