Comments (4)
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.
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.
If added, please don't make it default. Make it an enable/disable option. I don't use ZFS. :)
from ansible-nas.
No action on this one. Happy to accept PRs if people think it's useful.
from ansible-nas.
Related Issues (20)
- Nextcloud Optimization HOT 4
- Make Ansible-NAS more appliance like HOT 2
- Add Photoprism HOT 1
- Conditional check for logging stack enablement fails due to potentially malformed boolean HOT 16
- Wrong loadbalancer port in `hello_world` example? HOT 1
- Add ownCloud Infinite Scale 4.0.0
- Need help getting traefik to update letsencrypt cert HOT 8
- Add kavita
- Error on "Create Gitlab user account" within GitLab tasks when building the playbook - User UID already exists HOT 4
- Volumes documentation HOT 1
- Add Grocy HOT 1
- Netdata not starting - netdata version compatability issue not ansible nas HOT 1
- Add valheim-docker HOT 1
- Paperless NG has been Archived in favor of Paperless NGX HOT 1
- Traefik IPWhiteList deprecated - IPAllowList HOT 1
- Error in role `geerlingguy.docker_arm` when applying to Ubuntu 24.04 ARM
- Docker interactions with latest Ubuntu 24.04 HOT 2
- Wrong Mealie application port: should be 9000 HOT 1
- Installation fails on new Ubuntu Server 22.04 because of containerd.io package HOT 1
- ansible-nas on different VM's with one traefik instance HOT 1
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 ansible-nas.