[Nix-dev] cron job to backup a database as part of the configuration.nix file

stewart mackenzie setori88 at gmail.com
Thu May 28 11:58:20 CEST 2015


Hello,

So we've written a database bash backup script for a database running on nixos.
The idea is to configure cron via configuration.nix to execute this script.

Ideally we'ed like the actual backup script to be part of the
configuration.nix file
which then is used in the cron job.

What is the Nix Way to resolve this issue?

/sjm


More information about the nix-dev mailing list