Giter Site home page Giter Site logo

Comments (4)

animeai avatar animeai commented on August 26, 2024

sudo apt install zfs-auto-snapshot

Then edit the crons it generates in /etc/cron.d/ :
zfs-auto-snapshot.cron.daily
zfs-auto-snapshot.cron.frequent
zfs-auto-snapshot.cron.hourly
zfs-auto-snapshot.cron.monthly
zfs-auto-snapshot.cron.weekly

This is the most simple way to manage your snapshots, no playbook necessary :)

from ansible-nas.

wolffstarr avatar wolffstarr commented on August 26, 2024

Sanoid plays nice with Syncoid, which can be more than occasionally useful, and has simpler bulk-configuration than zfs-auto-snapshot does.

Though, not sure why you're editing your cron files for it - the defaults are sane. All you need to do is add com.sun:auto-snapshot=true and same for whatever schedule you want to set: com.sun:auto-snapshot:frequent=true, continue on for hourly daily weekly and monthly.

from ansible-nas.

bcurran3 avatar bcurran3 commented on August 26, 2024

If added, please don't make it default. Make it an enable/disable option. I don't use ZFS. :)

from ansible-nas.

davestephens avatar davestephens commented on August 26, 2024

No action on this one. Happy to accept PRs if people think it's useful.

from ansible-nas.

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.