update cronjobs for btrfs sends

This commit is contained in:
albert 2024-12-16 03:05:20 +01:00
parent 62288eac82
commit 17b252413a
Signed by: albert
GPG key ID: 3895DD267CA11BA9
2 changed files with 10 additions and 1 deletions

View file

@ -1,7 +1,6 @@
{
imports = [ ../../common/services/snapper.nix ];
services.cron = {
systemCronJobs = [
# Back up Local-Storage to NFS Storage

View file

@ -1,6 +1,16 @@
{
imports = [ ../../common/services/snapper.nix ];
services.cron = {
systemCronJobs = [
# Back up Local-Storage to NFS Storage
"0 0 * * 3 albert sudo btrfs-backup root"
"0 2 * * 3 albert sudo btrfs-backup nix"
"0 4 * * 3 albert sudo btrfs-backup home"
"0 6 * * 3 albert sudo btrfs-backup Local-Storage"
];
};
# extra configs not present in the standard config above
services.snapper.configs.Local-Storage = {
TIMELINE_CREATE = true;