Allow marking folders as omitted from backup
This commit is contained in:
parent
378cf47683
commit
42e2ebd294
@ -15,6 +15,10 @@ let
|
||||
RandomizedDelaySec = "1h";
|
||||
};
|
||||
|
||||
extraBackupArgs = [
|
||||
''--exclude-if-present ".nobackup"''
|
||||
];
|
||||
|
||||
pruneOpts = [
|
||||
"--keep-daily 7" # one backup for each of the last n days
|
||||
"--keep-weekly 5" # one backup for each of the last n weeks
|
||||
|
@ -25,9 +25,7 @@
|
||||
printing = cups
|
||||
printcap name = cups
|
||||
|
||||
# horrible files
|
||||
veto files = /._*/.DS_Store/ /._*/._.DS_Store/
|
||||
delete veto files = yes
|
||||
hide files = /.nobackup/.DS_Store/._.DS_Store/
|
||||
'';
|
||||
|
||||
shares = {
|
||||
@ -81,7 +79,7 @@
|
||||
backup.group."samba".paths = [
|
||||
config.services.samba.shares.googlebot.path
|
||||
config.services.samba.shares.cris.path
|
||||
"${config.services.samba.shares.public.path}/Regularly_Backed_Up"
|
||||
config.services.samba.shares.public.path
|
||||
];
|
||||
|
||||
# Windows discovery of samba server
|
||||
|
Loading…
x
Reference in New Issue
Block a user