forked from ddrilling/AsbCloudServer
11 lines
215 B
SQL
11 lines
215 B
SQL
create database postgres;
|
|
create schema public;
|
|
CREATE EXTENSION IF NOT EXISTS timescaledb;
|
|
SELECT timescaledb_pre_restore();
|
|
|
|
\! pg_restore -Fc -d postgres dump_2022-01-11.bak
|
|
|
|
SELECT timescaledb_post_restore();
|
|
|
|
|