From 1126158cb8e896a0efe4085f0f8068907cfbe9d8 Mon Sep 17 00:00:00 2001 From: "D. Scott Boggs" Date: Tue, 27 Jun 2023 15:59:26 +0000 Subject: [PATCH] Set up backups --- .env.pg | 7 +++++++ .gitignore | 1 + 2 files changed, 8 insertions(+) create mode 100644 .env.pg diff --git a/.env.pg b/.env.pg new file mode 100644 index 0000000..488ca00 --- /dev/null +++ b/.env.pg @@ -0,0 +1,7 @@ +#!/bin/bash +# this is for the backup cron job, NOT for the docker-compose.yml + +POSTGRES_PASSWORD=$(< $HOME/git/.pg.pw) +POSTGRES_USER=gitea +POSTGRES_DB=gitea + diff --git a/.gitignore b/.gitignore index a85f069..23160c0 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ db/ config/ data/ +backup-pgdump.sql