2024-08-01 16:24:21 +02:00
|
|
|
{ ... }: {
|
|
|
|
services.btrbk = {
|
|
|
|
instances = {
|
2024-08-04 15:54:42 +02:00
|
|
|
/*
|
2024-08-01 16:24:21 +02:00
|
|
|
home = {
|
|
|
|
settings = {
|
|
|
|
snapshot_preserve = "24h 14d 4w 12m";
|
|
|
|
snapshot_preserve_min = "latest";
|
|
|
|
|
2024-08-04 15:54:42 +02:00
|
|
|
# don't auto cleanup target
|
2024-08-01 16:24:21 +02:00
|
|
|
target_preserve_min = "all";
|
|
|
|
|
|
|
|
volume."/" = {
|
|
|
|
snapshot_dir = ".btrbk";
|
|
|
|
subvolume = {
|
|
|
|
home = {
|
|
|
|
snapshot_create = "always";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
target = "/run/media/me/backup/morpheus";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-08-04 15:54:42 +02:00
|
|
|
*/
|
2024-08-01 16:24:21 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|