Update framework-server btrfs-backup schedules
This commit is contained in:
parent
5dbf3e9602
commit
8823677260
1 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue