snapraid re-enabled
This commit is contained in:
parent
5b31a95493
commit
ecfbe3dd51
@ -756,42 +756,38 @@ historic backup of your files, I am more concerned with the whole disk recovery
|
||||
in case of failure, as such a frequent sync fits my preferences.
|
||||
|
||||
#+begin_src nix
|
||||
# snapraid = {
|
||||
# enable = true;
|
||||
# touchBeforeSync = true;
|
||||
# sync.interval = "02:00";
|
||||
# scrub = {
|
||||
# plan = 10;
|
||||
# olderThan = 15;
|
||||
# interval = "4:00";
|
||||
# };
|
||||
# parityFiles = [
|
||||
# "/mnt/disks/parity/snapraid.parity"
|
||||
# ];
|
||||
# extraConfig = ''
|
||||
# autosave 5000
|
||||
# '';
|
||||
# exclude = [
|
||||
# "/tmp/"
|
||||
# "/lost+found/"
|
||||
# "/multimedia/downloads/"
|
||||
# "/backups/"
|
||||
# "/glue/Spankbank/unorganized/chaturbate/"
|
||||
# "/nextcloud/nextcloud.log"
|
||||
# "/.Trash-1000/"
|
||||
# "/seeding/"
|
||||
# ];
|
||||
# dataDisks = {
|
||||
# d1 = "/mnt/disks/disk1/";
|
||||
# d2 = "/mnt/disks/disk2/";
|
||||
# d3 = "/mnt/disks/seedbox/";
|
||||
# };
|
||||
# contentFiles = [
|
||||
# "/var/snapraid.content"
|
||||
# "/mnt/disks/disk1/snapraid.content"
|
||||
# "/mnt/disks/disk2/snapraid.content"
|
||||
# ];
|
||||
# };
|
||||
snapraid = {
|
||||
enable = true;
|
||||
touchBeforeSync = true;
|
||||
sync.interval = "02:00";
|
||||
scrub.interval = "04:00";
|
||||
extraConfig = ''
|
||||
autosave 5000
|
||||
'';
|
||||
parityFiles = [
|
||||
"/mnt/disks/parity/snapraid.parity"
|
||||
];
|
||||
dataDisks = {
|
||||
d1 = "/mnt/disks/disk1/";
|
||||
d2 = "/mnt/disks/disk2/";
|
||||
d3 = "/mnt/disks/seedbox/";
|
||||
};
|
||||
exclude = [
|
||||
"/tmp/"
|
||||
"/lost+found/"
|
||||
"/multimedia/downloads/"
|
||||
"/backups/"
|
||||
"/glue/Spankbank/unorganized/chaturbate/"
|
||||
"/nextcloud/nextcloud.log"
|
||||
"/seeding/"
|
||||
"/.Trash-1000/"
|
||||
];
|
||||
contentFiles = [
|
||||
"/var/snapraid.content"
|
||||
"/mnt/snapraid/disk1/snapraid.content"
|
||||
"/mnt/snapraid/disk2/snapraid.content"
|
||||
];
|
||||
};
|
||||
#+end_src
|
||||
|
||||
* PROGRAMS
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user