Update framework-server btrfs-backup schedules

This commit is contained in:
albert 2024-12-16 03:27:46 +01:00
parent 5dbf3e9602
commit 8823677260
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -1,6 +1,16 @@
{ {
imports = [ ../../common/services/snapper.nix ]; 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 Storage"
];
};
# extra configs not present in the standard config above # extra configs not present in the standard config above
services.snapper.configs.Storage = { services.snapper.configs.Storage = {
TIMELINE_CREATE = true; TIMELINE_CREATE = true;