28 lines
563 B
Nix
28 lines
563 B
Nix
{ ... }: {
|
|
services.btrbk = {
|
|
instances = {
|
|
/*
|
|
home = {
|
|
settings = {
|
|
snapshot_preserve = "24h 14d 4w 12m";
|
|
snapshot_preserve_min = "latest";
|
|
|
|
# don't auto cleanup target
|
|
target_preserve_min = "all";
|
|
|
|
volume."/" = {
|
|
snapshot_dir = ".btrbk";
|
|
subvolume = {
|
|
home = {
|
|
snapshot_create = "always";
|
|
};
|
|
};
|
|
target = "/run/media/me/backup/morpheus";
|
|
};
|
|
};
|
|
};
|
|
*/
|
|
};
|
|
};
|
|
}
|