diff options
author | clarkzjw <[email protected]> | 2023-03-06 10:55:13 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-03-06 10:55:13 -0800 |
commit | e802cbb1011bf2abbea9cf9c88ac238157c57893 (patch) | |
tree | 06b449bcf4915a4af3700c8818a1b1e4c29e0b8a /hetzner/pg_restore.yaml | |
parent | 1b36d880c202d5868757e2e49c6e774e43dc4f8d (diff) | |
download | homelab-master.tar.gz |
Diffstat (limited to 'hetzner/pg_restore.yaml')
-rw-r--r-- | hetzner/pg_restore.yaml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/hetzner/pg_restore.yaml b/hetzner/pg_restore.yaml new file mode 100644 index 0000000..9ff1c7c --- /dev/null +++ b/hetzner/pg_restore.yaml | |||
@@ -0,0 +1,13 @@ | |||
1 | --- | ||
2 | - name: Postgresql | ||
3 | hosts: localhost | ||
4 | become: true | ||
5 | become_user: postgres | ||
6 | tasks: | ||
7 | - name: Restore Mastodon Database | ||
8 | postgresql_db: | ||
9 | state: restore | ||
10 | name: mastodon_production | ||
11 | target: "" | ||
12 | become: yes | ||
13 | become_user: postgres | ||