Browse Source

backup name

master
M.Goldshteyn 1 year ago
parent
commit
4f21e9e76a
  1. 1
      create_db.sh.template

1
create_db.sh.template

@ -11,4 +11,5 @@ su - postgres -c "PGPASSWORD=\"DESTINATION_POSTGRES_PASSWORD\" psql -U postgres @@ -11,4 +11,5 @@ su - postgres -c "PGPASSWORD=\"DESTINATION_POSTGRES_PASSWORD\" psql -U postgres
set "PGPASSWORD=\"DESTINATION_POSTGRES_PASSWORD\""
export "PGPASSWORD=DESTINATION_POSTGRES_PASSWORD"
su - postgres -c "pg_restore -j 2 -d DESTINATION_DB_NAME /var/backups/DB_BACKUP"
Loading…
Cancel
Save