Comments (2)
Why aren't you simply using recursive=yes
on [rpool/ROOT/ubuntu_jhxyhq/var]
?
Even if you want to make small changes between the child datasets, you can accomplish that with overrides, eg:
[rpool/ROOT/ubuntu_jhxyhq/var]
frequently = 0
hourly = 24
daily = 5
recursive = yes
[rpool/ROOT/ubuntu_jhxyhq/var/log]
daily = 3
[rpool/ROOT/ubuntu_jhxyhq/var/lib]
hourly = 5
... or whatever. Having declared recursive=yes
on the parent dataset var
, the datasets beneath var
automatically get all of var
's settings applied to them, without any need to specify the child datasets in sanoid.conf
at all.
In the case that you need mostly the same settings but want to override one or two, as you can see above, you can also declare a module for that child dataset, which will have already inherited the settings from the parent where you declared recursive=yes
, and you can override the individual setting(s) you'd like different in that module.
I also note that you're apparently not using any templates. I would strongly recommend taking a look at and either using or creating your own versions of the template_production, template_backup, and template_hotspare provided in the OEM sanoid.conf
; they'll make your configs easier to read and parse, and potentially save you from "oops I forgot that one thing" type errors as well.
from sanoid.
The recursive setting does exactly what I need. I'll look into the templates as you suggest. Thanks for the great tool set!
from sanoid.
Related Issues (20)
- Sanoid Sync question HOT 2
- Perl 5.26 Dependency introduced HOT 1
- Perl Dependency resolution on Alma/Rocky/Cent 9 requires documentation change HOT 4
- CRITICAL ERROR: failed: 512 at /usr/sbin/syncoid line 889 HOT 5
- Sincoid two inital backups in parallel, same source, , second fails, finishes in second HOT 1
- Syncoid remote-to-remote decompresses and recompresses on the middle box
- How to tell sanoid not to take snapshot while syncoid is running? HOT 3
- syncoid backups out of sync HOT 2
- [question] Is syncoid inital offline sync possible? HOT 1
- Recursive setting cannot be enabled if trailing space present HOT 1
- syncoid: ControlSocket already exists HOT 2
- ubuntu 24.04 fail to start sanoid service HOT 1
- My sanoid.conf is not being recognized. HOT 1
- sanoid --prune-snapshots performance is bad because of iszfsbusy HOT 5
- [feature request / question] Auto-mount last snapshot done by sanoid HOT 6
- Regression: "invalid flags combined with -t" when resuming with `syncoid --sendoptions`
- Building deb package fails on ubuntu 24.04 HOT 6
- Syncoid question: Hook script or other way of adding data to a log on the remote target system? HOT 1
- Syncoid: sync incremental - hold selected snapshots during sync HOT 2
- Syncoid flag "--exclude=" is excluding datasets of similar name HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sanoid.