fix: use proper docker binary path in firefly backup
This commit is contained in:
parent
6f6140f660
commit
fd022bb3d5
|
@ -124,7 +124,7 @@ in {
|
||||||
# See https://www.hosting.de/blog/verschluesselte-backups-mit-rclone-und-restic-in-nextcloud/
|
# See https://www.hosting.de/blog/verschluesselte-backups-mit-rclone-und-restic-in-nextcloud/
|
||||||
repository = "rclone:cloud.pub.solar:/backups/FireflyIII";
|
repository = "rclone:cloud.pub.solar:/backups/FireflyIII";
|
||||||
backupPrepareCommand = ''
|
backupPrepareCommand = ''
|
||||||
docker exec -t firefly-db pg_dumpall -c -U postgres > "${backupDir}/postgres.sql"
|
${pkgs.docker-client}/bin/docker exec -t firefly-db pg_dumpall -c -U firefly > "${backupDir}/postgres.sql"
|
||||||
'';
|
'';
|
||||||
rcloneConfigFile = config.age.secrets."rclone-pie.conf".path;
|
rcloneConfigFile = config.age.secrets."rclone-pie.conf".path;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue