From 9ff887a2e90554f034f140cc28600c2a92d89511 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Tue, 26 Dec 2023 15:21:19 -0800 Subject: [PATCH] rebuild change --- hosts/Alaska/modules/backup_script.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/Alaska/modules/backup_script.nix b/hosts/Alaska/modules/backup_script.nix index 3b7b7d6..e7116dc 100644 --- a/hosts/Alaska/modules/backup_script.nix +++ b/hosts/Alaska/modules/backup_script.nix @@ -147,9 +147,9 @@ in mkdir -p ${builtins.toString cfg.tmp_mount_point}/nextcloud/db_backups password='cat ${builtins.toString cfg.nextcloud.db_passfile}' PGPASSWORD="$password" pg_dump \ - ${builtins.toString cfg.nextcloud.db_name} -h ${builtins.toString cfg.nextcloud.db_server} \ - -U ${builtins.toString cfg.nextcloud.db_user} \ - -f ${builtins.toString cfg.tmp_mount_point}/nextcloud/db_backups/nextcloud-sqlbkp_`date +"%Y%m%d"`.bak + ${builtins.toString cfg.nextcloud.db_name} -h ${builtins.toString cfg.nextcloud.db_server} \ + -U ${builtins.toString cfg.nextcloud.db_user} \ + -f ${builtins.toString cfg.tmp_mount_point}/nextcloud/db_backups/nextcloud-sqlbkp_`date +"%Y%m%d"`.bak echo "Backing up the nextcloud files" # -a archive | -v verbose