Giter VIP home page Giter VIP logo

Comments (2)

jimsalterjrs avatar jimsalterjrs commented on June 7, 2024

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.

JavaScriptDude avatar JavaScriptDude commented on June 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.