From 0bdd13cf8a1838667b684978215a615db78c023c Mon Sep 17 00:00:00 2001 From: bom Date: Fri, 15 Mar 2024 15:34:56 +0100 Subject: [PATCH] Add restic to base backup image --- infrastructure/backup/image/resources/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/backup/image/resources/install.sh b/infrastructure/backup/image/resources/install.sh index eaa94b0..09a6b1d 100755 --- a/infrastructure/backup/image/resources/install.sh +++ b/infrastructure/backup/image/resources/install.sh @@ -5,7 +5,7 @@ set -exo pipefail function main() { { upgradeSystem - apt-get install -qqy ca-certificates curl gnupg postgresql-client-14 + apt-get install -qqy ca-certificates curl gnupg postgresql-client-14 restic curl -Ss --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/postgresql-common_pgdg_archive_keyring.gpg sh -c 'echo "deb [signed-by=/etc/apt/trusted.gpg.d/postgresql-common_pgdg_archive_keyring.gpg] https://apt.postgresql.org/pub/repos/apt jammy-pgdg main" > /etc/apt/sources.list.d/pgdg.list' upgradeSystem