From 7115b48707cb42ac23d1ee0bfa1ed944edad8fe2 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Mon, 6 Jan 2025 00:01:58 -0600 Subject: [PATCH] correct backup dir --- nixos/hosts/varda/resources/prune-backups.sh | 2 +- nixos/modules/nixos/services/forgejo/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/varda/resources/prune-backups.sh b/nixos/hosts/varda/resources/prune-backups.sh index 2c8779a..363ec58 100644 --- a/nixos/hosts/varda/resources/prune-backups.sh +++ b/nixos/hosts/varda/resources/prune-backups.sh @@ -1,5 +1,5 @@ # Set the backup directory -BACKUP_DIR="/mnt/storage/forgejo/backups" +BACKUP_DIR="/mnt/storagebox/forgejo/backup" KEEP_NUM=7 diff --git a/nixos/modules/nixos/services/forgejo/default.nix b/nixos/modules/nixos/services/forgejo/default.nix index 711f7d8..6e8d29d 100644 --- a/nixos/modules/nixos/services/forgejo/default.nix +++ b/nixos/modules/nixos/services/forgejo/default.nix @@ -33,7 +33,7 @@ in # enable sql db dumps daily dump = { enable = true; - backupDir = "/mnt/storagebox/forgejo/backup/"; + backupDir = "/mnt/storagebox/forgejo/backup"; }; database.type = "postgres"; # Enable support for Git Large File Storage