Compare commits

...

2 commits

Author SHA1 Message Date
Bruno BELANYI 30fc01b5ae modules: services: nextcloud: exclude previews
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-19 14:27:40 +02:00
Bruno BELANYI 13684ecdc4 modules: services: backup: make it verbose 2021-08-19 14:27:40 +02:00
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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"
];
}; };
}; };
} }