Compare commits
2 commits
fe720b2de3
...
30fc01b5ae
Author | SHA1 | Date | |
---|---|---|---|
Bruno BELANYI | 30fc01b5ae | ||
Bruno BELANYI | 13684ecdc4 |
|
@ -92,7 +92,7 @@ in
|
||||||
services.restic.backups.backblaze = {
|
services.restic.backups.backblaze = {
|
||||||
# Take care of included and excluded files
|
# Take care of included and excluded files
|
||||||
paths = cfg.paths;
|
paths = cfg.paths;
|
||||||
extraBackupArgs = [ ]
|
extraBackupArgs = [ "--verbose=2" ]
|
||||||
++ lib.optional (builtins.length cfg.exclude != 0) excludeArg
|
++ lib.optional (builtins.length cfg.exclude != 0) excludeArg
|
||||||
;
|
;
|
||||||
# Take care of creating the repository if it doesn't exist
|
# Take care of creating the repository if it doesn't exist
|
||||||
|
|
|
@ -70,6 +70,10 @@ in
|
||||||
paths = [
|
paths = [
|
||||||
config.services.nextcloud.home
|
config.services.nextcloud.home
|
||||||
];
|
];
|
||||||
|
exclude = [
|
||||||
|
# image previews can take up a lot of space
|
||||||
|
"${config.services.nextcloud.home}/data/appdata_*/preview"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue