update cronjobs for btrfs sends
This commit is contained in:
parent
62288eac82
commit
17b252413a
2 changed files with 10 additions and 1 deletions
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
imports = [ ../../common/services/snapper.nix ];
|
||||
|
||||
|
||||
services.cron = {
|
||||
systemCronJobs = [
|
||||
# Back up Local-Storage to NFS Storage
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue