rebuild change

This commit is contained in:
Nickiel12 2023-12-26 15:21:19 -08:00
parent 7b4802e989
commit 9ff887a2e9

View file

@ -147,9 +147,9 @@ in
mkdir -p ${builtins.toString cfg.tmp_mount_point}/nextcloud/db_backups mkdir -p ${builtins.toString cfg.tmp_mount_point}/nextcloud/db_backups
password='cat ${builtins.toString cfg.nextcloud.db_passfile}' password='cat ${builtins.toString cfg.nextcloud.db_passfile}'
PGPASSWORD="$password" pg_dump \ PGPASSWORD="$password" pg_dump \
${builtins.toString cfg.nextcloud.db_name} -h ${builtins.toString cfg.nextcloud.db_server} \ ${builtins.toString cfg.nextcloud.db_name} -h ${builtins.toString cfg.nextcloud.db_server} \
-U ${builtins.toString cfg.nextcloud.db_user} \ -U ${builtins.toString cfg.nextcloud.db_user} \
-f ${builtins.toString cfg.tmp_mount_point}/nextcloud/db_backups/nextcloud-sqlbkp_`date +"%Y%m%d"`.bak -f ${builtins.toString cfg.tmp_mount_point}/nextcloud/db_backups/nextcloud-sqlbkp_`date +"%Y%m%d"`.bak
echo "Backing up the nextcloud files" echo "Backing up the nextcloud files"
# -a archive | -v verbose # -a archive | -v verbose