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