From 788a37860246a36c36ac4e74dab286781aa7c7f3 Mon Sep 17 00:00:00 2001 From: fr33zespace <83383618+fr33zespace@users.noreply.github.com> Date: Wed, 22 Mar 2023 07:30:18 -0500 Subject: [PATCH] Create LSIMPORT --- LSIMPORT | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 LSIMPORT diff --git a/LSIMPORT b/LSIMPORT new file mode 100644 index 0000000..2babd7b --- /dev/null +++ b/LSIMPORT @@ -0,0 +1,49 @@ +#!/usr/bin/env bash + + + + pg_dump \ + + --dbname="$(heroku config:get DATABASE_URL -a rfcbot-rs)" \ + + --inserts \ + + --data-only \ + + > full-db-backup.pg#!/usr/bin/env bash + + + + pg_dump \ + + --dbname="$(heroku config:get DATABASE_URL -a rfcbot-rs)" \ + + --inserts \ + + --data-only \ + + --table=githubuser \ + + > githubuser-backup.pg[fcp_behaviors] + + + + [fcp_behaviors."rust-lang/rfcs"] + + close = true + + postpone = true + + + + [fcp_behaviors."rust-lang/rust"] + + close = false + + postpone = false + + + + [teams] + + url = "https://team-api.infra.rust-lang.org/v1/rfcbot.json"