mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 20:59:32 -08:00
rebuild change
This commit is contained in:
parent
7b4802e989
commit
9ff887a2e9
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue