fix nextcloud restic premissions
This commit is contained in:
parent
151fc7a8ab
commit
5207af59d0
3 changed files with 38 additions and 1 deletions
|
|
@ -41,6 +41,7 @@ in {
|
|||
User = "nextcloud";
|
||||
};
|
||||
};
|
||||
users.users.nextcloud.extraGroups = ["backup"];
|
||||
|
||||
services = {
|
||||
restic.backups = {
|
||||
|
|
@ -50,7 +51,7 @@ in {
|
|||
paths = [
|
||||
"/pool/var/lib/nextcloud"
|
||||
];
|
||||
user = "sondell";
|
||||
user = "root";
|
||||
timerConfig.OnCalendar = "02:05";
|
||||
pruneOpts = [
|
||||
"--keep-daily 10"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue